PromptsEdge
FreeGitHubData

Stock Liquidity Analysis

Your AI analyzes a stock’s liquidity: bid-ask spreads, volume, order book depth, market impact, turnover, and slippage, all from Yahoo Finance data. Get a liquidity grade and cost estimates for trading.

Try asking: “Estimate the slippage for a $500k order in PLTR”

himself65 on GitHub

Curated by PromptsEdge from a public repo · MIT license. All credit goes to the author.

What is this skill?

Trading costs and liquidity risks can make or break a trade, especially in less liquid stocks or when moving large positions. With this skill, your AI delivers a comprehensive liquidity analysis for any stock using Yahoo Finance data. It covers bid-ask spreads, volume and dollar volume, order book depth, market impact estimates, turnover ratios, and Amihud illiquidity, all summarized in a clear liquidity grade. This is essential for traders, portfolio managers, and anyone concerned about execution costs or trading feasibility.

What you can do

  • Get a liquidity dashboard: "How liquid is GME?" returns a snapshot with all key metrics.
  • Analyze bid-ask spreads: "Bid-ask spread for TSLA" shows spread size and context.
  • Review volume and turnover: "Volume analysis for MSFT" includes ADV, dollar volume, and trends.
  • Estimate order book depth: "Order book depth for PLTR" provides a proxy for top-of-book liquidity.
  • Model market impact and slippage: "What would a $1M order do to the price?" uses the square-root model for cost estimates.
  • Compare liquidity across stocks: "Compare liquidity for AAPL and NVDA."

How it works

When you ask about liquidity, your AI fetches recent price, volume, and order book data from Yahoo Finance using yfinance and related tools. It calculates bid-ask spreads, ADV, dollar volume, turnover ratios, and applies models to estimate market impact and slippage for large orders. The analysis is rolled up into a liquidity grade, with detailed breakdowns and comparisons if you request multiple stocks.

Good to know

  • Requires Python 3.8+; yfinance, pandas, and numpy are auto-installed if missing.
  • Works on all platforms with code execution (Claude Code, Claude.ai, etc.).
  • Reference files include formulas and interpretation guides for all metrics.