Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j-w-yun/scrape_stocks
https://github.com/j-w-yun/scrape_stocks
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/j-w-yun/scrape_stocks
- Owner: j-w-yun
- Created: 2021-02-23T06:50:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-02-23T06:56:07.000Z (over 3 years ago)
- Last Synced: 2024-03-01T05:07:40.535Z (9 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scrape_stocks
Scrapes daily stock OHLC, short volume, and total volume of all Nasdaq and NYSE stocks from 3/1/2011 to the present.
Dependencies
```
pip install xone==0.1.6
pip install pandas==1.2.2
pip install pytz==2021.1
pip install requests==2.25.1
pip install yfinance==0.1.55
```Run to write/update `stock_data/{SYMBOL}.csv`
```
python scrape_stocks.py
```