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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    71 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    43 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    25 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    28 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    56 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X