This program is a stock analysis tool that examines the relationship between news coverage and abnormal implied volatility (AbnormalIV) for a set of stocks. It's inspired by research on retail investor behavior around earnings announcements and aims to identify stocks that might be subject to increased retail investor attention and potential mispricing.
Check Out the S&P500 Earnings Calendar to See Stocks Reporting Earnings Soon: https://www.sectorspdrs.com/earningscalendar
The main purpose of this tool is to:
- Quantify news coverage for selected stocks
- Calculate abnormal implied volatility (AbnormalIV)
- Analyze the relationship between news coverage and AbnormalIV
- Identify stocks that may be prone to retail investor overreaction
This program applies the concept of Expected Announcement Volatility (EAV) from academic research on retail investor behavior.
Link to the paper: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4050165
Key points:
- EAV is approximated using AbnormalIV, calculated from option prices
- Higher AbnormalIV suggests the market expects more volatility around upcoming events (e.g., earnings announcements)
- Stocks with high EAV tend to attract more retail investor attention, especially when combined with increased news coverage
- News Coverage Analysis: Fetches and quantifies recent news articles for each stock using the NewsAPI.
- AbnormalIV Calculation: Computes abnormal implied volatility using option chain data from yfinance.
- Market Cap Weighting: Adjusts news coverage by market capitalization to account for size differences.
- Correlation Analysis: Examines relationships between news coverage, AbnormalIV, and other stock metrics.
- Visualization: Generates heatmaps and scatter plots to visualize relationships between variables.
- Fetches news data and calculates news coverage for each stock
- Retrieves option data and calculates AbnormalIV
- Collects additional stock data (price, market cap)
- Analyzes correlations between variables
- Identifies stocks with both high news coverage and high AbnormalIV
- Visualizes results for easy interpretation
- Identifying stocks that may be subject to retail investor overreaction
- Exploring potential mispricing in options markets
- Studying the relationship between media attention and market expectations
- Developing trading strategies based on news coverage and implied volatility patterns
- Limited to stocks within the S&P 500
- Relies on the accuracy and timeliness of news and financial data sources
*Ultimately, if there is high vol and high media coverage --> sell vol
Build an options strategy that sells higher than normal vol (Iron Condor)