How do I optimize globally across the entire data set, save the optimal values/table, and use them in a backtest ?
Short of cutting and pasting those values in and out of the logs.
Say for example, I am calculating the shiller PE and want to do cash/stock asset allocation using the Shiller PE level.
It doesn't make sense to "optimize" the relationship between shiller-PE and the asset allocation persentage based on just the trailing data as the backtest is progressing, because these sort of fundamental optimizations required a long data set.
I am wondering how to optimize asset allocation ratios, maximising total returns relative to a list of fundamental ratios/fields, across an entire data set, then save and use that relationship/table(shiller PE ratio Vs Asset allocation ratios) during an actual backtest in different algorithms
Sarvi