Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.

Simple way to get stock information from yahoo finance site.

Notifications You must be signed in to change notification settings

luizcalliari/Yahoo-Finance-Historical-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yahoo-Finance-Historical-Data

Instaling

python setup.py install

Requirements

  • Python >= 3.8

Description

The objective of this project is to facilitate the access to the historical information (stock price, dividend and split) from Yahoo Finance website and show them in a Pandas Dataframe.

1 - How To Create a object: test = yfhd('AAPL', '13/12/1980', '07/08/2021', '1d')

'AAPL' is the ticker;

'13/12/1980' is the beggin date;

'07/08/2021' is the last date;

'1d' is the frequenci of information, it can be '1wk' (week), '1mo' (month)

2 - Getting information (return a Pandas Dataframe):

test.show_history_data()

test.show_div_data()

test.show_split_data()

3 - Getting the status of connection (All the response status)

test.show_history_status()

test.show_div_status()

test.show_split_status()

About

Simple way to get stock information from yahoo finance site.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages