بنقرة واحدة
report-stock
Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Analyze PMCC (Poor Man's Covered Call / diagonal spread) positions from IB portfolio. For each diagonal spread, reports short leg risk (delta, IV, assignment probability), daily P&L projections, top-3 roll candidates, and a side-by-side comparison table. Requires TWS or IB Gateway running locally.
Scan stocks for bullish trends using technical indicators (SMA, RSI, MACD, ADX). Use when user asks to scan for bullish stocks, find trending stocks, or rank symbols by momentum.
Find roll options for existing short positions OR find best covered call/put to open against long stock. Use when user asks about rolling shorts, finding roll candidates, writing covered calls, or managing option positions. Requires TWS or IB Gateway running locally.
Detect institutional whale activity in options for a given underlying. Use when the user asks about unusual options activity, large block trades, whale trades, or institutional options flow for a specific symbol.
Get account summary from Interactive Brokers including cash balance, buying power, and account value. Use when user asks about their account, balance, buying power, or available cash. Requires TWS or IB Gateway running locally.
Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.
| name | report-stock |
| description | Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis |
| user_invocable | true |
| arguments | [{"name":"symbols","description":"Stock ticker symbol(s) - single or space-separated list (e.g., AAPL or \"AAPL MSFT GOOGL\")","required":true}] |
| dependencies | ["trading-skills"] |
Generates professional reports with comprehensive stock analysis including trend analysis, PMCC viability, and fundamental metrics. Supports both PDF and markdown output formats.
Run the report script for each symbol:
uv run python scripts/report.py SYMBOL
The script returns detailed JSON with:
recommendation - Overall recommendation with strengths/riskscompany - Company info (name, sector, industry, market cap)trend_analysis - Bullish scanner results (score, RSI, MACD, ADX, SMAs)pmcc_analysis - PMCC viability (score, LEAPS/short details, metrics)fundamentals - Valuation, profitability, dividend, balance sheet, earnings historypiotroski - F-Score breakdown with all 9 criteriaspread_strategies - Option spread analysis (vertical spreads, straddle, strangle, iron condor)Step 2a — Write markdown
Read templates/markdown-template.md for formatting instructions. Generate a markdown report from the JSON data and save to sandbox/ as:
sandbox/{SYMBOL}_Analysis_Report_{YYYY-MM-DD}_{HHmm}.md
Step 2b — Convert to PDF (if requested)
Invoke the markdown-to-pdf skill on the markdown file just created:
uv run python .claude/skills/markdown-to-pdf/scripts/markdown_to_pdf.py sandbox/{SYMBOL}_Analysis_Report_{YYYY-MM-DD}_{HHmm}.md
The PDF is written alongside the markdown file with the same basename.
After generating the report, tell the user:
# Single symbol
uv run python scripts/report.py AAPL
# Multiple symbols - run separately
uv run python scripts/report.py AAPL
uv run python scripts/report.py MSFT
All sections defined in templates/markdown-template.md:
This skill aggregates data from:
scanner-bullish for trend analysisscanner-pmcc for PMCC viabilityfundamentals for financial data and Piotroski scoreAll timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.