Topic: Possible bug: display issue in trade journal

I noticed this when reviewing the trade journal on a strategy. It happened a couple a times throughout the listing. Seems like a display issue only. Let me know if there is something else I can provide to help, or the strategy XML.


http://s17.postimage.org/jgwaea42j/journal_display_issue.jpg

Re: Possible bug: display issue in trade journal

It's definitely a bug in the UI. Can you please try to reproduce it with the original data and after that please attach the strategy. We'll easily fix the bug once we are able to reproduce it.

Re: Possible bug: display issue in trade journal

Ok no problem. It happens frequently in this strategy. I'm attaching M1, M5 and the strategy here (I think it only should need M1 though)

Post's attachments

journal_display_issue.zip 951.22 kb, 14 downloads since 2012-02-16 

You don't have the permssions to download the attachments of this post.

Re: Possible bug: display issue in trade journal

Thank you for the report. The bug was found and fixed. It was in normalizing of position lots when add or reduce to a position. Since the specifics of computer math, C# thinks that 0.14 - 0.09 = 0.05000000001 smile

Re: Possible bug: display issue in trade journal

Great -- thank you, figured it was something like that!