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 drewski1980, Today, 08:24 AM
          0 responses
          3 views
          0 likes
          Last Post drewski1980  
          Started by rdtdale, Yesterday, 01:02 PM
          2 responses
          16 views
          0 likes
          Last Post rdtdale
          by rdtdale
           
          Started by TradeSaber, Today, 07:18 AM
          0 responses
          7 views
          0 likes
          Last Post TradeSaber  
          Started by PaulMohn, Today, 05:00 AM
          0 responses
          10 views
          0 likes
          Last Post PaulMohn  
          Started by ZenCortexAuCost, Today, 04:24 AM
          0 responses
          6 views
          0 likes
          Last Post ZenCortexAuCost  
          Working...
          X