Last Candle for Testing and Train?

Posted By: Grat

Last Candle for Testing and Train? - 05/10/21 17:07

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 picture Snímek obrazovky 2021-05-10 v 19.02.30.png
Posted By: jcl

Re: Last Candle for Testing and Train? - 05/11/21 12:14

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?
© 2024 lite-C Forums