MarketData GetBars Renko10 Backtest Error

ys2310 since: 03 Dec 2021;

  24 Nov 2022, 08:23
MarketData GetBars Renko10 Backtest Error

Hi,

I'm encountering backtest runtime error as following when I'm runing 1min timeframe using

MarketData.GetBars(TimeFrame.Renko10, Symbol.Name).ClosePrices.Last(4)

 Does this mean I can't backtest using Renko bar data?

cTrader.Automate.Host.Exceptions.AutomateException: Failed to load market data for Re10 period. It is not supported with m1 backtesting data source.
   at cTrader.Automate.Host.Runtime.Backtesting.Silent.Controllers.SmallSilentBacktestingMarketDataController.LoadChartSource(ChartSourceId chartSourceId, IBacktestingSymbolSource symbolSource)
   at cTrader.Automate.Host.Runtime.Backtesting.Silent.Controllers.SmallSilentBacktestingMarketDataController.cTrader.Automate.Host.Runtime.Backtesting.Common.Controllers.ISmallBacktestingChartSourceController.GetChartSourceData(ChartSourceId chartSourceId)
   at cTrader.Automate.Host.Runtime.Backtesting.Common.Api.Market.SmallBacktestingMarketData.ResolveChartSourceInternal(ChartSourceId chartSourceId, Nullable`1& errorCode)
   at cTrader.Automate.Host.Runtime.Backtesting.Common.Api.Market.SmallBacktestingMarketData.TryGetChartSource(ChartSourceId chartSourceId, ISmallChartSource& chartSource, Nullable`1& errorCode)
   at cTrader.Automate.Adapters.MarketApi.MarketDataAdapter.GetChartSourceAndLogFailure(TimeFrame timeFrame, String symbolName)
   at cTrader.Automate.Adapters.MarketApi.MarketDataAdapter.GetBars(TimeFrame timeFrame, String symbolName)
   at cAlgo.Robots.EURJPY.OnBar() ==========

PanagiotisChar's avatar

PanagiotisChar since: 15 Sep 2022;

  24 Nov 2022, 08:31
Cofounder and Chief Technologist at Aieden Technologies