error on LoadBars

Created at 06 Jul 2021, 10:00
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!
EY

eynt

Joined 08.05.2020

error on LoadBars
06 Jul 2021, 10:00


While calling the LoadBars method on Pepperstone broker i got the following error:

 

String: System.Threading.ThreadAbortException: Thread was being aborted.
   at cTrader.Automate.Small.V1.Threading.DirectInvokingStrategy.Invoke(Message message)
   at cTrader.Automate.Small.V1.MessageDispatcher.SendMessageWithResponse[TRequestMessage,TResponseMessage](TRequestMessage requestMessage, Func`2 predicate)
   at cTrader.Automate.Small.V1.MarketApi.SmallChartSourceController.LoadHistory(String symbolName, TimeFrame timeFrame)
   at cAlgo.Robots.Main.LoadBars() in c:\Users\Administrator\Documents\cAlgo\Sources\Robots\Main\Main\Main.cs:line 1112


@eynt
Replies

PanagiotisCharalampous
06 Jul 2021, 10:07

Hi yuval.ein,

Can you reproduce this consistently? Can you share some code that would allow us to reproduce it?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous