Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Mulit-Instrument Strategy P&L

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

    Mulit-Instrument Strategy P&L

    On the strategies tab I only get the P&L for the main instrument, and on the other added instruments there is the text

    "In order to display Realized PnL per instrument the strategy developer must enable the strategy to include trade history".

    Please advise what code exists to enable this trade history.

    Regards and thx

    #2
    Hello everington_f,

    IncludeTradeHistoryInBacktest must be set to true in State.SetDefaults or State.Configure. You must also be using 64-bit NinjaTrader 8.

    After any changes to State.SetDefaults, you will need to remove the instance of the script and add a new instance for the changes to take affect.

    Below is a public link to the help guide.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X