[112,113] Trades number doesn't match in overview page

The trades number in the overview page was incorrect.

It will cause some reference data error if the data calculate with trades number. 


Attachments
trade001.jpg
(587.29 KiB)
trade002.jpg
(849.17 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

SC
#1

fxchess

01.11.2018 18:40

Task created

TT
#2

Tamas

05.11.2018 12:38

Status changed from New to Waiting for information

Can you attach the problematic strategy?
SC
#3

fxchess

06.11.2018 03:27

Attachment SQXTRADE002.jpg added

Attachment SQXTRADE001.jpg added

Attachment Strategy 011.sqx added

Attachment is the strategy thank you! 
TT
#4

Tamas

06.11.2018 09:03

Status changed from In progress to Refused

Attachment trades.jpg added

Thanks for attaching the strategy.


Your strategy contains some trades with 0 profit which are not calculated to any stats displayed on Overview page.


NumberOfProfits if(order.PL > 0)

NumberOfLosses if(order.PL < 0)

NumberOfCanceled if(order.isCanceledOrder() && order.PL == 0)


To display "# of zero profit" you can create a custom databank column + overview page by creating snippets via CodeEditor.

For more info please read the documentation how to extend SQ functionality. 


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