How Do I Export Optimization Results to File?
Author: mjj3
Creation Date: 2/3/2014 10:41 AM
profile picture

mjj3

#1
Is there an easy way to do this?
profile picture

Eugene

#2
Wealth-Lab User Guide > Strategy Window > Optimization > Full Optimization > Results > Save to (Load from) File...
profile picture

mjj3

#3
Awesome! Thank you.
profile picture

mjj3

#4
Thought I would post this as someone else might find this useful. This allows you to import a result file into a dictionary. Not sure if this is the most efficient way but it is what I came up with.

The only thing that is missing from the xml file are the parameter names so I just iterate them (i.e. p1, p2, etc). Also the xml always assumes the parameters are doubles.

CODE:
Please log in to see this code.


To convert the dictionary string (which are the parameters) back to a dictionary you can do the following ...

CODE:
Please log in to see this code.

This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).