Hi,
I am mint new to Quant connect. I have a requirement:
load ml model, fetch live 15 min candles.
calculate features and pass the features to the ml model get prediction.
based on the prediction take trade
manage risk: I'd like to use a template that'd help handle trade entry, exit, stop loss, take profit, trailing activation, trailing stop, and execute the trades.
is there a template or existing code that supports this requirement?
Thanks!
Mia Alissi
Here is a ready-to-use template for your requirements in QuantConnect. This template will:
Instructions:
/data/my_model.pkl
and uncomment/edit the model loading code as appropriate for your ML framework.on_data_consolidated
for your setup.This gives you a functional scaffold to develop and refine your approach! Let me know if you want this extended or with more advanced features.
Sources: docs writing algorithms machine learning popular libraries keras, docs writing algorithms machine learning popular libraries tensorflow, Bulk Downloads - QuantConnect.com, PyTorch - QuantConnect.com, docs writing algorithms datasets brain brain ml stock ranking
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.
Ranjith
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!