• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing past trades

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

    Accessing past trades

    Is there a way to retrieve information on all trades associated with the account that my strategy is running for? I need to see all trades, not just trades executed by the strategy itself. Need trade date, instrument and profit/loss. thanks!

    #2
    Hello pman777,

    Thanks for your post.

    You can find this information by using New>Trade Performance. You can use the filter (funnel icon) to select account, instruments and other selections.

    Please see the help guide here: https://ninjatrader.com/support/help...erformance.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Need to do this within a strategy

      Comment


        #4
        Hello pman777,

        Thanks for your reply.

        Can you clarify what you are trying to do, what your end goal is?

        You mentioned, " Need trade date, instrument and profit/loss.", how far back are you looking to go, current session or further back yet?




        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Its for an internal risk mgmt algo ... need at least last 10 trades for the given account the strategy is running for

          Comment


            #6
            Hello pman777,

            Thanks for your reply.

            There is no supported way to accomplish your goal.

            I understand it would be possible by directly accessing the NinjaTrader SQL Database through C#. Again this would be unsupported.

            Here is a link to a thread where this subject is discussed (it is NT7 but may provide some ideas): https://ninjatrader.com/support/foru...sample?t=10296
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              Thank you Paul

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by vitrxotinusa, Yesterday, 11:56 PM
              0 responses
              5 views
              0 likes
              Last Post vitrxotinusa  
              Started by vitrxotinusa, Yesterday, 11:55 PM
              0 responses
              3 views
              0 likes
              Last Post vitrxotinusa  
              Started by vitrxotinusa, Yesterday, 11:53 PM
              0 responses
              4 views
              0 likes
              Last Post vitrxotinusa  
              Started by raymonds, Yesterday, 10:23 PM
              0 responses
              4 views
              0 likes
              Last Post raymonds  
              Started by Gbnowpes, Yesterday, 09:21 PM
              0 responses
              5 views
              0 likes
              Last Post Gbnowpes  
              Working...
              X