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 bortz, 11-06-2023, 08:04 AM
        47 responses
        1,610 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        9 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        19 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        6 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        16 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X