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 alcorr247, Yesterday, 09:53 PM
    1 response
    33 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by traderslab, Yesterday, 10:27 PM
    0 responses
    32 views
    0 likes
    Last Post traderslab  
    Started by jjanguda, Yesterday, 09:40 PM
    1 response
    36 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by jeronymite, Yesterday, 07:15 PM
    0 responses
    58 views
    0 likes
    Last Post jeronymite  
    Started by RT001, Yesterday, 05:07 PM
    2 responses
    44 views
    0 likes
    Last Post RT001
    by RT001
     
    Working...
    X