Back

One cancels other or all, and order attachment

OCO are convenient for bracket orders and exclusive entry for double setups. OCA is similar and quite useful for entering in different securities. Order attachment is useful for placing stop loss and take profit as soon as the entry order is filled (and those SL/TP orders need to be tied by OCO). I know IB supports this natively, but this could be made transparent to algorithms by having brokerage classes do this client side if server functionality is not available.

This is not a huge priority to me, since I can always create my own order manager, but I wonder if there are plans to support this.

Keep up the awesome work!
Update Backtest








Thank you Dmitri, we're aiming to add new orders as quickly as possible. At the moment we don't support OCA but we've setup the system to handle this type of order (through contingent order id's). I personally used them for my trading so definitely understand how powerful they can be.

We make brokerage classes support it where possible; OCA's are a good candidate for client-side brokerage implementation since they aren't too speed sensitive. Its probably best to submit a git issue for this and it will be added to the stack sooner or later.
0

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.


Update Backtest





0

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.


Loading...

This discussion is closed