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 zstheorist, Today, 07:52 PM
          0 responses
          5 views
          0 likes
          Last Post zstheorist  
          Started by pmachiraju, 11-01-2023, 04:46 AM
          8 responses
          150 views
          0 likes
          Last Post rehmans
          by rehmans
           
          Started by mattbsea, Today, 05:44 PM
          0 responses
          6 views
          0 likes
          Last Post mattbsea  
          Started by RideMe, 04-07-2024, 04:54 PM
          6 responses
          33 views
          0 likes
          Last Post RideMe
          by RideMe
           
          Started by tkaboris, Today, 05:13 PM
          0 responses
          6 views
          0 likes
          Last Post tkaboris  
          Working...
          X