Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 FrazMann, Today, 11:21 AM
        0 responses
        3 views
        0 likes
        Last Post FrazMann  
        Started by geddyisodin, Yesterday, 05:20 AM
        8 responses
        51 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        10 responses
        36 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by DayTradingDEMON, Today, 09:28 AM
        4 responses
        24 views
        0 likes
        Last Post DayTradingDEMON  
        Started by George21, Today, 10:07 AM
        1 response
        19 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Working...
        X