Objective of this post: I am seeking more timely submission of Exit Orders upon the Fill of an entry order.
Context for this Strategy:
- I am using Unmanaged orders on CME Futures contracts
- Only one contract per order so I assume I will never see a partial fill.
- Use Limit orders for entries so the approximate position average entry price is reasonably well understood.
Context for the questions: A number of samples and posts include the following statement.
/* We advise monitoring OnExecution to trigger submission of stop/target orders instead of OnOrderUpdate()
since OnExecution() is called after OnOrderUpdate() which ensures your strategy has received the execution
which is used for internal signal tracking. */
Q: "ensures your strategy has received the execution which is used for internal signal tracking." What internal signal tracking of impact to my strategy am I missing out on by submitting exits in OOU() rather than OEU()?
Q: At what point (e.g. before or after OOU() and OEU()) of the order lifecycle is the Strategy Position status updated, specifically Position.Quantity and MarketPosition?
Q: At what point (e.g. before or after OOU() and/or OEU()) of the order lifecycle is the Strategy Position status updated, specifically Position.Quantity and MarketPosition?
Q: So overall.. why "not" submit Exit orders from OnOrderUpdate() rather than OnExecutionUpdate()?
Thanks!
Hedge

Comment