Analyze stock liquidity via bid-ask spreads, volume profiles, order book depth, market impact estimates, and turnover ratios using Yahoo Finance data.
npx clawhub@latest install stock-liquidityStock Liquidity analyzes how easy and how costly it is to trade a given stock. It surfaces bid-ask spreads, average daily volume, dollar volume, market impact estimates, turnover ratios, and order book depth proxies — all sourced from Yahoo Finance via yfinance. Install it whenever you need to understand the real cost of execution, not just the quoted price.
npx clawhub@latest install stock-liquidityClick the Install button at the top of this page for one-click setup
Combines spread, volume, Amihud illiquidity ratio, and square-root market impact into a single graded snapshot. Grades range from Very High to Very Low based on dollar volume, spread percentage, and Amihud score thresholds calibrated for US equities.
Uses the square-root model (σ × √(Q/V)) to estimate price impact in basis points and total dollars for any order size. Generates a full impact curve across order sizes from 0.1% to 50% of average daily volume.
Reports absolute spread, relative spread in percent, and spread in basis points from the current quote. Also pulls near-the-money options bid/ask spreads to give a derivatives liquidity context.
Computes average daily volume, median volume, dollar volume, relative volume (RVOL), a linear volume trend over the lookback period, and a day-of-week volume profile. Flags elevated (RVOL > 1.5) and unusually quiet (RVOL < 0.5) sessions.
Calculates daily and annualized turnover against both shares outstanding and free float. Includes a "days to trade the float" metric and a trend comparison between the most recent 20 days and the prior 20 days.
Combines top-of-book quote sizes, intraday 5-minute volume distribution, and options open interest to approximate market depth within Yahoo Finance's data limits. Clearly discloses when full Level 2 data would be needed.
Before entering a large position, run the Market Impact sub-skill with your intended order size. The skill returns estimated slippage in basis points and flags if the order exceeds 25 bps impact — a common threshold for reconsidering execution strategy.
Run the Liquidity Dashboard across a list of small or micro-cap tickers to identify names with less than $1M daily dollar volume or spreads above 2%. The skill grades each ticker and surfaces the Amihud illiquidity ratio for ranking.
Pass multiple tickers to the Dashboard in multi-ticker mode to get a side-by-side table of spread, ADTV, dollar volume, and liquidity grade — useful for choosing between instruments that track similar exposures.
Use the Turnover sub-skill to assess how speculative or momentum-driven a stock's trading activity is. Annualized float turnover above 500% signals highly speculative activity; below 30% suggests institutional buy-and-hold or neglect.
yfinance, pandas, and numpy (auto-installed by the skill if missing)npx clawhub@latest install stock-liquidityLog in to write a review
No reviews yet. Be the first to share your experience!