Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy performance auto extractor

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

    Strategy performance auto extractor

    Hello, my idea is to create a strategy that collects the performance of a portfolio of various strategies with different names, instruments and data series. So far I run the PlayBack and then I go strategy by strategy manually extracting the data to an excel spreadsheet. My idea is to develop a script that collects this data automatically and at least dumps it in a TXT.

    Is there something similar already developed?
    Any advice or guidance?

    Greetings thank you!

    #2
    Hello Misel,

    A script is able to write to a text file with StreamWriter. You could write the performance to a text file (or .cvs) as trades are closed in OnPositionUpdate().

    Below is a link to the reference sample on StreamWriter.
    https://ninjatrader.com/support/help...o_write_to.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    475 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    315 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    253 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    340 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    305 views
    0 likes
    Last Post CarlTrading  
    Working...
    X