Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programatic Access to Optimization Results List

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

    Programatic Access to Optimization Results List

    After running an optimization and saving some number of results, those results show up in the upper grid.

    Is there any way to access the strategies in that list from an AddOn?

    Our strats have the ability to nicely summarize the key settings, but I am looking for a way to iterate thru the list of saved results (even if it is just the XML).

    Alternatively, having a method in the strat that was called when it was added to the saved list, or being able to detect that in one of the start states would be ideal.

    Any ideas?

    #2
    Hello aslane,

    Thanks for your question.

    The optimization results grid is generated after the optimization is complete.

    There isn't any supported way to access this programatically, but you could consider parsing the Strategy Analyzer Log XML file that is generated in the Documents\NinjaTrader 8\strategyanalyzerlogs\ folder.

    Please let us know if we can be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X