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
KA
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 ?
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