Files
Superalgos/docs/pages/suite/suite-simulation-layers.md
T
2020-02-20 08:22:40 +01:00

5.7 KiB

title, summary, sidebar, permalink
title summary sidebar permalink
Simulation Layers The Masters trading bot Jason provides four different layers: simulation, conditions, strategies, and trades. suite_sidebar suite-simulation-layers.html

The trading bot provides data products that serve to plot strategies' actions over market data, offering a comprehensive set of visual clues that show how strategies behave when trading. These layers are available on all four types of trading sessions: backtesting, paper trading, forward testing, and live trading.

{% include note.html content="The examples below illustrate the Weak-hands Buster strategy, designed to sell BTC as prices start dropping and re-buy BTC as prices stabilize at a lower level." %}

Simulation

The simulation layer displays the actions of strategies throughout the tested period. Actions include the take position event and the management of stop and take profit in phases. By turning on the simulation layer you should be able to see something like this:

Simulation-Layers-01-Simulation-1

{% include note.html content="For the time being, asset balances displayed on-screen correspond to the simulation layer that was turned on last." %}

The dashed line represents the duration of the trade at the price of the take position event. Notice how one asset is exchanged for the other asset at the take position event, and exchanged back as the trade closes.

Simulation-Layers-03-Simulation-3

Notice the green horizontal lines indicating the take profit value for each period or candle). Take profit is managed in phases, marked with the corresponding icons.

Simulation-Layers-04-Simulation-4

Notice the red horizontal lines indicating the stop value for each period or candle. Stop is managed in phases marked with the corresponding icons.

Simulation-Layers-05-Simulation-5

Conditions

The conditions layer helps identify which conditions are met at each candle. Notice how conditions are highlighted as the mouse pointer moves through different candles.

Simulation-Layers-06-Conditions

It also allows to track the value of each formula, for instance, those used to dynamically manage take profit in phases.

Simulation-Layers-07-Formulas

Strategies

The strategies layer identifies trigger on and trigger off events, signaling the activation and deactivation of strategies.

Simulation-Layers-08-Strategies

Trades

The trades layer marks trades with a triangle whose hypotenuse connects the price at the take position event with the exit price. When the trade is profitable, the triangle is green; when the exit happens at a loss, the triangle is red.

Simulation-Layers-09-Trades