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 pvincent, 06-23-2022, 12:53 PM
    14 responses
    238 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    383 views
    1 like
    Last Post Gavini
    by Gavini
     
    Started by oviejo, Today, 12:28 AM
    0 responses
    1 view
    0 likes
    Last Post oviejo
    by oviejo
     
    Started by pechtri, 06-22-2023, 02:31 AM
    10 responses
    125 views
    0 likes
    Last Post Leeroy_Jenkins  
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Working...
    X