cBot crashed: Error #16308494

Created at 08 Jul 2021, 09:10
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

cBot crashed: Error #16308494
08 Jul 2021, 09:10


Anyone an idea What the error #16308494 means?
cBot running for a few hours and then suddenly this error, no trace info.

 


@Shares4us
Replies

PanagiotisCharalampous
08 Jul 2021, 11:09

Hi Shares4us,

We usually get this error when indicators are accessed by a different thread. cAlgo is not thread safe therefore such exceptions might occur when such data is accessed by a different thread.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

Shares4us
08 Jul 2021, 20:17

RE:

Thanks, I'll check if all used indicators are instantiated in their own thread.

 


@Shares4us

Shares4us
08 Jul 2021, 23:32

RE:

By the way, are Bars accessible from an other thread or do they have to be instantiated in the thread itself also?

 


@Shares4us

PanagiotisCharalampous
09 Jul 2021, 08:10

Hi Shares4us,

do they have to be instantiated in the thread itself also?

Yes this is correct. cAlgo API is not thread safe, so issues might arise for any object.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous