https://github.com/theognis1002/stock-checker
S&P500 crawler for ROTC/EY figures
https://github.com/theognis1002/stock-checker
financial-analysis pandas python smtp statistics stock-market
Last synced: 2 months ago
JSON representation
S&P500 crawler for ROTC/EY figures
- Host: GitHub
- URL: https://github.com/theognis1002/stock-checker
- Owner: theognis1002
- Created: 2021-05-14T03:38:58.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T02:27:45.000Z (over 3 years ago)
- Last Synced: 2025-03-05T04:32:07.705Z (over 1 year ago)
- Topics: financial-analysis, pandas, python, smtp, statistics, stock-market
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## S&P500 Stock Checker
Simple Python script that crawls financial pages for current fundamental ratios and figures. Warren Buffett, through his writings and over the years, has mentioned the following ratios as important:
1. Return on Tangible Capital
- Operating Income / (Net Working Capital + Net Fixed Assets)
1. Earnings Yield
- EBIT/EV (Earnings before interest and taxes / Enterprise Value)
_Note: See TODO list for future additional figures._
The script gets the current S&P500 stocks and collects the above figures for each company. The data is then exported as a CSV file and emailed to the recipient.
---
### TODO LIST
#### S&P500 Crawler
- [x] Return on Tangible Capital
- [x] Earnings Yield
- [x] P/E (financials stocks)
- [ ] Share price
- [ ] Return on Equity
- [x] Debt / Equity
- [x] 10YR Interest Rate
- [ ] Estimated Valuation
#### S&P500 Moving Average
- [x] S&P500 50-day moving average
- [x] S&P500 current share price
---
### Technologies Used
1. Python3.8
1. pandas
1. smtp
1. crontab
---
### Setup
1. Create `.env` using `.env.sample` as reference
- Email app credentials needed (ie; Gmail)
1. `virtualenv venv`
1. `source venv/bin/activate`
1. `pip install -r requirements.txt`
---
### Run
1. `python main.py`