Factor Analysis — Development skill for Claude Code
Decompose portfolio returns by factor exposures and identify unintended bets.
How to install Factor Analysis
Installs to ~/.claude/skills/brainbytes-dev-everything-claude-trading-factor-analysis/SKILL.md
mkdir -p ~/.claude/skills/brainbytes-dev-everything-claude-trading-factor-analysis && curl -fsSL https://raw.githubusercontent.com/brainbytes-dev/everything-claude-trading/HEAD/commands/factor-analysis.md -o ~/.claude/skills/brainbytes-dev-everything-claude-trading-factor-analysis/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Factor Analysis does
description: Decompose portfolio returns by factor exposures and identify unintended bets
/factor-analysis
What This Command Does
Performs factor exposure analysis on a portfolio, decomposing returns and risk into systematic factor contributions (market, size, value, momentum, quality, volatility, and custom factors). The quant-researcher and portfolio-manager agents collaborate to identify intended and unintended factor bets.
When to Use
- You want to understand what factor
Alternatives in Development
- Portfolio Review — 组合管理:从"研究公司"到"管理组合" 15.9k ★
- Beachhead Segment — Identify the first beachhead market segment for product launch 7.8k ★
- Returns — 组合收益归因 — 拆解总收益为各持仓贡献 + 行业/流派归因 + Top 贡献/拖累 + vs 基准 6.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Correlation Check
Analyze portfolio correlations, detect regime breaks, and identify hidden exposures
Portfolio Optimize
Optimize portfolio allocation using mean-variance, risk parity, or factor-based methods
Weighted Decision Simulation
A Claude Code skill for modeling weighted, multi-factor decisions under uncertainty (e.g. buy-vs-rent, stocks,
Orbit Prompt
Analyze and improve your prompt before sending — returns ORIGINAL PROMPT, ANALYSIS, IMPROVED PROMPT, KEY IMPRO
Portfolio Risk
Portfolio concentration and risk analysis for a set of holdings — sector breakdown, beta, volatility, and risk
Trading Analysis
Multi-agent trading analysis for a stock ticker. Runs technical, news, fundamentals, and macro analysts in par
Related Agents
Fg Quant Analyst
Finance Guru Quantitative Analysis Specialist (Dr. Priya Desai). Statistical modeling, risk metrics, portfolio
Skill
Professional finance research toolkit — backtesting (10 engines + benchmark comparison panel), factor analysis
Quant Researcher
Quantitative researcher for alpha signal discovery, factor model construction, and systematic strategy researc