Back

Are there any resources explaining the idea of spinning up or winding/spinning down an algorithm?

Hey QuantConnect community!

I am wondering if there's any resource that would explain how you should manage having multiple algorithms running, and how you should spin up/down algorithms? 

I believe each algorithm should have its own budget

I believe each algorithm should have its own open positions and orders

What happens if the server running the algorithm goes down? In that case, all of the state in memory is lost.

Would you simply track the budget and open positions whenever you spin up an algorithm?

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.


Hey Kevin,

If you are talking about live trading, each instance of an algorithm is independent, with its own portfolio and orders. However, we don't allow deploying two projects to the same brokerage account because this may lead to portfolio allocation issues. You can learn more about deploying multiple algorithms in our documentation.

In the event that the algorithm disconnects, the algorithm will try to reconnect. If it cannot, it will exit with open positons. So that when you redeploy the algorithm, it will pick up the open orders.

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