BACKTESTING -> Failed to load market data for t1 period. It is not supported with m1 backtesting data source.

Created at 17 Feb 2023, 13:47
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!
KA

kamilosss35

Joined 17.02.2023

BACKTESTING -> Failed to load market data for t1 period. It is not supported with m1 backtesting data source.
17 Feb 2023, 13:47


Hello, 

I try test my boot - but I have got error while i try get acces to Tick object in backtest - Failed to load market data for t1 period. It is not supported with m1 backtesting data source.

I tried with diferent timeframes - and message always is the same ? 

protected override void OnTick()
        {
                Tick tick = MarketData.GetTicks().Last(0);
                Print("Time:{0},Ask={1},BID={2}",tick.Time,tick.Ask,tick.Bid);
        }

Does anybony know, what is best solution for test tick values ?


@kamilosss35
Replies

PanagiotisChar
17 Feb 2023, 15:17 ( Updated at: 21 Dec 2023, 09:23 )

Hi there,

You need to use tick data as a source.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar