Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (AndrewAMD, dBc, clonman, TipmyPip), 18,735 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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