Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position Day to Day.

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

    Position Day to Day.

    Is there a way to programmatically pull and display the current position in a contract that is accurate over several days and several sessions.

    With my trading back end I need to restart NT every day, and all positions are reset at that time. So if I buy 5 one day, restart NT it would show a daily position of 0 and then I sell 5 to liquidate the position. Then I would see -5 for the daily position even though I am flat.

    I am looking if there is a way to pull the actual position in a contract and a strategy at any time. So when I restart NT in the example above, I want to see the long 5 position and when I sell the 5 lots I want to see a net position of 0.

    Thanks

    #2
    elkinm,

    Unfortunately there is no currently supported way of doing this. I could suggest to development on your behalf if you would like.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Please make the request.


      I was thinking that it may be possible to use the strategy analyzer scripts to come to the value.
      Ninja can analyze and give reports on previous trading. I was hoping that that engine could be used to give me the true current position.

      Comment


        #4
        elkinm,

        I will suggest to development and get you a tracking ID. Please note there may be unsupported ways of getting this information. I would check out more of our forum and/or BigMikesTrading.

        I will respond with the tracking ID.
        Adam P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        576 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X