Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Number of executions part filled status

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

    Number of executions part filled status

    Hello

    is there a way to know how many parts an entry or exit order is executed in before the order is completed?

    I ask this, because when I execute an order most of the time it takes a status "Filled", but it also happens that it takes the status "PartFilled", when this happens it enters several times in the method "OnOrderUpdate" but does not capture the last one part of the execution

    Thank you.

    #2
    Hello 7robert,

    Thank you for your post.

    You could certainly keep track of how many times the order partially fills in OnOrderUpdate by incrementing a counter each time you get a partial fill and then resetting that count once the trade fully fills. However, there's no way to know how many times the order will partially fill. For example, if you have a 10 quantity order, the most times it could partially fill before being fully filled is 9, as the 10th fill would make it fully filled, but you can't really know in advance if it will fill in two parts, or 3, or 10 in advance. What do you mean by "Does not capture the last one part of the execution"? Can you clarify?

    Thanks in advance; I look forward to assisting you further.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jpapa, Today, 07:22 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by kevinenergy, 02-17-2023, 12:42 PM
    116 responses
    2,758 views
    1 like
    Last Post kevinenergy  
    Started by franatas, 12-04-2023, 03:43 AM
    7 responses
    106 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Jltarrau, Today, 05:57 AM
    3 responses
    8 views
    0 likes
    Last Post Jltarrau  
    Started by f.saeidi, Today, 05:56 AM
    2 responses
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X