what's the match rules for tick backtest engine?

what's the match rules for tick backtest engine?
Atom
5/4/2020
Jun Feng


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?



Thanks:


Support

Avatar
Date: 5/5/2020
Reply


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.
Thanks:

Jun Feng

Avatar
Date: 5/5/2020
Reply


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?
Thanks:

Support

Avatar
Date: 5/8/2020
Reply


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.c...torSettings_Latency.htm Also our emulation engine is open source https://github.com/Stock...sting/MarketEmulator.cs
Thanks:

Jun Feng

Avatar
Date: 5/10/2020
Reply


Got it, thanks a lot.
Thanks:


Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy