Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AbrahamR), 717 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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