advisor-dashboards
Design, build, and optimize dashboards for RIA practice management with AUM tracking, revenue…
Determine how much capital to allocate to individual positions within a portfolio. Use when the user asks about position sizing, the Kelly criterion, fractional Kelly, risk budgeting, or conviction weighting. Also trigger when users mention 'how much to put in one stock',
$ npx -y skills add JoelLewis/finance_skills --skill bet-sizing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/bet-sizingContext preview
The summary Claude sees to decide when to auto-load this skill.
Determine how much capital to allocate to individual positions within a portfolio. Use when the user asks about position sizing, the Kelly criterion, fractional Kelly, risk budgeting, or conviction weighting. Also trigger when users mention 'how much to put in one stock',
name: bet-sizing description: "Determine how much capital to allocate to individual positions within a portfolio. Use when the user asks about position sizing, the Kelly criterion, fractional Kelly, risk budgeting, or conviction weighting. Also trigger when users mention 'how much to put in one stock', 'maximum position size', 'how concentrated should my portfolio be', 'number of holdings', 'VaR budget per position', 'how big a bet', or ask about scaling position sizes with volatility."
For a binary bet with payoff odds b, win probability p, and loss probability q = 1-p:
f* = (b*p - q) / b
where f* is the optimal fraction of wealth to wager. The Kelly criterion maximizes the expected logarithm of wealth (geometric growth rate) over repeated bets.
Properties:
Note: the reference script's `discrete_kelly` clamps negative Kelly fractions to 0 (no bet) rather than returning a negative value — it does not recommend taking the other side.
For a normally distributed investment return with expected excess return mu-r_f and variance sigma^2:
f* = (mu - r_f) / sigma^2
This gives the fraction of total wealth to allocate. For example, an asset with 8% expected excess return and 20% volatility: f* = 0.08 / 0.04 = 2.0 (200% of wealth — implying leverage).
Full Kelly sizing is theoretically optimal but practically too aggressive because:
Practical approach: use a fraction of Kelly, commonly:
The key insight: the growth rate curve is flat near the peak. Reducing from full Kelly to half Kelly only sacrifices 25% of growth but reduces risk dramatically.
Allocate risk (not capital) across positions. The total risk budget is the maximum acceptable portfolio risk (e.g., 10% VaR or 5% tracking error).
**VaR-based budgeting:**
**Tracking error budgeting (for active managers):**
Hard limits on individual positions to prevent concentration risk:
**Liquidity-based limits:**
**Risk-based limits:**
**Regulatory/mandate limits:**
Size positions proportional to the strength of the investment thesis:
Framework: Score each position on edge strength (1-5) and certainty (1-5). Size proportional to the product: edge * certainty.
Trade-off between diversification and conviction:
Adjust position sizes inversely with volatility to maintain consistent risk per position:
Adjusted size = Target risk / Current volatility
When volatility doubles, position size halves, keeping the dollar risk constant. This is a core principle in managed futures and risk-targeting strategies.
Increase position sizes after gains (wealth grows, so Kelly fraction applied to larger base) and decrease after losses. This contrasts with martingale strategies (doubling down after losses) which can lead to ruin.
Kelly naturally implements anti-martingale sizing: bet a constant fraction of current wealth, so absolute bet size grows with wealth and shrinks with losses.
| Formula | Expression | Use Case | |---------|-----------|----------| | Kelly (Discrete) | f* = (b*p - q) / b | Binary bet sizing | | Kelly (Continuous) | f* = (mu - r_f) / sigma^2 | Investment position sizing | | Half Kelly | f = f* / 2 | Practical conservative sizing | | Growth Rate at Kelly | g* = (mu - r_f)^2 / (2*sigma^2) | Maximum geometric growth | | Growth Rate at f | g(f) = f*(mu - r_f) - f^2*sigma^2/2 | Growth rate for any fraction | | Volatility-Scaled Size | w = target_risk
A collection of Claude Code skill plugins for financial services. 91 skills across 7 domain plugins teach Claude investment management, regulatory compliance, advisory workflows, trading operations, and more — so it can assist with finance questions, build
Design, build, and optimize dashboards for RIA practice management with AUM tracking, revenue…
Design and implement end-to-end client onboarding workflows from prospect intake through…
Design, generate, and deliver client performance reports across all channels, covering…
Prepare advisors for client review meetings by assembling context packages, performance…
Design and optimize CRM systems and client lifecycle workflows for advisory firms, covering…
Build and manage advisory fee billing operations from fee schedule design through…