Skip to content

aabdelfattah/finfun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

finfun

Fetch SP500 stock data from yfinance, assign them a score and publish it to an excel sheet named TopRankedStocks , optionally can also publish to a google sheet

dependencies

Install the following python packages

pip3 install pygsheets
pip3 install yfinance --upgrade --no-cache-dir
pip3 install openpyxl

To access google sheets you need OAuthCredentials, this can be obtained following this tutorial. Afterwards, download the secret file and save it to the same project path as client_secret.json

Also you should create FinFun sheet into your google account.

Running

python3 finfun.py -r n

where n is n ranked top stocks in a sector

About

Fetch stock data from yfinance and publish it to

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages