Hi All,
With reference to the following documentation and discussion, I would like to ask for your professional help. After going through the documentation, I have no idea how to combine multiple algorithms into one single algorithm for backtesting and live trading (Interactive Brokers). I appreciate it if anyone could give a simple example.
Varad Kabade
Hi KY Hung,
To combine multiple algorithms as a single algorithm, we recommend using multiple alpha models and adding them using AddAlpha() method in the Algorithm Framework. Note that here each alpha model works independently in generating its insights, and the Portfolio Construction Model model decides how to consume these insights. Refer to the following code snippet. Alternatively, we can deploy multiple live algorithms to different broker's account or a subaccount.
Best,
Varad Kabade
Richard Thomas Harrison
Hi Varad Kabade is there an example algorithm as you've described above? Also what about one that emits insights for the same asset which then have to be averaged somehow?
Mak K
Hi Richard,
maybe this post could be helpful to you ;
https://www.quantconnect.com/forum/discussion/4530/framework-algorithm-with-two-or-more-alphas/p1
Thanks!
KY Hung
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!