Back

Help Using Quant Connect

Hello,

I am new to using Quant Connect and have taken the boot camp and read the documentation, but I am still confused with how to do the following things (FYI: I'm using python):
1) how to calculate an EMA every hour using historic closing prices.
2) how to get and store the last 5 hours worth of highs.
3) how to place a stop order every hour (both long and short positions).
4) how to place a stop loss order with the stop order every hour.
5) how to place a take profit order with a stop order every hour.
6) how to cancel tickets (stop orders, SL orders, and take profit orders)
7) how to modify tickets (stop orders, SL orders, and take profit orders).

If anyone could help me with this I would greatly appreciate it!

Thanks

Update Backtest







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