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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        169 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        327 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        252 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        353 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        180 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X