In the trade list of SQ, the prices of many trades do not exist in the range of historical data

There are a lot of deals that are similar.
This results in a net profile of 741159.63 for SQ and 1003760 for MC.
Please refer to the attachment for detailed data and description.
This bug is very urgent. It is recommended to fix it as soon as possible.
Thank you very much.
Attachments
SQ data range.jpg
(10.37 KiB)
ATEST D0911Strategy0101225 .xlsx
(2.50 MiB)
MC data range.jpg
(7.63 KiB)
SQ tradelist incorrect price.jpg
(59.77 KiB)
Strategy 0101225.sqx
(343.50 KiB)
MC reserved bars.jpg
(3.25 KiB)
TradelistExport-0101225.xlsx
(407.54 KiB)
MC tradelist correct price.jpg
(35.76 KiB)
ATEST-M1-data.rar
(3.42 MiB)
SQ reserved bars.jpg
(5.64 KiB)
D0911Strategy0101225.pla
(35.76 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

4
#1

Jordan

11.09.2020 10:31

Task created

4
#2

Jordan

11.09.2020 10:49

Attachment 001-01-symbol.jpg added

001-01-symbol.jpg
(32.61 KiB)
TB
#3

Tomas Brynda

06.10.2020 11:18

Status changed from New to Refused

Hi Jordan,

I've backtested the strategy using the attached data and I must say for me the backtest results in MC and SQ are very similar.


The different overall profit was in my case caused by commission settings in SQ - there was a $80 per full lot when I loaded your config.

You are right that the price $8320 doesn't exist in the data in that time, but it is a PT level and Multicharts handles it the same way. It uses the preset price instead of the current market price.


In the beginning there were 10 more trades in MC, but then it matches perfectly. 

It does happen sometimes that even if you set the same number of reserved bars in both platforms, a few trades at the beginning of the backtest differ. 

TS and MC obviously uses a little different logic during the start of backtest than SQ. We are thinking about it, but it is not so easy to implement in SQ.


I am closing this task. If you have more questions, please leave a comment.


Best regards,

Tomas


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please