Predicate already set on SymbolTicks.LoadMoreHistory();

Created at 03 Dec 2020, 07:11
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!
SH

Shares4us

Joined 01.04.2020

Predicate already set on SymbolTicks.LoadMoreHistory();
03 Dec 2020, 07:11


@Spotware @Panagiotis

private Ticks SymbolTicks = MarketData.GetTicks();
private DateTime _toDate = Server.Time.AddDays(-5);
private int _loaded = MotherRobot.SymbolTicks.Count;
while (toDate <= SymbolTicks[0].Time && _loaded > 0)
   _loaded = SymbolTicks.LoadMoreHistory();

Throws a "Predicate already set.    at cTrader.Automate.Small.V1.Dispatchers.WaitingStrategy.BeginWait[TMessage]......"
error. on the "_loaded = SymbolTicks.LoadMoreHistory();" line.

What does that errormessage mean in cTrader terms?


@Shares4us
Replies

PanagiotisCharalampous
03 Dec 2020, 09:26

Hi Shares4us,

This is an internal exception. Please let us know the broker, the symbol and the dates you use to reproduce this exception.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

Shares4us
03 Dec 2020, 20:11

RE:

PanagiotisCharalampous said:

Hi Shares4us,

This is an internal exception. Please let us know the broker, the symbol and the dates you use to reproduce this exception.

Best Regards,

Panagiotis 

Join us on Telegram

Spotware AUDUSD Feed
Loading 2 weeks of history before dec 2 2020 (no optimizing nor backtesting)
Error is an intermediate error!


 


@Shares4us

PanagiotisCharalampous
03 Dec 2020, 21:58

Hi Shares4us,

I tried this with a simple cBot but could not reproduce. There is no exception in the log.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous