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

NT8 Equivalent - Order.Info

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

    NT8 Equivalent - Order.Info

    I cannot find the equivalent for Order.Info in NT8. Any pointers, thanks.

    #2
    Hello thomaspartyof10,
    Thanks for your post.

    That would be unsupported in NT7 so there would be no equivalent in NT8. Maybe another member of the community knows more.

    What information are you trying to access exactly?
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      I was using it to leave a custom string I could check later in the process and change if needed. Is there somewhere I can leave a string hanging out on the order? Thanks!

      Comment


        #4
        So after looking into this I believe I see why Order.Info is no longer available. IOrder in 7 was a container they created to hold the actual Order. In NT 8 we now have access directly to the Order object. So, I suspect the work around here is simply to create your own container for the Order object and add whatever items you want.

        Help Guide - Order

        You could make a struct that holds an order object and a string.

        Edit: I initially thought you could use the Pair class as well to accomplish the same thing, but upon closer inspection I do not think it would work.
        Last edited by NinjaTrader_JoshG; 08-17-2018, 02:43 PM.
        Josh G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by alifarahani, Today, 09:40 AM
        6 responses
        31 views
        0 likes
        Last Post alifarahani  
        Started by Waxavi, Today, 02:10 AM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by Kaledus, Today, 01:29 PM
        5 responses
        13 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by Waxavi, Today, 02:00 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by gentlebenthebear, Today, 01:30 AM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X