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 andrewtrades, Today, 04:57 PM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by chbruno, Today, 04:10 PM
          0 responses
          3 views
          0 likes
          Last Post chbruno
          by chbruno
           
          Started by josh18955, 03-25-2023, 11:16 AM
          6 responses
          436 views
          0 likes
          Last Post Delerium  
          Started by FAQtrader, Today, 03:35 PM
          0 responses
          7 views
          0 likes
          Last Post FAQtrader  
          Started by rocketman7, Today, 09:41 AM
          5 responses
          19 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X