Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Fill Process & Timing

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

  • NinjaTrader_ChrisL
    replied
    Hello cpabiz20k,

    Thank you for your post.

    OnExecutionUpdate can be used to wait for an order to fill/cancel/change. Below is a pertinent reference sample that waits for the entry order to fill in OnExecutionUpdate, and after it does a protective stop and profit target order are submitted:

    https://ninjatrader.com/support/help...and_onexec.htm

    If you have any questions on this material, please let me know.

    Leave a comment:


  • cpabiz20k
    started a topic Order Fill Process & Timing

    Order Fill Process & Timing

    I have a strategy that will get in a position, then reverse directions if the market moves against it. I had a situation occur today where the strategy entered long, the market moved against the position and the strategy sold the position. The market moved so fast that the sell order was not complete before it entered a sell short position. The initial position was still active and the trade did not take place because the sell short would have placed the account above the buying power limit.

    Is there a setting I am missing to prevent this or is there a way to have the strategy pause while it waits for confirmation of the fill so it can avoid this in the future?

Latest Posts

Collapse

Topics Statistics Last Post
Started by ashwagandhaplus, Today, 12:04 AM
0 responses
6 views
0 likes
Last Post ashwagandhaplus  
Started by ashwagandhaplus, Today, 12:02 AM
0 responses
8 views
0 likes
Last Post ashwagandhaplus  
Started by truvalastfrnce, Today, 12:01 AM
0 responses
5 views
0 likes
Last Post truvalastfrnce  
Started by truvalastfrnce, Today, 12:00 AM
0 responses
4 views
0 likes
Last Post truvalastfrnce  
Started by Ericawin, Yesterday, 11:57 PM
0 responses
7 views
0 likes
Last Post Ericawin  
Working...
X