Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unmanaged Strategy IOrder versus Order

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

    Unmanaged Strategy IOrder versus Order

    Right now, I'm guessing that IOrder might be obsolete in NT8?; and that NinjaTrader.Cbi.Order is the readonly handle
    to a specific order. I am doing an Unmanaged strategy; and want to hold this Order in an instance of an OrderWrapper custom
    class. I could be wrong, but don't see IOrder in Object Browser with Visual Studio?

    NinjaTrader.Cbi.Order "Represents a read only interface that exposes information regarding an order" which sounds
    like an IOrder would be meant to do.

    Looks to me like SubmitOrderUnmanaged returns the type NinjaTrader.Cbi.Order.

    Could you confirm that, or fix my thinking? THANKS


    hyperscalper

    #2
    Hello Hyper,

    Thanks for your post.

    Yes, IOrder is no longer used and direct Order objects are used. You may reference the Code Breaking Page of the Help Guide for more information under Implementation Changes > Strategies, Orders, and Accounts. I would recommend giving this a read for anyone who is transitioning from NinjaTrader 7.

    Code Breaking Changes - https://ninjatrader.com/support/help...ng_changes.htm

    Order Class - https://ninjatrader.com/support/help...#TheOrderClass

    An example Unmanaged strategy that uses Order objects is attached as well.

    We look forward to assisting.
    Attached Files
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Lumbeezl, Today, 01:20 AM
    0 responses
    4 views
    0 likes
    Last Post Lumbeezl  
    Started by fawzanalim, Yesterday, 05:59 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by JuanPabloQuevedo, Yesterday, 05:27 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by StevenNelson, Yesterday, 03:24 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by my-trade, Yesterday, 10:45 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X