Strategy management (Backtest box)
Last updated
Last updated
This box allows you to manage the general settings of your strategy and ask for a backtest.
With the full Runbot version, you can run backtest up to 3 years of history. However, you need to select an exchange to backtest your strategy. It will use this specific exchange datas to calculate your results.
Results can be different between DYDX and Binance for exemple, because of multiple reasons: - DYDX is a more recent exchange and only has 2 years of data, but Binance has 3+ years. - Prices can be different on both exchanges, there is always a slight difference. - Liquidity can be very different between both exchanges. Binance tends to have more liquidity than DYDX, so slippage effect might be less important. - Bitget does not support yet 3 years of datas because of the specificity of the exchange/API
There is no maker fees, as Runbot is using Webhooks and only Taker (Market) orders can be executed that way.
To run a backtest with the parameters of your strategy, click . Results will be displayed on the Backtests Infos Boxes.
To delete your strategy by clicking here . If you didn't export your strategy before, you won't be able to recover it.
To dupplicate a strategy, click . The strategy will be dupplicated directly on your Strategy List Box.
To export your strategy, click .
To run a backtest and simulate your capital, enter your amount: Initial capital will be used to calculate the leverage applied to your trades after you specified a size order in the Position Size Rules Box.
To select a range period for your backtest, click
You can enter your exchange Taker fees (looking at your exchange, but also your potential fee reductions)
The backtest history will help you to compare the backtests results of your new parameters of your strategy from the old ones. The Base, is the current strategy and the only one you can modify. Each time you run a backtest after you changed a specific parameter, the old version of your strategy will be saved in the backtest history. This feature allows you to compare the new backtest with the new parameters versus the older configuration. You can save up to 9 backtests history, after that the older backtests will be deleted.
By default, you have 4 signals, long, shorts, cancel, and stop. To learn more about signals, go to the Signal list. If you need more signals, you can create your own custom signals by clicking . Choose a name and use your own signal in other boxes!
You can write any notes you need for your strategy in here.