I know the docs says OCA orders are not implemented, but will be added over time, but do we have an ETA on it?
I have seen multiple posts here describing different ways of implementing OCA orders, but none of them seems 100% reliable. Particularly, I wonder how to handle the case of partial fills, and how to update the stop and profit orders when new fills come through. It would be extremely helpful to have built-in support for bracket orders (like IB has).
Does anyone have a good bracket order “framework” that can handle bracket orders on multiple symbols simultaneously as well as partial fills? I am trading equities…
Fred Painchaud
Hi Haakon,
I don't but that would be a class to build around OnOrderEvent. One would create a singleton object from that class and then basically forward all calls to OnOrderEvent to that object for managing. The object would see new orders, partial fills, etc, and could also be fed from elsewhere in the algo to get, say, price data for SL and TP orders.
Fred
Haakon
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!