Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
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
1 registered members (dBc), 17,435 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
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: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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