Hey Quants!
I have just started paper trading one of my algorithms and I noticed that my RAM storage was slowly being used up and there was not much left within just minutes of deploying it.
How does RAM work? Can 0.5GB of RAM realistically support an algorithm? What uses up a lot of RAM?
Derek Melchin
Hi Jesse,
0.5GB of RAM is sufficient for most simple strategies. If the algorithm uses a lot of data or trains sophisticated models, it can exceed the RAM limit. For more information regarding live algorithms, contact support@quantconnect.com.
Best,
Derek Melchin
Want to invest in QuantConnect as we build the Linux of quant finance? Checkout our Wefunder campaign to join the revolution.
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.
Jesse Fleming
Thank you for your response!
What defines a simple strategy? My strategy contains 3-4 consolidated data/functions and several scheduled events, some everyday, others every week, others once a month. Is this what most algorithms have or is this considered complex? Would you need to see the algorithm to give me a for sure answer?
Derek Melchin
Hi Jesse,
The algorithm would give us a better understanding of why the RAM is running out. The RAM can deplete if there are large history requests in the algorithm, especially if the algorithm manipulates DataFrames. The warm-up period can also affect the RAM. We pace the history requests of the warm up feature to accommodate RAM requirements. Using warm-up would explain this: "my RAM storage was slowly being used up and there was not much left within just minutes of deploying it.", but after the warm-up, the RAM allocation should start to decrease.
Best,
Derek Melchin
Want to invest in QuantConnect as we build the Linux of quant finance? Checkout our Wefunder campaign to join the revolution.
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.
Jesse Fleming
You are amazing thank you my friend. I have another question but I will take a few days to do more research before I ask you again!
Jesse Fleming
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!