Back

Attached bracket order trading ES mini futres

I recently joined qc and want to develop an algorithm for trading ES mini futures.

One feature i really miss is attached bracked orders: with each enter long or short i want to attach a profit taker + stop loss order. Then my algorithm keeps updating the attached orders of my positions. I have an interactive brokers subsidiary account (Lynx) and they support this kind of order.
The reason i want this is robustness: if a connection or server fails or my algorithm crashes, the attached orders guard my profits and limit my losses.

On github i see examples on how to select a particular future (i.e. expiration date), I am missing this on the qc university as it only shows getting data from quandl. Looks like qc has its own api for that now. Is updating the university on futures forthcoming?
 

Update Backtest








Attached bracked orders (AKA OCO orders) are not built-in, but it is easily implemented.
Here is a good example from a community member:

https://www.quantconnect.com/forum/discussion/1700/support-for-one-cancels-the-other-order-oco-

We will be updating the University on Futures and Options, however it may not showcase examples that are more complex than those at github, since we are trying to present features through tutorials.

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