Time conversion error on cTrader backtester

Created at 31 Mar 2022, 23:26
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!
US

userUser

Joined 13.05.2020

Time conversion error on cTrader backtester
31 Mar 2022, 23:26


Dear Spotware,

There is a time conversion error on cTrader backtester when using "1 min data from csv" option.

I use Daily data for "1 min data from csv" option on backtester.

For time frames daily and above things are working good.

For time frames below daily time conversion cracks. In the example on the attached screenshot I show 4hour data getting 2:00 AM instead of 22:00 PM.

 

Is it possible to fix it asap please ? 

My algo uses historical data from 1971 as daily candles to 1 min candles in 2022. Because of this issue my algo is crashing.

 

 


@userUser
Replies

amusleh
01 Apr 2022, 11:30

Hi,

Can you please send us the CSV data file that you used with a cBot sample that can reproduce this issue?


@amusleh

amusleh
04 Apr 2022, 10:28

Hi,

I don't see any issue, the problem is you are using daily OHLC data instead of m1 (one minute) bars data.

If you want to use custom data for back test you have to use M1 bars data not daily bars.


@amusleh