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 kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    125 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    84 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X