Hi,
I'm new to quantconnect and I'm getting this warning and couldn't build the code. I took the code from github.
Thank you.
QUANTCONNECT COMMUNITY
Hi,
I'm new to quantconnect and I'm getting this warning and couldn't build the code. I took the code from github.
Thank you.
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.
Lutz K.
Hi,
if you post the github link it will be much easier to spot the problem. Just guessing from the warning you posted: there seems to be an "open(...)" statement which you should remove/replace.
Alexandre Catarino
Some libraries are not whitelisted for security reasons.
Libraries that make possible to read and write files are the finest example.
Nithin vasireddy
Hi,
Here is the github link.
https://github.com/QuantConnect/Lean/blob/968ccc520f927c542cab5c968f48740e260c1817/Algorithm.Python/DropboxUniverseSelectionAlgorithm.py
Thank you.
Alexandre Catarino
For security reasons, we have not whitelisted urlopen neither.
We will address this issue when we release our new python framework.
Jared Broad
We have a new way to do this which has a common API with C#:
https://www.quantconnect.com/docs#Importing-Custom-Data-Loading-Reference-Data
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.
Nithin vasireddy
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!