accessing backtesting Range Dates

Created at 06 Apr 2018, 09:23
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
lec0456's avatar

lec0456

Joined 14.11.2012

accessing backtesting Range Dates
06 Apr 2018, 09:23


is there a way to get the backtesting range dates in the cbot.  I have connected my bot to a database for analysis and I would like to place the range in a feild of the database.


@lec0456
Replies

PanagiotisCharalampous
10 Apr 2018, 10:17

Hi lec0456,

This information is not accessible via code. However, you can record the start and stop time in the OnStart()  and OnStop() methods.

Best Regards,

Panagiotis 


@PanagiotisCharalampous