Cloud server not executing

Created at 02 Oct 2024, 20:47
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

Cloud server not executing
02 Oct 2024, 20:47


Hi,

 

I have been testing my bots for over 2 months now. They are running in the cloud server. I see too often that orders are not being executed, or that trades are missed.

Both bots should trigger an order with the OnBar method, so there is no room for interpretation. also, analysis is done on the 4h timeframe. I have no issues with backtests. When I start the bot up, the first week I am not having any problems, which means that over time the software is letting me down. 

Is anyone else having these issues? This is quite frustrating since other people want to invest in my bots. But currently they are not reliable enough to provide that service. 


@vince.stans
Replies

PanagiotisCharalampous
03 Oct 2024, 05:34

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis


@PanagiotisCharalampous

vince.stans
03 Oct 2024, 22:16 ( Updated at: 04 Oct 2024, 05:17 )

RE: Cloud server not executing

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 


@vince.stans

vince.stans
03 Oct 2024, 22:16 ( Updated at: 04 Oct 2024, 05:17 )

RE: Cloud server not executing

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 


@vince.stans

vince.stans
06 Oct 2024, 11:54

RE: RE: Cloud server not executing

vince.stans said: 

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 

I did a check with backtesting, and the bot definitely misses trades. One position from last week was not taken and closed, and another one at the end of the week was not opened. See the screenshot of the trades that were taken in the backtest, but not with my bot running. 


@vince.stans

PanagiotisCharalampous
07 Oct 2024, 06:06

RE: RE: RE: Cloud server not executing

vince.stans said: 

vince.stans said: 

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 

I did a check with backtesting, and the bot definitely misses trades. One position from last week was not taken and closed, and another one at the end of the week was not opened. See the screenshot of the trades that were taken in the backtest, but not with my bot running. 

Unfortunately I cannot help you with such information. You need to follow my advise in my previous post. Add logs to your cBot to understand what happens in real time execution. Also compare it with execution on a VPS


@PanagiotisCharalampous

vince.stans
02 Dec 2024, 10:58 ( Updated at: 02 Dec 2024, 11:02 )

RE: RE: RE: RE: Cloud server not executing

PanagiotisCharalampous said: 

vince.stans said: 

vince.stans said: 

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 

I did a check with backtesting, and the bot definitely misses trades. One position from last week was not taken and closed, and another one at the end of the week was not opened. See the screenshot of the trades that were taken in the backtest, but not with my bot running. 

Unfortunately I cannot help you with such information. You need to follow my advise in my previous post. Add logs to your cBot to understand what happens in real time execution. Also compare it with execution on a VPS

Hello. I came across the same problem this morning. I think it is due to incorrect value of the MACD. See attached images. 

 

MACD is the leading indicator to close positions. At 06:00 the MACD flipped negative, meaning that the position should be closed. But the value is not printed as negative, but as a formula: -8.282095762690567E-05. At 10:00 am the MACD is printed as -0,0001373403922979577 and the position is closed. 

 

Can you look into this?

 

Thanks,

Vince 


@vince.stans

vince.stans
02 Dec 2024, 10:58

RE: RE: RE: RE: Cloud server not executing
PanagiotisCharalampous said:

vince.stans said: 

vince.stans said: 

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 

I did a check with backtesting, and the bot definitely misses trades. One position from last week was not taken and closed, and another one at the end of the week was not opened. See the screenshot of the trades that were taken in the backtest, but not with my bot running. 

Unfortunately I cannot help you with such information. You need to follow my advise in my previous post. Add logs to your cBot to understand what happens in real time execution. Also compare it with execution on a VPS


@vince.stans

vince.stans
07 Dec 2024, 09:34

RE: RE: RE: RE: RE: Cloud server not executing

vince.stans said: 

PanagiotisCharalampous said: 

vince.stans said: 

vince.stans said: 

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 

I did a check with backtesting, and the bot definitely misses trades. One position from last week was not taken and closed, and another one at the end of the week was not opened. See the screenshot of the trades that were taken in the backtest, but not with my bot running. 

Unfortunately I cannot help you with such information. You need to follow my advise in my previous post. Add logs to your cBot to understand what happens in real time execution. Also compare it with execution on a VPS

Hello. I came across the same problem this morning. I think it is due to incorrect value of the MACD. See attached images. 

 

MACD is the leading indicator to close positions. At 06:00 the MACD flipped negative, meaning that the position should be closed. But the value is not printed as negative, but as a formula: -8.282095762690567E-05. At 10:00 am the MACD is printed as -0,0001373403922979577 and the position is closed. 

 

Can you look into this?

 

Thanks,

Vince 

Any ideas? Is it possible to stop the formula results but calculate the MACD as a absolute value?


@vince.stans

vince.stans
07 Dec 2024, 09:34

RE: RE: RE: RE: RE: Cloud server not executing

vince.stans said: 

PanagiotisCharalampous said: 

vince.stans said: 

vince.stans said: 

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 

I did a check with backtesting, and the bot definitely misses trades. One position from last week was not taken and closed, and another one at the end of the week was not opened. See the screenshot of the trades that were taken in the backtest, but not with my bot running. 

Unfortunately I cannot help you with such information. You need to follow my advise in my previous post. Add logs to your cBot to understand what happens in real time execution. Also compare it with execution on a VPS

Hello. I came across the same problem this morning. I think it is due to incorrect value of the MACD. See attached images. 

 

MACD is the leading indicator to close positions. At 06:00 the MACD flipped negative, meaning that the position should be closed. But the value is not printed as negative, but as a formula: -8.282095762690567E-05. At 10:00 am the MACD is printed as -0,0001373403922979577 and the position is closed. 

 

Can you look into this?

 

Thanks,

Vince 

Any ideas? Is it possible to stop the formula results but calculate the MACD as a absolute value?


@vince.stans

PanagiotisCharalampous
09 Dec 2024, 06:43

RE: RE: RE: RE: RE: RE: Cloud server not executing

vince.stans said: 

vince.stans said: 

PanagiotisCharalampous said: 

vince.stans said: 

vince.stans said: 

PanagiotisCharalampous said: 

Hi there,

We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for the advise. I will add in logs and run the bots simultaneously on my own VPS and the cloud server to understand the issues. Once I spot a discrepancy I will let you know. 

I did a check with backtesting, and the bot definitely misses trades. One position from last week was not taken and closed, and another one at the end of the week was not opened. See the screenshot of the trades that were taken in the backtest, but not with my bot running. 

Unfortunately I cannot help you with such information. You need to follow my advise in my previous post. Add logs to your cBot to understand what happens in real time execution. Also compare it with execution on a VPS

Hello. I came across the same problem this morning. I think it is due to incorrect value of the MACD. See attached images. 

 

MACD is the leading indicator to close positions. At 06:00 the MACD flipped negative, meaning that the position should be closed. But the value is not printed as negative, but as a formula: -8.282095762690567E-05. At 10:00 am the MACD is printed as -0,0001373403922979577 and the position is closed. 

 

Can you look into this?

 

Thanks,

Vince 

Any ideas? Is it possible to stop the formula results but calculate the MACD as a absolute value?

Hi there,

The way the results are printed is just the scientific notation and this is used for convenience when there are too many decimals in the actual value. It does not affect how the values are used in your cBot.

Best regards,

Panagiotis


@PanagiotisCharalampous