Topics
Replies

TigerDohko
08 Mar 2025, 20:27 ( Updated at: 10 Mar 2025, 09:09 )

RE: RE: Export Optimisation Results

PanagiotisCharalampous said: 

roul.charts said: 

Is there any update?

It's a pain to manually export the best paramerte, run them in the backtester - export the HTML report. 

And if the PC crashes you have to re run that specific optimizer again and again. 

Please add an function to save an .optres file like described on your own help page:
https://help.ctrader.com/ctrader-automate/backtesting-and-optimizing-cbots/#saving-and-loading-optimisation-results

Hi there,

This functionality will be added in the next major update of cTrader Desktop.

Best regards,

Panagiotis

Hi Panagiotis,

I've looked inside the `.optres` file after an optimization, but I don't see the optimized parameters and their associated values listed for each pass ID.

Optimized parameters can be saved/exported “one by one” as settings to be apllied to a cbot via .cbotset files but the file doesn't  contain any association to the pass ID where the optimized  values are generated. 

For a small number of passes, I could manually map the optimized parameters and their associated values to their respective pass IDs in a JSON or XLS file. However, this approach becomes impractical for hundreds or thousands of passes.

Referring to: https://help.ctrader.com/ctrader-algo/backtesting-and-optimizing-cbots/#optimisation-settings

A .optres file is simply a collection of key-value pairs with keys representing various optimisation settings and metrics.

You can use .optres files to continue refining your cBots across multiple local machines without losing any progress. You can also 'feed' data from this file to generative AI tools to try and detect any patterns in the passes that your cBot has completed.

Without the optimized parameters and their associated values association to their respective pass ID , it's unclear how AI tools can analyze and extract additional insights from the `.optres` file. Can you provide guidance on how to achieve this or if there's a missing step in the workflow?

Thanks in advance for any info you can provide.


@TigerDohko