Control Optimisation run

Created at 25 Aug 2017, 17:44
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!
MA

matt@purebyte.com

Joined 25.08.2017

Control Optimisation run
25 Aug 2017, 17:44


Hi,

As cAlgo doesn't provide the ability to export or save Optimisation runs, id like to store the results off to a SQL database, which I can then build my own Power BI reports from.

In the most part, i have this working.  Inside the GetFitness method I have access to the results and params of each Optimisation pass however Id like access to a higher scope.

For instance, I'd like to know if an run has finished, what ETA is left, time taken etc.  The same sort of information cAlgo itself reports whilst running.

Id also like some way to group the entries in my DB based on a Run ID of sorts.  i.e. if i ran the same optimization twice, id expect 2 unique identifiers which would work as foreign keys to identify grouping of passes into the first and second run.

Is any of this possible with the current platform?

I've tried using a static class, however it appears starting and stopping an optimization alone isnt enough clear this down and start again.  Only unloading / reloading the bot seems to.

Any direction to help me achieve this would be hugely appreciated.

Thanks,
Matt


@matt@purebyte.com