Algo keeps crashing when calling get on parameter

Created at 31 Jan 2025, 21:35
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!
Affluent_Trading's avatar

Affluent_Trading

Joined 11.08.2022

Algo keeps crashing when calling get on parameter
31 Jan 2025, 21:35


Hi,

I have a bot that has been working perfectly fine for a long time. Since the latest ctrader update the bot seems to crash. After debugging the code and stepping through it line by line when it calls the getter for the following parameter:

 [Parameter("Enable Trading Times?", Group = "Time Management", DefaultValue = false)]
public bool TradingTimesEnabled { get; set; }

It crashes. And I have no idea why. The log file says: crashed with error #F25CBF78.

Can somebody please help me solve this?


@Affluent_Trading
Replies

EDG777
01 Feb 2025, 15:15

Try temporarily remove or rename the Parameter attribute so it has no question marks or punctuation


@EDG777