I have found that using the yahoo chart api via a http request (either in code, a web browser or using wget) it will not accept stock symbols from the NYSE/AMEX listing that are Preferred, Preferred Class “A”*, Class “A”*, etc. Not sure where else to post this. This link shows the Security Categorization and Suffixes of hich I have tried adding all the the symbol with no luck. http://www.nasdaqtrader.com/trader.aspx?id=CQSsymbolconvention
These are the urls I have been trying to work with.
http://chartapi.finance.yahoo.com/instrument/1.0/ABR/chartdata;type=quote;range=1y/csv
http://ichart.finance.yahoo.com/table.csv?s=ABR&a=05&b=01&c=2015&d=05&e=01&f=2016&g=d&ignore=.csv
ABR has four listings:
ABR|ArborRealtyTrustCommonStock|NYSE-AMEX
ABR$A|ArborRealtyTrustPreferredSeriesA|NYSE-AMEX
ABR$B|ArborRealtyTrustCumulativeRedeemablePreferredSeriesB|NYSE-AMEX
ABR$C|ArborRealtyTrustCumulativeRedeemablePreferredSeriesC|NYSE-AMEX
Interesting enough, all work in the finance.yahoo.com website.
I my code I am using C++ and Curl.
These are the urls I have been trying to work with.
http://chartapi.finance.yahoo.com/instrument/1.0/ABR/chartdata;type=quote;range=1y/csv
http://ichart.finance.yahoo.com/table.csv?s=ABR&a=05&b=01&c=2015&d=05&e=01&f=2016&g=d&ignore=.csv
ABR has four listings:
ABR|ArborRealtyTrustCommonStock|NYSE-AMEX
ABR$A|ArborRealtyTrustPreferredSeriesA|NYSE-AMEX
ABR$B|ArborRealtyTrustCumulativeRedeemablePreferredSeriesB|NYSE-AMEX
ABR$C|ArborRealtyTrustCumulativeRedeemablePreferredSeriesC|NYSE-AMEX
Interesting enough, all work in the finance.yahoo.com website.
I my code I am using C++ and Curl.