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 cmv727, Today, 05:38 AM
    0 responses
    3 views
    0 likes
    Last Post cmv727
    by cmv727
     
    Started by AlessioCianini12, Today, 01:38 AM
    0 responses
    28 views
    0 likes
    Last Post AlessioCianini12  
    Started by nandhumca, Yesterday, 11:54 PM
    0 responses
    29 views
    0 likes
    Last Post nandhumca  
    Started by nandhumca, Yesterday, 11:51 PM
    0 responses
    28 views
    0 likes
    Last Post nandhumca  
    Started by ezrollin, Yesterday, 11:48 PM
    2 responses
    29 views
    0 likes
    Last Post ezrollin  
    Working...
    X