Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnExecutionUpdate is not called for all the order filled status change

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

    OnExecutionUpdate is not called for all the order filled status change


    Hi, My strategy placed an order with 2 contract. One contract is filled first (PartFilled) and another contract is filled later. The OnOrderUpdate is called for both PartFilled and Filled status change. But the OnExecutionUpdate is called only for PartFilled and not called when the order Filled fully. OnExecutionUpdate will not be called on Filled status change ?

    Log :

    OnOrderUpdate called for PartFilled:


    2024-02-29 11:15:36:378|2|16|ID1 : 2/29/2024 11:30:00 AM | OOU | order | 2/29/2024 11:15:36 AM | orderId='1095676484' account='XXXXXX' name='ID1$Long' orderState=PartFilled instrument='NQ 03-24' orderAction=Buy orderType='Stop Limit' limitPrice=18012.5 stopPrice=18012.5 quantity=2 tif=Gtc oco='' filled=1 averageFillPrice=18012.5 onBehalfOf='' id=11144 time='2024-02-29 11:15:36' gtd='2099-12-01' statementDate='2024-02-29'

    OnExecutionUpdate called for PartFilled:

    2024-02-29 11:15:36:379|2|16|ID1 : 2/29/2024 11:30:00 AM | OEU | execution update | 2/29/2024 11:15:36 AM | orderId='1095676484' account='XXXXXX' name='ID1$Long' orderState=PartFilled instrument='NQ 03-24' orderAction=Buy orderType='Stop Limit' limitPrice=18012.5 stopPrice=18012.5 quantity=2 tif=Gtc oco='' filled=1 averageFillPrice=18012.5 onBehalfOf='' id=11144 time='2024-02-29 11:15:36' gtd='2099-12-01' statementDate='2024-02-29'

    OnOrderUpdate called for Filled:

    2024-02-29 11:15:36:652|2|16|ID1 : 2/29/2024 11:30:00 AM | OOU | order | 2/29/2024 11:15:36 AM | orderId='1095676484' account='XXXXXX' name='ID1$Long' orderState=Filled instrument='NQ 03-24' orderAction=Buy orderType='Stop Limit' limitPrice=18012.5 stopPrice=18012.5 quantity=2 tif=Gtc oco='' filled=2 averageFillPrice=18012.5 onBehalfOf='' id=11144 time='2024-02-29 11:15:36' gtd='2099-12-01' statementDate='2024-02-29'

    No OnExecutionUpdate ​ is called when the order is Filled.​

    #2
    Hello nandhumca,

    Thank you for your post.

    What is your logic inside of OnExecutionUpdate()? Please provide a snippet. I would also like to review your diagnostic files for more information about the sequence of these events. Please send me your log and trace files from the platform. You can do this by going to the Control Center-> Help-> Email Support. Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default. Please include "ATTN Emily C" in the subject line along with a link to this forum thread in the body of the email.

    I look forward to assisting you further.​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    41 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    64 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X