- Home
- Forum
- cTrader Automate
- MarketData GetBars Renko10 Backtest Error
MarketData GetBars Renko10 Backtest Error
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() ==========