Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access performance results from code

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

    Access performance results from code

    Hi,

    I would like to know if it's possible to access past performance results on trades from code? I would like to access this information for position sizing reasons (Kelly Formula).

    #2
    Hello Siroki,

    Thank you for your note.

    You would need to have your script write to a file for the performance results so that you can then be able to read it and used for your position sizing.

    http://www.ninjatrader.com/support/f...ead.php?t=3477

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by siroki View Post
      Hi,

      I would like to know if it's possible to access past performance results on trades from code? I would like to access this information for position sizing reasons (Kelly Formula).
      That data is available from the Performance, and TradesCollection objects.

      ref:

      Comment


        #4
        Wow! Thanks! Exactly what I needed.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        571 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        549 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        549 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X