
Stock Quote
A straightforward wrapper around Yahoo Finance for pulling current stock quotes. You pass it a ticker symbol and get back the essentials: price, volume, market cap, 52-week range, and percentage changes. The script outputs structured JSON that you can format however you want, and it flags notable moves above 2%. Everything runs in Eastern Time, which matters for market hours context. It's built on yfinance and works with uv or standard Python. Not fancy, just reliable stock data when someone asks "what's Apple trading at" or wants a quick snapshot of any publicly traded company.
- skills.sh installs
- 131
- GitHub stars
- 406
- last updated
- Jun 11, 2026
Install
$ npx -y skills add staskh/trading_skills --skill stock-quote --agent claude-codeInstalls into .claude/skills of the current project.
Files
Stock Quote
Fetch current stock data from Yahoo Finance.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
Run the quote script with the ticker symbol:
uv run python scripts/quote.py SYMBOL
Replace SYMBOL with the requested ticker (e.g., AAPL, MSFT, TSLA, SPY).
Output
The script outputs JSON with:
- symbol, name, price, change, change_percent
- as_of_session - the trading date
price/changebelong to (YYYY-MM-DD, from Yahoo's regular-session timestamp; null if Yahoo omits it) - market_open_now - whether the NYSE regular session is open right now
- market_state - Yahoo's session state:
PRE,REGULAR,POST,CLOSED(alsoPREPRE/POSTPOST) - pre_market, post_market -
{price, change, change_percent, time}for extended-hours trading, or null.changeis measured from the last regular close;timeis the ET timestamp of that print - volume, avg_volume, market_cap
- high_52w, low_52w, pe_ratio, forward_pe, dividend_yield, beta
Present the data in a readable format. Highlight significant moves (>2% change).
Sponsors
Details
- Repository
- github.com/staskh/trading_skills
- Category
- Finance & Trading
- License
- MIT
- First seen
- Jun 11, 2026
More from staskh/trading_skills
All 28- Greeks128
- Report Stock117
- Option Chain111
- Risk Assessment105
- Earnings Calendar
- Ib Account
- Ib Collar
- Ib Create Consolidated Report
- Ib Find Short Roll
- Ib Option Chain
- Ib Pmcc Advisor
- Ib Portfolio
- Ib Portfolio Action Report
- Ib Report Delta Adjusted Notional Exposure
- Ib Stop Loss
- Ib Trades History
- Ib Trailing Stop
- Insider Trading
- Markdown To Pdf
- Price History
- Scanner Bullish
- Scanner Pmcc
- Spread Analysis
- Whale Hunting