backtest-expert
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating…
Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing recommendations. Use when user requests portfolio review,
$ npx -y skills add BaggaT236/AI-Trading-Skills --skill portfolio-manager --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/portfolio-managerContext preview
The summary Claude sees to decide when to auto-load this skill.
Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing recommendations. Use when user requests portfolio review,
name: portfolio-manager description: Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing recommendations. Use when user requests portfolio review, position analysis, risk assessment, performance evaluation, or rebalancing suggestions for their brokerage account.
Analyze and manage investment portfolios by integrating with Alpaca MCP Server to fetch real-time holdings data, then performing comprehensive analysis covering asset allocation, diversification, risk metrics, individual position evaluation, and rebalancing recommendations. Generate detailed portfolio reports with actionable insights.
This skill leverages Alpaca's brokerage API through MCP (Model Context Protocol) to access live portfolio data, ensuring analysis is based on actual current positions rather than manually entered data.
Invoke this skill when the user requests:
This skill requires Alpaca MCP Server to be configured and connected. The MCP server provides access to:
**MCP Server Tools Used:**
If Alpaca MCP Server is not connected, inform the user and provide setup instructions from `references/alpaca_mcp_setup.md`.
Use Alpaca MCP Server tools to gather current portfolio information when available. In scheduled Hermes jobs, MCP tools may not be exposed even when Alpaca credentials are present; in that case, use the Alpaca REST API directly with `ALPACA_API_KEY`, `ALPACA_SECRET_KEY`, and `ALPACA_PAPER`.
**1.1 Get Account Information:**
Preferred: use mcp__alpaca__get_account_info to fetch: - Account equity (total portfolio value) - Cash balance - Buying power - Account status Fallback REST endpoints: - paper: https://paper-api.alpaca.markets/v2/account - live: https://api.alpaca.markets/v2/account Headers: - APCA-API-KEY-ID=$ALPACA_API_KEY - APCA-API-SECRET-KEY=$ALPACA_SECRET_KEY
**1.2 Get Current Positions:**
Preferred: use mcp__alpaca__get_positions to fetch all holdings: - Symbol ticker - Quantity held - Average entry price (cost basis) - Current market price - Current market value - Unrealized P&L ($ and %) - Position size as % of portfolio Fallback REST endpoints: - paper: https://paper-api.alpaca.markets/v2/positions - live: https://api.alpaca.markets/v2/positions
**1.3 Get Portfolio History (Optional):**
Preferred: use mcp__alpaca__get_portfolio_history for performance analysis: - Historical equity values - Time-weighted return calculation - Drawdown analysis Fallback REST endpoint: - /v2/account/portfolio/history
**Scheduled-job fallback discipline:**
**Data Validation:**
For each position in the portfolio, gather additional market data and fundamentals:
**2.1 Current Market Data:**
**2.2 Fundamental Data:** Use WebSearch or available market data APIs to fetch:
**2.3 Technical Analysis:**
Perform comprehensive portfolio analysis using frameworks from reference files:
**Read references/asset-allocation.md** for allocation frameworks
Analyze current allocation across multiple dimensio
Build disciplined, repeatable trading workflows with a modern TypeScript platform.
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating…
This skill should be used when analyzing market breadth charts, specifically the S&P 500 Breadth Index (200-Day MA based) and the…
Generate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat…
Screen US stocks using William O'Neil's CANSLIM growth stock methodology. Use when user requests CANSLIM stock screening, growth…
Validate data quality in market analysis documents and blog articles before publication. Use when checking for price scale…
Use this skill to find high-quality dividend growth stocks (12%+ annual dividend growth, 1.5%+ yield) that are experiencing…