Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Partial Fill Question

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

    Partial Fill Question

    Hi,

    I want to handle a scenario of partial fills.
    The scenario is as follow:
    1. Send an order for 10 contracts. Time 0.
    2. 2 contracts get fill at time 1.
    3. 3 more contracts gets fill at time 2.
    4. 5 more contracts gets fill at time 3.

    My question is when I check the IOrder.Fill at each time point do I get the aggregated fill or the delta? e.g. At step 3(time 2) does IOrder.Fill == 3 or IOrder.Fill == 5?

    I want to be able to get the delta fill plus AvgFill and the aggregated fill plus AvgFill at each IOrder event, how can I do it?

    I can think on a programmatic way to do it but because it is hard to simulate such events I wanted to know if you have a tested solution for this.

    Thanks!
    Last edited by freewind; 08-04-2013, 12:31 AM.

    #2
    Hello freewind,

    Thank you for your post.

    The IOrder object method .Filled will pull the total amount filled for the IOrder object not the value of how much was filled in the last partial fill. So in this case you will need to create your own logic to pull the average fill and per OnOrderUpdate() fill or "delta" fill.

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    637 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    571 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X