Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (Martin_HH, steyr, alibaba), 509 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
testtrades.csv entry price and exit price seem truncated #462931
11/07/16 05:31
11/07/16 05:31
Joined: Oct 2016
Posts: 3
D
Danial Offline OP
Guest
Danial  Offline OP
Guest
D

Joined: Oct 2016
Posts: 3
I try to check the profit calculation of the testtrades.csv and found that the entry price and exit price seems truncated.

Can anyone help confirm this.

Thanks
Danial

Re: testtrades.csv entry price and exit price seem truncated [Re: Danial] #462936
11/07/16 09:41
11/07/16 09:41
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
The prices are stored with 4 digits after the decimal. Did you mean that?

Re: testtrades.csv entry price and exit price seem truncated [Re: jcl] #463305
11/27/16 15:21
11/27/16 15:21
Joined: Nov 2016
Posts: 4
Karnataka
R
roopa Offline
Guest
roopa  Offline
Guest
R

Joined: Nov 2016
Posts: 4
Karnataka
Hi, I too am finding the testtrades.csv contains price without decimals, example is pasted below please

The profit has 2 decimal precision, but the buy and sell have no 2 decimal precision, please try to help, thanks!

Name,Type,Asset,ID,Lots,Open,Close,Entry,Exit,Profit,Roll,ExitType
S02_040m,Long,YESBANK,9101,1,2016-08-04 12:00,2016-08-05 14:00,1228,1255,26.95,0.00,Reverse
S02_040m,Short,YESBANK,10502,1,2016-08-05 14:00,2016-08-09 12:40,1255,1255,0.14,0.00,Reverse
S02_040m,Short,DISHTV,11403,1,2016-08-08 12:40,2016-08-09 14:40,100.08,94.97,5.11,0.00,Reverse
S02_040m,Long,JISLJALEQS,12104,1,2016-08-09 10:00,2016-08-10 10:00,74.09,77.03,2.95,0.00,Reverse
S02_040m,Long,DISHTV,12806,1,2016-08-09 14:40,2016-08-10 11:20,94.97,90.71,-4.27,0.00,Stop

Re: testtrades.csv entry price and exit price seem truncated [Re: roopa] #463326
11/28/16 11:58
11/28/16 11:58
Joined: Nov 2016
Posts: 4
Karnataka
R
roopa Offline
Guest
roopa  Offline
Guest
R

Joined: Nov 2016
Posts: 4
Karnataka
Hi,

S02_010mtest.log extact below contains 227.88 ie., 2 decimal places after 227

[129: Thu 28.07.16 12:00] +0 -0 0/1 (227.95)
[ENGINERSIN::S8101] Reverse 1@227.88: -0.21 at 12:00:00

however testtrades.csv extract below contains 228 ie., rounded

Name,Type,Asset,ID,Lots,Open,Close,Entry,Exit,Profit,Roll,ExitType
S02_010m,Short,ENGINERSIN,8101,1,2016-07-27 10:20,2016-07-28 12:00,228,228,-0.21,0.00,Reverse

Need the decimal component as well in testtrades.csv

please help, thanks
Roopa


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1