Evening,
I'm new to the Quantconnect community and I've started to do some research on the platform. This might be super basic, but I can't work out to request sector data (in python) besides manually grabbing a list of company tickers' and running it through a loop.
Thoughts?
Huy Hoang
Can you post some code you used? Elliot Parker
Elliot Parker
Huy Hoang thanks for the response; I don't have any code as from my reading of the documentation I couldn't see this ability being directly supported.
Huy Hoang
Elliot Parker You're right. I don't see sector data in the Data Library
Jared Broad Is there GICS sector field in the data that QuantConnect offers? If not, please consider adding it because it's really a standard in investing. Please refer to GICS via these links:
Elliot Parker
Huy Hoang Agreed, It would make basic analysis a lot easier.
Michael Manus
hi i am not an python developer but could you guys please explain me line 96 in this example?
what does IndustryTemplateCode mean with comment above:
# select stocks with top dollar volume in every single sector
Michael Manus
/// <summary> /// This indicator will denote which one of the six industry data collection templates applies to the company. Each industry data /// collection template includes data elements that are commonly reported by companies in that industry. N=Normal /// (Manufacturing), M=Mining, U=Utility, T=Transportation, B=Bank, I=Insurance /// </summary> /// <remarks> /// Morningstar DataId: 11 /// </remarks> [JsonProperty("11")] public string IndustryTemplateCode { get; set; }
Elliot Parker
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!