Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

accessing the cummulative chart data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    accessing the cummulative chart data

    after running an optimizer, when I get back some results, I can usually see a cummulation P&L graph. is there any way to access it during an optimization to build a custom optimization function ?

    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
    {
    public override double GetPerformanceValue(SystemPerformance systemPerformance)
    {
    foreach (xxx t in systemPerformance.yyy)
    {
    ... // do something
    }
    }

    }


    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.
    Last edited by uday12; 02-19-2016, 03:36 PM.

    #2
    Hello uday12,

    Thank you for your patience.

    If I understand this correctly, you mean the performance over all optimizations made. I am not aware of a means to pull this through in GetPerformanceValue() or any other method. You could write to an external file on each run and then read from that file.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    6 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Working...
    X