cant download data for stock tickers like AA.A with dot in middle, yfinance

Issue

This Content is from Stack Overflow. Question asked by codyc4321

I have the following attempt to find a real stock that is listed on a website that catalogs all the stocks in the world:

import yfinance

yahoo_stock_obj = yfinance.Ticker('ADR.S'.upper())
# yahoo_stock_obj = yfinance.Ticker('ADR/S'.upper())

info = yahoo_stock_obj.get_info()

import ipdb; ipdb.set_trace()

This search does not bear fruit:

- ADR.S: No data found, symbol may be delisted
- ADR.S: No data found, symbol may be delisted
ipdb> yahoo_stock_obj.dividends
- ADR.S: No data found, symbol may be delisted
[]
ipdb> yahoo_stock_obj = yfinance.Ticker('ADR/S'.upper())
- ADR/S: No data found for this date range, symbol may be delisted
ipdb> yahoo_stock_obj.dividends
- ADR/S: No data found for this date range, symbol may be delisted
[]

The company is listed as “Ault Disruptive Technologies Corp” on the american stock exchange.

https://eoddata.com/stockquote/AMEX/ADR.S.htm

I want to get this data from yfinance the best stock api



Solution

Check the Answers

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?