Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Over Fill

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

    Over Fill

    Hi,

    I am playing around with this pivot strategy however \i get rejected orders and over fills causing it to terminate.

    How would I rectify this, will I have to look at an unmanaged approach?

    Can someone help me sort this out?
    Attached Files

    #2
    mccallum28, you would need to look into and debug what exact order / orderstatus sequence experienced leads to the overfill and strategy termination - generally an overfill is categorized as when an order returns a "Filled" or "PartFilled" state after the order was already marked for cancellation.

    The cancel request could have been induced by an explicit CancelOrder() call, from more implicit cancellations like those that occur when another order sharing the same OCO ID is filled, or from things like order expirations.

    So if you sent for example a close order for a position where you had a close target limit also working, you can easily run into this scenario - a better approach would then be modifying the limit exit in this case to take you flat instead of sending the 'double' order in.

    Comment


      #3
      Hi Bertrand,

      Thank you for your help , I am still left completely stumped as your answer far exceeds my programming ability. Could you have a look and point out what I need to change or dirrect me to the section in the knowledge center?

      Thanks,

      Ryan

      Comment


        #4
        Ryan, we can unfortunately not debug or modify the code for you - since this would be needed to enhance the realtime running behavior seen I would recommend to get in contact with a consultant to help working changes into the source code.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        66 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        41 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        24 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        27 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        53 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X