Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Last Candle for Testing and Train? #483203
05/10/21 17:07
05/10/21 17:07
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Hi,

I have a question. How add last ( current -1) candle into Train and test?

I have this:
Code
    BarPeriod = 15;	// 15 min
    LookBack = 1;
    StartDate     = 20200402;
    EndDate       = 2021;   //518


now is 2021/05/10 17:05 GMT

but I get last candle in Test:
2021/05/09 17:00

this is a delay 24 hours.

I also try
EndDate = NOW;
EndDate = 0;


Attached Files Snímek obrazovky 2021-05-10 v 19.02.30.png
Last edited by Grat; 05/10/21 17:31.
Re: Last Candle for Testing and Train? [Re: Grat] #483217
05/11/21 12:14
05/11/21 12:14
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
I normally expect that the test runs until the last candle when no end date is given. Are you sure that your history has more candles?


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1