Gets data regarding stocks and their past quarters' earnings reports, allowing users to better perform stock options strangles.
- Clone this repo
- Claim a free API key from Alpha Vantage
- Within the cloned repo, create a file
config.py
with contentAPIKEY="YOUR_API_KEY"
Open options.py
in a Python interactive interpreter. To get data about a stock's past earnings reports, call get("STOCK_TICKER")
i.e. get("MSFT")
- Format better via tabulate
- Scrape P/E ratio from Yahoo Finance API
- Perform function call for all companies reporting earnings today/on a certain day