Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Status Working when Filled

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

    Order Status Working when Filled

    Hello,

    I have a question regarding an issue I’ve run into periodically and once again today.

    I’m running an automated strategy connected to TD Ameritrade, and sometimes I will have an entry order submitted whose status become parking at Working. If I log into the broker, I will see that the position has been in fact filled. But NinjaTrader still sees the order as Working when in actuality it should show Filled. Where this creates problems is that NinjaTrader does not know that it has a position open and thus exit orders are not submitted. In these situations, I have to take some sort of manual action to close out the position.

    In the instance I experienced today, I was running an exact copy of my live strategy in simulation, and the simulation version successfully switched between all order states and closed its position, but the live version got hung up and was unable to exit. I let this strategy run a series of small live trades over the last few weeks to test for any order errors, etc., and had no such problems. I believe the last time I experienced this was on a separate test strategy about three months ago. Concerning what I’m working with now, the only difference between this trade and my testing period is that I’ve changed the order size, and yet I’ve gotten an order error.

    I have two questions: 1) Is this a recognized issue and if so, are there any known steps I can take? Are there any quirks or such to avoid, etc.?

    Otherwise, 2) are there any recommendations about how I can structure something to ping the broker for an update to the order status?

    For example, if it’s been a few minutes since entry and the order is still marked Working, is there any way to go about fetching an update to that order? I’ve found thus far the key is to perform some sort of action to modify the order, at which point it pings the broker and updates the order status, breaking the Working deadlock. Seeing as this is something I’ve experienced a few times, I very much need to make sure such occurrences are handled.

    Nicholas

    #2
    Hello Nicholas,

    Thank you for your post.
    I have two questions: 1) Is this a recognized issue and if so, are there any known steps I can take? Are there any quirks or such to avoid, etc.?

    Otherwise, 2) are there any recommendations about how I can structure something to ping the broker for an update to the order status?
    I would need to review the Log and Trace for this occurrence to see exactly what occurred.

    Please send me your log and trace files for today so that I may look into what occurred. You can do this by going to the Control Center-> Help-> Mail to Platform Support. Please place 'ATTN: Patrick H - 1496019' in the subject line.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Balage0922, Today, 07:38 AM
    0 responses
    1 view
    0 likes
    Last Post Balage0922  
    Started by JoMoon2024, Today, 06:56 AM
    0 responses
    6 views
    0 likes
    Last Post JoMoon2024  
    Started by Haiasi, 04-25-2024, 06:53 PM
    2 responses
    19 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    6 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Working...
    X