Back

Analyzing Stocks in Research That Share a Symbol

After analyzing the CSV file of tickers provided by QuantQuote in the Data Library, I've noticed that it's possible for seperate companies to trade under the same symbol in this dataset. For example, both Astra and Agilent Technologies have used the symbol 'A'.

My question is: in the Research environment, is it possible to retreive the historical pricing data for both of these securities?

As of right now, I'm only aware of retrieving historical pricing data with

qb.History(qb.AddEquity("A").Symbol, 250, Resolution.Daily)

which only returns the data for Agilent Technologies (the currently listed stock). Ideally, I'd like to analyze the historical data of both of these companies.

Update Backtest







0

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.


For anyone else who may be experiencing the same thing I am, rest assured. If you call the History method with dates that include when each of the companies were listed, their time series of historical data are stitched together in the DataFrame that results.

0

Update Backtest





0

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.


Loading...

This discussion is closed