Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do you access account value and P&L?

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

    How do you access account value and P&L?

    For example something as simple as:

    Print("Current account value: " + ????? + "; P&L of most recent closed trade: " + ????? + "; Cumulative P&L: " + ?????);

    Thanks in advance.

    #2
    Accessing live account values will be supported in NinjaTrader 7, as we add methods for access then - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html

    To access strategy performance statistics of realtime and historical trades, please check into the performance class -

    Comment

    Latest Posts

    Collapse

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