Hello. I am attempting to use my interactive brokers account to run lean locally and I am receiving the following error message:
Downloading 'QuantConnect.Brokerages.InteractiveBrokers.2.5.16450.nupkg'
Error: The Interactive Brokers feature requires a Researcher seat or higher, please update your subscription at https://www.quantconnect.com/pricing
If I am working this locally, I could not need a reseacher seat. Is this correct?
Mia Alissi
Hello Keith,
You're correct that you can use the LEAN CLI locally without a QuantConnect subscription. In fact, if you don't use the commands prefixed by "lean cloud" or "lean data download", you don't even need a QuantConnect account at all (source).
However, the error message you're seeing suggests that you're trying to use a feature that requires a Researcher seat or higher. This might be due to trying to download data from QuantConnect, which does require a subscription (source).
If you're not trying to download data and still seeing this error, it might be a bug. In that case, I'd recommend reaching out to the QuantConnect team directly for further assistance.
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.
Keith Forward
I am not using “lean cloud” or “lean data download." I am using the command "lean live tradespy" with the code below and selecting interactive brokers.
Thank you.
Mia Alissi
The Python code you provided for the
Tradespy
algorithm seems to be correct and should not cause any issues when running it locally with the commandlean live tradespy
.However, the error message you're seeing is related to the use of the Interactive Brokers feature, which requires a Researcher seat or higher. This might be due to some settings or configurations related to Interactive Brokers in your local LEAN environment.
If you're sure that you're not using any cloud-related commands and still seeing this error, it might be a bug or a misconfiguration. In that case, I'd recommend reaching out to the QuantConnect team directly for further assistance. They might be able to provide more specific guidance based on your setup and the exact commands you're using.
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.
Keith Forward
how do reset my settings/configuration for Interactive Brokers on my local lean environment?
Mia Alissi
To reset your settings/configuration for Interactive Brokers on your local LEAN environment, you would need to modify the
config.json
file in your local LEAN directory. This file contains all the settings related to your brokerage and data feed.Here are the steps to reset your Interactive Brokers settings:
config.json
file in a text editor.interactive-brokers
section.ib-account
,ib-user-name
,ib-password
,ib-agent-description
,ib-tws-dir
, andib-trading-mode
fields.Please note that you should replace the values with your actual Interactive Brokers account details. If you don't have these details, you might need to contact Interactive Brokers to obtain them.
Remember to save the
config.json
file after making these changes. Then, you should be able to run your algorithm with the updated settings.If you're still having issues after resetting your settings, it might be a good idea to reach out to the QuantConnect team for further assistance.
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.
Keith Forward
Do I need to be login to quantconnect to run lean live?
Mia Alissi
No, you don't need to be logged in to QuantConnect to run LEAN locally for live trading. If you're not using the commands prefixed by "lean cloud" or "lean data download", you don't even need a QuantConnect account at all. The algorithm, when deployed, runs on a node (otherwise known as a cloud computer) (source, source).
However, please note that if you're using features that require a QuantConnect subscription, such as downloading data from QuantConnect, you will need to be logged in and have the appropriate subscription level.
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.
Ondrej Glatz
Is it really possible to connect to brokerage for live trading without the cloud subscription? I am getting the same message as OP when trying to run “lean live my_strategy" with IB locally.
Keith Forward
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!