Hi,
I am in the process of upgrading from QC Free tier to Research and have a few queries.
When upgraded to the Research tier, is there any cap limit on the Live Algorithms deployed? If so, if would like to deploy more algorithms live such as ML, Options, Crypto etc, what is the criteria and how to achieve?
How the algorithm deployment works? is it like a 1 Algorithm - 1 Live Node ? or a few Algorithms to 1 Live Node? (based on the RAM occupied by the Algorithm execution)
Kindly provide more insights on this.
Thanks
Mia Alissi
Hi Ramesh,
When you upgrade to the Research tier, you can have up to 2 live trading nodes source. Each live trading node can run one algorithm, so you can deploy up to 2 live algorithms simultaneously. If you want to deploy more live algorithms, you would need to upgrade to a higher tier or add more live nodes to your account.
The deployment of algorithms works on a 1 Algorithm - 1 Live Node basis. This means that each algorithm you want to run live needs its own live trading node. We do not support running multiple algorithms on a single live node source.
To deploy a live algorithm, you would need to follow these steps:
You can find more detailed instructions on how to deploy a live algorithm here.
I hope this helps! Let me know if you have any other questions.
Best,
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.
Ramesh Karamsetty
Thank you for the quick response.
Also, is it possible to trade multiple assets (Equities, Crypto, Options) with multiple strategies using one single algorithm? if not, please explain why?
Thanks
Mia Alissi
Hi Ramesh,
Yes, it is possible to trade multiple assets such as Equities, Crypto, and Options within a single algorithm on QuantConnect. QuantConnect supports multi-asset algorithms, allowing you to trade FX, equities, CFD, Futures, and Options in the same algorithm source.
You can add these assets to your algorithm using the
AddEquity
,AddCrypto
, andAddOption
methods respectively. Here is an example in Python:However, please note that while you can trade multiple assets within a single algorithm, it is not currently possible to use multiple brokerages within the same algorithm source. This means that if you want to trade assets that are only available through certain brokerages, you would need to run separate algorithms for each brokerage.
I hope this helps! Let me know if you have any other questions.
Best,
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.
Ramesh Karamsetty
Ok. That sounds good !
Also, is it possible to implement multiple strategies (Momentum, Mean Reversion, Breakout etc) in one single algorithm ?
Thanks
Mia Alissi
Hi Ramesh,
Yes, it is possible to implement multiple strategies within a single algorithm on QuantConnect. You can do this by creating different methods for each strategy and calling them in your
OnData
method. Here is an example in C# from one of the forum discussions:source
Another approach is to use the Algorithm Framework provided by QuantConnect. This framework allows you to create multiple Alpha Models (strategies) and combine their signals using a Portfolio Construction Model. Here is an example in Python:
source
I hope this helps! Let me know if you have any other questions.
Best,
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.
Ramesh Karamsetty
Thanks for the response !
How do we specify different start dates and resolutions for different assets back testing in the initialize method?
Thanks
Mia Alissi
Hi Ramesh,
In QuantConnect, the start and end dates for backtesting are set at the algorithm level, not at the individual asset level. This means that all assets in your algorithm will use the same start and end dates for backtesting. You can set these dates using the
SetStartDate
andSetEndDate
methods in theInitialize
method of your algorithm. Here is an example:source
As for the resolution, you can specify different resolutions for different assets when you add them to your algorithm. The resolution determines the frequency of data updates for that asset. Here is an example:
source
I hope this helps! Let me know if you have any other questions.
Best,
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.
Ramesh Karamsetty
What would be the criteria for Equity Universe selection for Mean Reversion and ORB Strategies?
Mia Alissi
Hi Ramesh,
The criteria for universe selection can vary depending on the specific requirements of your Mean Reversion and Opening Range Breakout (ORB) strategies. However, I can provide some general guidelines based on the information available in the knowledge sources.
For a Mean Reversion strategy, one common approach is to select stocks based on their price and trading volume. For example, you might choose to exclude stocks with prices lower than a certain threshold (e.g., $5) and select the ones with the highest dollar traded volume. Here is an example in Python:
source
For an ORB strategy, you might want to select stocks based on their behavior during pre-market/market open. For example, small cap stocks that increase a certain percentage from market open might be candidates for an intraday mean reversion trade. However, this would require real-time or intraday universe selection, which might involve using a custom data feed or adding securities on an ad-hoc basis source.
Please note that these are just examples and the actual universe selection criteria would depend on the specific requirements of your strategies. You might also want to consider factors such as transaction costs, liquidity, and risk management when selecting your universe.
I hope this helps! Let me know if you have any other questions.
Best,
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.
Ramesh Karamsetty
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!