kelly-position-sizing_skill

This skill applies the Kelly criterion to position sizing, optimizing long-term capital growth through mathematically driven risk-aware allocation.
  • Rust

7

GitHub Stars

1

Bundled Files

3 weeks ago

Catalog Refreshed

2 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstart where the catalogue uses aiagentskills.

npx veilstart add skill louloulin/claude-agent-sdk --skill kelly-position-sizing

  • SKILL.md11.8 KB

Overview

This skill implements position sizing based on the Kelly criterion to optimize long-term capital growth. It provides formulas, practical adjustments, and portfolio-level extensions to translate theoretical Kelly fractions into actionable trade sizes. The focus is on maximizing geometric growth while controlling short-term risk through fractional Kelly, volatility, correlation, and concentration adjustments.

How this skill works

It computes base Kelly fractions from expected excess return and return variance (f* = μ/σ²) or the discrete-binary formula for bet-like outcomes. The skill applies practical caps and multipliers (half, quarter, etc.) and supports multi-asset optimization using μ'w - (1/2) w'Σw. Dynamic adjustments account for volatility, correlation with existing holdings, used capital, and confidence levels. It includes monitoring guidance to re-estimate parameters and rebalance.

When to use it

  • Sizing positions when you have quantified expected excess return and variance
  • Allocating capital across multiple opportunities with known covariances
  • Converting theoretical optimal bets into conservative trade sizes (fractional Kelly)
  • Adjusting exposure during regime changes (rising volatility or concentration)
  • Stress-testing portfolios and setting practical caps to avoid ruin

Best practices

  • Use conservative parameter estimates and prefer fractional Kelly (1/2, 1/4, 1/8) for noisy signals
  • Cap nominal position sizes (e.g., 100% of portfolio) and enforce remaining-capital checks
  • Adjust Kelly by realized vs average volatility and by correlation to existing portfolio
  • Recalculate μ and σ² regularly and run scenario/ tail stress tests for fat tails
  • Implement execution rules: build in tranches, set stop loss thresholds, and log deviations

Example use cases

  • A value investor estimating scenario-based μ and σ² to derive a conservative quarter-Kelly position
  • A quant allocating across assets using multi-asset Kelly with a covariance matrix and risk constraints
  • A trader reducing base Kelly when current market volatility exceeds historical averages
  • A portfolio manager limiting new positions to remaining capital after accounting for existing exposures
  • A venture investor using 1/8 Kelly for highly uncertain startups to preserve capital while testing ideas

FAQ

Kelly assumes repeatable bets and often underestimates tails and market impact; mitigate by stress-testing, adding tail hedges, lowering Kelly multiples, and accounting for liquidity discounts.

How do I pick a fractional Kelly multiplier?

Choose based on confidence: very high (0.75x), high (0.5x), medium (0.25x), low (0.125x). Lower multipliers reduce volatility and estimation sensitivity.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational