← Atrás

what's the match rules for tick backtest engine?

I want to backtest hft maker strategy tick by tick.

For example, The current quote is: Sell: 101 Volume: 80 Buy: 100 Volume: 30

I put buy order at price 100 with volume 10. Does the backtest engine consider the pending orders? What time is it when my order matched? Sell trade reach 100 or cross 100 or between them?

¿Le resultó útil este tema?

Compartir tema

Comentarios (4)

Iniciar sesión o Crear cuenta, Inicie sesión o regístrese para dejar un comentario

Support
Support

Hello

Our backtesting engine executes strategies depends on what the input is. For your case, we recommend using tick or order book data as an input. Please be noticed that the performance of backtesting depends on how much input data. Usually, more accurate execution required the most CPU time.

Jun Feng
Jun Feng Autor

If I use tick by tick backtesting, how about the accurate and match rules of backtesting engine? Can I customize the match rules of tick backtesting engine?

Support
Support

Hello

Accuracy depends on what the underlying data comes inside. The most accurate data is order log. Then order book. Then ticks. Candles are the most non-accurated data but the fastest.

Backtesting engine provide settings options https://doc.stocksharp.com/html/P_StockSharp_Algo_Testing_MarketEmulatorSettings_Latency.htm Also our emulation engine is open source https://github.com/StockSharp/StockSharp/blob/master/Algo/Testing/MarketEmulator.cs

Jun Feng
Jun Feng Autor

Got it, thanks a lot.