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 zstheorist, Today, 07:52 PM
        0 responses
        3 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        149 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        5 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        5 views
        0 likes
        Last Post tkaboris  
        Working...
        X