Optimization will not run with non-default double parameters

Created at 08 Mar 2017, 06:31
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!
DE

definiteintegral

Joined 08.03.2017

Optimization will not run with non-default double parameters
08 Mar 2017, 06:31


Hi,

I have a bot with quite a few parameters. Some of them I want to optimize, others I do not.

What I have noticed is that optimization will not run sometimes. I press play, and it simply runs for a few seconds and then stops. No messages come up in any of the optimisation windows, simply the play button turns back to stop.

After some testing I figured out what it was. The optimization will NOT run when:

  • De-select parameters which are of a double data type; and
  • Enter non-default values into those parameters

The optimization WILL run when:

  • All parameters are selected for optimization; or
  • De-selected double data type parameters contain only the default value

The workaround is to select the faulty parameter for optimization, then input a test range like 10 to 10.0001 and a testing step of 0.0001. This works but is extremely inconvenient having to do every time. There is no reason why this should be necessary.

This appears to be a but with the cAlgo platform.

 

 


@definiteintegral
Replies

definiteintegral
08 Mar 2017, 06:35

*bug. This appears to be a bug.

Another I noticed is that if the testing step is larger than the range to be tested, the optimization run appears to run indefinitely with no results output.


@definiteintegral