Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    22 views
    0 likes
    Last Post trilliantrader  
    Started by Davidtowleii, Today, 12:15 AM
    0 responses
    3 views
    0 likes
    Last Post Davidtowleii  
    Started by guillembm, Yesterday, 11:25 AM
    2 responses
    9 views
    0 likes
    Last Post guillembm  
    Started by junkone, 04-21-2024, 07:17 AM
    9 responses
    70 views
    0 likes
    Last Post jeronymite  
    Started by mgco4you, Yesterday, 09:46 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X