HTS has a very powerful backtesting tool that allows our users to test Indicators, Insurances, and Safeties against historical data. The historical data can be anywhere from 6 hours to 32 weeks. This is useful to determine whether or not a specific trading strategy would have been profitable in the past.
The platform supports 2 backtest methods. Close price based and orderbook (bid/ask) price based. This setting controls the price on which the orders are registered in a backtest. Orderbook based is a more realistic method because it will include the spread in the profit calculations.
For trade bots, simply select the bot you wish to backtest and click the backtest button. To backtest our custom bots select the bot you wish to backtest and click on the "Options" button, then select backtest. Alternatively, the Bot Performance Analyzer can be utilized from the left panel menu.
The simulation type influences the way the simulation engine considers an open order filled. There are 2 options
Price reached. When this type is selected an open buy order on $100 is filled when the price is $100 or higher.
Price breached. With this type, an open buy order on $100 is filled when the price is higher $100.
In our simulation engine, the bots are trading in an "empty" order book. Which means you are always the only order on a price point. This is not always the case on the exchange, depending on the order book liquidity. The settings price reached might enable the bot to trade a lot more than in reality would happen. Visa vera, price breached might disable the bot from trading where, in reality, the bot would have traded.
Login to HTS
Click on Price Drivers & Accounts on the left hand pan
Click on 'Add New Account'
Type in Account Name (e.g. SIM_BINANCE - even if you don’t type it as such, the name will still come up with SIMULATED_)
Choose an Account Type (e.g. Spot Trading - Note that not all exchanges have Margin or Leverage Trading)
Choose the Platform (e.g. Binance - the selection will change based on what you choose in b)
Tick ‘Simulated Account’
Click on the Dollar Bill sign for the Simulated Account that you want to add funds toelect the 'Coin' that you want to add
Type in the Amount
Click on the Dollar Bill sign for the Simulated Account that you want to add funds to
Select the ‘Coin’ that you want to remove
Type in the Amount as 0