Topics
Forum Topics not found
Replies
rohanlal019@gmail.com
01 Mar 2025, 01:52
( Updated at: 01 Mar 2025, 01:54 )
RE: RE: RE: RE: Help with error code
firemyst said:
rohanlal019@gmail.com said:
I have found the problem. When entering a trade, cTrader is using a completely different asset's price to calculate unrealized PnL, triggering an immediate exit of the trade. i.e. I enter a long at a price point of 1.5 on NZDUSD and then it immediately exits at a 3000 pip loss because the asset ctrader is tracking for that trade is now EURNZD and EURNZD's price is currently .7.
There must be a bug in the new version of cTrader causing this to happen.
Wow. How did you figure this out?
Looking at the close and open prices in the trade history tab and the fact that the close price wasn't even a price that currency had been to before. But it was a price that one of my other Symbols in my cbot was at on that day the trade closed.
@rohanlal019@gmail.com
rohanlal019@gmail.com
28 Feb 2025, 15:00
RE: RE: Help with error code
I have found the problem. When entering a trade, cTrader is using a completely different asset's price to calculate unrealized PnL, triggering an immediate exit of the trade. i.e. I enter a long at a price point of 1.5 on NZDUSD and then it immediately exits at a 3000 pip loss because the asset ctrader is tracking for that trade is now EURNZD and EURNZD's price is currently .7.
There must be a bug in the new version of cTrader causing this to happen.
@rohanlal019@gmail.com
rohanlal019@gmail.com
28 Feb 2025, 08:28
( Updated at: 28 Feb 2025, 09:14 )
RE: Help with error code
I am having the same error code as well now. My bot had worked for a long time and is suddenly no longer working. Tried to run on multiple PCs and have the same result. Have you had any luck figuring out what the problem could be?
@rohanlal019@gmail.com
rohanlal019@gmail.com
01 Mar 2025, 04:52 ( Updated at: 01 Mar 2025, 04:53 )
RE: RE: RE: RE: RE: RE: bot crashes in backtest
kyosuke said:
Are you using both eur and usd symbols paired with a single other currency? i.e. EURNZD and NZDUSD trades both open at the same time?
I'm having the same error as you and I've found that's what triggers the bug
@rohanlal019@gmail.com