MarketData GetBars Renko10 Backtest Error
MarketData GetBars Renko10 Backtest Error
24 Nov 2022, 08:23
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() ==========
Replies
... Deleted by UFO ...
PanagiotisChar
24 Nov 2022, 08:31
Hi there,
Renko bars are not supported for backtesting.
Aieden Technologies
Need help? Join us on Telegram
Need premium support? Trade with us
@PanagiotisChar