Export Optimisation Results
Export Optimisation Results
28 Jan 2018, 08:35
i would love to expert the optimisation results including the inputs as a csv file for furhter work in excel.
this sonds like a simple feature that would take out a huge amount of slow manual work.
Stuart
Replies
SwXavi
20 Feb 2020, 02:41
RE: Saving optimisation results
phill.beaney said:
I don't understand why more people aren't requesting this, unless there is a way to save the data from a temp file that everyone except me is ware of.
Any Ideas welcome.
I really like this to be implemented in order to do proper research, currently backtests and optimizations cannot be shared or exported, the only option is to do screenshots, which is awful.
@SwXavi
victor.major
23 Feb 2020, 07:23
RE: RE: Saving optimisation results
SwXavi said:
phill.beaney said:
I don't understand why more people aren't requesting this, unless there is a way to save the data from a temp file that everyone except me is ware of.
Any Ideas welcome.
I really like this to be implemented in order to do proper research, currently backtests and optimizations cannot be shared or exported, the only option is to do screenshots, which is awful.
Seconded and thirded +1... I now see that I was not mistaken and that there is in fact no way to export/save/restore optimisation data. I find this so unusual that I am still not convinced that I am not missing something. I am not aware of any other modeling or simulation software that does not save the simulation results, ie. I am not comparing cTrader to MetaTrader. There is a basic expectation that if you spend one day on generating simulation results that you will be able to work with them after the fact, or that they will be saved somewhere in case there is a software problem or a crash - which is what happened to me just then.
@victor.major
Shares4UsDevelopment
25 Feb 2020, 12:53
RE: RE: RE: Saving optimisation results
victor.major said:
SwXavi said:
phill.beaney said:
I don't understand why more people aren't requesting this, unless there is a way to save the data from a temp file that everyone except me is ware of.
Any Ideas welcome.
I really like this to be implemented in order to do proper research, currently backtests and optimizations cannot be shared or exported, the only option is to do screenshots, which is awful.
Seconded and thirded +1... I now see that I was not mistaken and that there is in fact no way to export/save/restore optimisation data. I find this so unusual that I am still not convinced that I am not missing something. I am not aware of any other modeling or simulation software that does not save the simulation results, ie. I am not comparing cTrader to MetaTrader. There is a basic expectation that if you spend one day on generating simulation results that you will be able to work with them after the fact, or that they will be saved somewhere in case there is a software problem or a crash - which is what happened to me just then.
Just write your own GetFitness function and dump the results in a csv or tsv or whatever file you want.
@Shares4UsDevelopment
evgrinaus
24 Dec 2020, 07:43
Totally support the idea
This would be a valuable idea to assist in perfecting a bot or strategy. I totally support the idea.
@evgrinaus
kevincordes
29 Dec 2020, 22:28
We need to export CSV files of optimization data
This data would be so useful. Please add this function to your platform.
@kevincordes
protraderde
03 Jan 2021, 19:59
A must feature
So with the exports we can apply extra filters in excel easily and compare multiple optimisations. Does anyone has any info if this is added in to do list of ctrader development roadmap?
All the best
@protraderde
roul.charts
08 Mar 2024, 20:41
( Updated at: 09 Mar 2024, 07:12 )
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
@roul.charts
PanagiotisCharalampous
11 Mar 2024, 08:18
RE: Export Optimisation Results
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
@PanagiotisCharalampous
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-resultsHi 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
phill.beaney
19 Feb 2020, 15:51
Saving optimisation results
I don't understand why more people aren't requesting this, unless there is a way to save the data from a temp file that everyone except me is ware of.
Any Ideas welcome.
@phill.beaney