READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

is the backtest engine accurate? -I have doubts – SQ seems badly flawed

1 replies

Bruno

Subscriber, bbp_participant, community, customer, 0 replies.

Visit profile

9 years ago #193474

Hi
I have done the following.

– SQ Tick downloader -> downloaded XAUUSD -> exported tick data
– SQ Pro -> imported the XAUUSD tickdata.
– Run a retest of gifted strategy “XAUUSD_H1_48.61_FILTR.str” with tickdata using “Real tick (slowest)”
– Went down to the last trade

Look @List of Trades attachement
Trade 499 was opened at 09.08.2017 08:21:56 with price of 1274.06

now look @tickdata export attachement from SQ Tickdownloader

2017.08.09 08:21:56.345,1272.431,1272.689,0.00,0.00
2017.08.09 08:21:56.396,1272.448,1272.689,0.00,0.00
2017.08.09 08:21:56.719,1272.511,1272.789,0.00,0.00
2017.08.09 08:21:56.771,1272.509,1272.791,0.00,0.00
2017.08.09 08:21:56.821,1275.849,1276.091,0.00,0.00
2017.08.09 08:21:56.872,1275.849,1276.291,0.00,0.00
2017.08.09 08:21:56.922,1275.328,1275.692,0.00,0.00

Above are the executed ticks that happened at 08:21:56
There is no tick with a price of 1274.06 I guess that’s the Stop Order Price of the Strategy. (The strategy uses Stop Orders)
SQ has used this price as Open Price but it is 2 points away of the price it should have taken.
It should have taken following tick to execute the open.
2017.08.09 08:21:56.821,1275.849,1276.091,0.00,0.00

Actually it has not even taken any of the ticks.

I was looking into this to try to find out if the Engine is using bid or ask when using a Short Stop Order.
But I found a much bigger Problem.

I hope someone from SQ can explain my finding. Else any strategy that uses stop or limit orders are not reliably backtested.

And I appologize in case my thinking is completely off and I missunderstand how trades are executed.
Regards
Bruno

Attachments:
You must be logged in to view attached files.

0

mabi

Customer, bbp_participant, community, sq-ultimate, 252 replies.

Visit profile

9 years ago #193642

You are probably right ! When comparing live trades and backtested trades I always have to add more slippage to have similar results. Xau is the worst one I have had 128 pip slippage on IC market ( true ECN “theft”) and 2 pip slippage on Oanda on the same trade ( copied limit orders). So then you might ask your self what is the gain of having the ticks looked at. It is better to add a slippage large enought to cover it.

0

Viewing 1 replies (of 1 total)