'cTrader.Automate. Host.Dispatcher. Exceptions.AutomateDispatcherUnhandledException' was thrown.

Created at 26 Oct 2024, 23:48
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!
Salileh's avatar

Salileh

Joined 30.08.2024

'cTrader.Automate. Host.Dispatcher. Exceptions.AutomateDispatcherUnhandledException' was thrown.
26 Oct 2024, 23:48


Dear fellows,

 I back tested successfully my cbot example on cTrader last month with good results and no logic errors, and when I went back to make more optimization today, I was surprised it did not run correctly and stopped with crash error "crashed with error "Failed to get the exchange rate from EUR to deposit asset. Symbol XAUEUR has no historical data.". Cbot  cTrader.Automate.Host.Dispatcher.Exceptions.AutomateDispatcherUnhandledException' was thrown.

Can anyone kindly explain what happened and why? and how to correct the issue so that my cbot can run again?

 

Thanks

Samir Salileh


@Salileh
Replies

PanagiotisCharalampous
27 Oct 2024, 05:35

Dear trader,

Could you please send us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.

Best regards,

Panagiotis
 


@PanagiotisCharalampous

Salileh
29 Oct 2024, 08:17

cTrader.Automate. Host.Dispatcher. Exceptions.AutomateDispatcherUnhandledException' was thrown.

Dear sirs,

Thank you for your reply and I just followed your instructions and submitted my technical issue from ctrader platform.

 

Best regards

Salileh


@Salileh

PanagiotisCharalampous
29 Oct 2024, 16:22

RE: cTrader.Automate. Host.Dispatcher. Exceptions.AutomateDispatcherUnhandledException' was thrown.

Salileh said: 

Dear sirs,

Thank you for your reply and I just followed your instructions and submitted my technical issue from ctrader platform.

 

Best regards

Salileh

Hi Salileh,

We checked your troubleshooting and it seems that your broker does not have historical data for XAUEUR which is necessary for the conversion. Please provide us with the following information to reproduce this issue

  1. Your cBot code
  2. Backtesting dates and parameters
  3. Your broker
  4. Your account's currency.

Best regards,

Panagiotis


@PanagiotisCharalampous

Salileh
29 Oct 2024, 19:55

RE: RE: cTrader.Automate. Host.Dispatcher. Exceptions.AutomateDispatcherUnhandledException' was thrown.
PanagiotisCharalampous said:

Salileh said: 

Dear sirs,

Thank you for your reply and I just followed your instructions and submitted my technical issue from ctrader platform.

 

Best regards

Salileh

Hi Salileh,

We checked your troubleshooting and it seems that your broker does not have historical data for XAUEUR which is necessary for the conversion. Please provide us with the following information to reproduce this issue

  1. Your cBot code
  2. Backtesting dates and parameters
  3. Your broker
  4. Your account's currency.

Best regards,

Panagiotis


@Salileh

Salileh
29 Oct 2024, 19:57

RE: RE: cTrader.Automate. Host.Dispatcher. Exceptions.AutomateDispatcherUnhandledException' was thrown.
PanagiotisCharalampous said:

Salileh said: 

Dear sirs,

Thank you for your reply and I just followed your instructions and submitted my technical issue from ctrader platform.

 

Best regards

Salileh

Hi Salileh,

We checked your troubleshooting and it seems that your broker does not have historical data for XAUEUR which is necessary for the conversion. Please provide us with the following information to reproduce this issue

  1. Your cBot code
  2. Backtesting dates and parameters
  3. Your broker
  4. Your account's currency.

Best regards,

Panagiotis


@Salileh