Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Replay101 CashValue

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

    #31
    Would this not suffice?

    GetAtmStrategyRealizedProfitLoss() + GetAtmStrategyUnrealizedProfitLoss()
    Josh P.NinjaTrader Customer Service

    Comment


      #32
      Originally posted by NinjaTrader_Josh View Post
      Would this not suffice?

      GetAtmStrategyRealizedProfitLoss() + GetAtmStrategyUnrealizedProfitLoss()
      isn't realized for the atmstrat 0 until the whole atmstrat closes? I believe it is and will confirm again.

      Comment


        #33
        yes it is 0....if you wait until atmstrat closes before checking it

        1000 apologies...my error....code was checking in wrong place for a multi-lot atm...need to accumulate realized while the atms are still running and add total realized for all atms to total unrealized for all atms to get accurate running total pnl when any atm is open....thanks

        Comment

        Latest Posts

        Collapse

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