Yahoo Finance API

class src.lib.data_access.yahoofinance.YahooFinance

Bases: object

access_yahoofinance()

Fetchs Json data from the Yahoo Finance API.

The data is requested with daily interval for 10 years long. Requesting for the max long will return the data not in day-interval, but 3-months interval.

dict_to_pandas_yahoofinance()

Converts Json data returned from the Yahoo Finance API into a Pandas dataframe object with the following structure of columns:

  1. Date

  2. Open

  3. High

  4. Low

  5. Close

  6. Close Final: Meaning the adjusted close value.

  7. Volume

  8. Dividend Amount

  9. Split Coefficient