Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Result of previous trade in backtest

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

    Result of previous trade in backtest

    Hi,

    In backtest, I need to know if the previous trade made a profit or not.

    I have tried
    Account.GetAccountItem(AccountItemType.RealizedPro fitLoss
    Account.GetAccountItem(AccountItemType.CashBalance
    but both these return 0.

    Perhaps there is a list of trades/orders I can get to somewhere?

    Is there any documentation on the NinjaTrader namespace?
    Even some auto generated doco that would allow me to search for keywords would be good.

    #2
    This is currently not supported in NT6 however, it will be supported and extensively documented in NT 6.5. We should have beta out in less than two weeks.
    RayNinjaTrader Customer Service

    Comment


      #3
      Hi Ray,

      It would be good to have more events
      eg
      OnPositionClosed
      OnOrderFilled
      OnTick
      + more

      Comment


        #4
        Please be patient. NT6.5 will support a good chunk of it.

        Comment


          #5
          NT 6.5 Sounds Wonderful

          Thank you. That is very good news. Maybe I can get rid of some of my unusual workarounds.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          58 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          39 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          19 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          21 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          51 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X