for example, suppose I want to write a custom optimization fitness function some like this structure below, where I want to use the data from the Cummulative P&L chart
public class MyOwnFunction : OptimizationType
{
}
For example, hypothetically say, I want to rank results based on the stability of their sharpe ratio :
calculate say this way - first get a time-series of a rolling 30 day sharpe ratio, and then use the metric/objective function of the optimization as the mean of rolling 30 day sharpe ratio divided by the standard deviation of rolling 30 day sharpe ratio.
Comment