lit26 / finvizfinance

Finviz analysis python library.

Home Page:https://finvizfinance.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENH: Provide an API to obtain dividend history

random-developer opened this issue · comments

I wish I could use finvizfinance to obtain a dividend history for a stock.

For example, I'd like to be able to:

stock = finvizfinance('aapl')
dividend_history = stock.ticker_dividend_history()

where the returned value is a data frame of at least date and amount. For a more complete example, columns should be exdividend date, payment date, announcement_date, dividend_amount, and perhaps others. If the stock is one that has never had a dividend, either None (my preference) or an empty data frame would be ok.

There is no dividend history on the page