Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

{NinjaScript} NT8 - Unmanaged Approach - Get Created Order

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

    {NinjaScript} NT8 - Unmanaged Approach - Get Created Order

    Hello!
    Im creating orders like that:

    SubmitOrderUnmanaged(1, OrderAction.Sell, OrderTy pe.StopMarket, execution.Order.Filled, 0, executio n.Order.AverageFillPrice - StopDistance * TickSize, oco, "EnterSell");

    How can I get the Order Object generated by this code?
    I need to store this Order in a order list: List<Order> and ask anytime if this order was filled or not.
    Can you help me? Some sample code?
    Thank you so much

    #2
    Hello fscabrera03,

    Thank you for your post.

    You could pretty much do the same thing as this managed example from our help guide, just with unmanaged orders instead. Basically, you'd monitor in OnOrderUpdate, check the Signal Name of the order being processed, and then you can assign that order object to a List:



    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    27 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    27 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    31 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    29 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X