Gamestudio Links
Zorro Links
Newest Posts
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Pause button for evaluation shell?
by jcl. 08/07/26 11:43
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (maslone1, 1 invisible), 1,294 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19222 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Decimal places in testtrades.log prices #459617
05/27/16 23:35
05/27/16 23:35
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
When I look into testtrades.log file, the entry and exit prices (of non-JPY Forex assets) have only 4 decimal places. When I export the asset prices into .csv file using export script, I can see they actually have 5 decimal places as expected.

The calculated profits seem correct but is there any trick how to display all five decimal places for entry and exit prices in testtrades.log file?

Re: Decimal places in testtrades.log prices [Re: pcz] #459618
05/28/16 06:47
05/28/16 06:47
Joined: Jul 2000
Posts: 28,131
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,131
Frankfurt
The current version prints all prices with 4 decimals in the logs. But a more flexible printing format is planned for a future version.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1