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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X