cBot restarts automatically - reset of cBot, resulting in incorrect bot behavior

Created at 28 Jan 2025, 16:19
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!
VI

vince.stans

Joined 02.10.2024

cBot restarts automatically - reset of cBot, resulting in incorrect bot behavior
28 Jan 2025, 16:19


You can see on 26/01/25 07:27am : “Starting cBot”. The cBot restarts, without me restarting it. The bot was in an open position over the weekend. After the MACD crossing the open position should be closed, but that didn't happen (as you can see in the logs). It only starts the delay counter for a new trade. 

This has happened for multiple bots, all over the same weekend. It is actually crucial because I can't rely on the cBots in this way. It looks like it has to do with the server where the bots run on. I think there was a reset / some minor outage that resulted in a quick restart of the cBots. 

I have seen other threads as well mentioning this, but no solution was provided. Can you identify where this issue comes from and please resolve. I am afraid I can't rely on the cBot feature if this happens. 

  • Is there anything that can be fixed in the server that the bots run on? 
  • Is there anything that can be added in the codes to prevent this from happening?

@vince.stans
Replies

firemyst
07 Feb 2025, 00:15 ( Updated at: 14 Feb 2025, 18:16 )

Easiest solution is it you're running your bots in the cloud - don't. You have no control over them nor the server like you do on your own vps. You also have no idea the maintenance schedule and when they might be stopping cloud instances.

 


@firemyst

firemyst
07 Feb 2025, 02:51 ( Updated at: 14 Feb 2025, 18:16 )

You should also check this page for when cbots are automatically restarted in the cloud:

 

https://www.spotware.com/terms-of-services

 


@firemyst

vince.stans
14 Feb 2025, 20:46

RE: cBot restarts automatically - reset of cBot, resulting in incorrect bot behavior

firemyst said: 

Easiest solution is it you're running your bots in the cloud - don't. You have no control over them nor the server like you do on your own vps. You also have no idea the maintenance schedule and when they might be stopping cloud instances.

 

Thanks. I will give that a try. 
Do you have any recommendations? I am running 10 cBots and would like low latency. Was looking into BeeksFX, but not really sure what to look for. 
 


@vince.stans

vince.stans
14 Feb 2025, 20:46

RE: cBot restarts automatically - reset of cBot, resulting in incorrect bot behavior

firemyst said: 

Easiest solution is it you're running your bots in the cloud - don't. You have no control over them nor the server like you do on your own vps. You also have no idea the maintenance schedule and when they might be stopping cloud instances.

 

Thanks. I will give that a try. 
Do you have any recommendations? I am running 10 cBots and would like low latency. Was looking into BeeksFX, but not really sure what to look for. 
 


@vince.stans