Hello, QuantConnect community!
According to EDGAR filings, Apple's CUSIP is 037833100 (ends with 00).
This is confirmed in Fidelity:
But in `SecurityDefinitionSymbolResolverTests`, the CUSIP being tested is `03783310` (ends with 0).
When I bring up a research notebook, `03783310` works and 037833100 doesn't:
resolver = QuantConnect.Securities.SecurityDefinitionSymbolResolver()
print(resolver.CUSIP(cusip='037833100', tradingDate=datetime.date.today()))
> None
print(resolver.CUSIP(cusip='03783310', tradingDate=datetime.date.today()))
> AAPL
Is there some sort of CUSIP convention that I don't quite understand?
Fred Painchaud
Hi Jonathan,
This looks like a bug to me since all CUSIPs are 9-character strings. The last one is a digit and it serves as a check (some simple CRC for the first 8 chars).
Would you please be kind enough to email support@quantconnect.com to report your finding. The dev team will look into it when possible.
Thanks,
Fred
Alexandre Catarino
Hi Jonathan Ng ,
Thank you for the report.Â
We have received your email at support@quantconnect.com.
We will look at the issue as soon as possible.
Jonathan Ng
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!