Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Realized PnL

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

    Realized PnL

    Where do I find the reference for Realized PnL in condition builder? "Performance.Alltrades.TradesPerformance.Currency. CumProfit".. I just want this to report on the Sim101 account. Do I put Sim101 where the Alltrades is?

    #2
    You just run your strategy on the Sim101 account and it will automatically be reporting from the strategy trades on Sim101.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      This seems to return a cumprofit for many days.. Is there a "DayProfit" or something else in place of the CumProfit,, to only reflect the current day?
      Was looking at "TradesPerformanceValuesClass" in the help file (example below) but example produces the same results' a cumulative number for many days.

      protected override void OnBarUpdate()
      {
      // If the profit on real-time trades is > $1000 stop trading
      if (Performance.RealtimeTrades.TradesPerformance.Curr ency.CumProfit > 1000)
      return;
      }

      Comment


        #4
        gg80108,

        Please see this reference sample: http://www.ninjatrader-support2.com/...ead.php?t=4084
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        147 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X