Position Sizer
Calculates risk-based long stock position sizes using fixed fractional, ATR, or Kelly methods with constraint checks.
- CCM score
- 67 of 100
- skills.sh installs
- 4.8K
- GitHub stars
- 8.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers three sizing methods: Fixed Fractional at 1% default risk, ATR-Based with a 2.0x default multiplier, and Kelly Criterion from win/loss statistics
- Includes
position_sizer.pyas a CLI with JSON and Markdown reports saved toreports/, plus a methodology reference file - Enforces max position %, max sector %, and portfolio heat limits, with the tightest constraint setting the final share count
- Designed for traders who need whole-share sizing by default and optional fractional shares when the broker supports them
Install
$ npx -y skills add tradermonty/claude-trading-skills --skill position-sizer -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Position Sizer
Overview
Calculate the optimal number of shares to buy for a long stock trade based on risk management principles. Supports three sizing methods:
- Fixed Fractional: Risk a fixed percentage of account equity per trade (default: 1%)
- ATR-Based: Use Average True Range to set volatility-adjusted stop distances
- Kelly Criterion: Calculate mathematically optimal risk allocation from historical win/loss statistics
All methods apply portfolio constraints (max position %, max sector %) and output a final recommended share count with full risk breakdown. The default output is whole shares. Use --fractional only when the user's broker supports fractional shares for the security and order type.
When to Use
- User asks "how many shares should I buy?"
- User wants to calculate position size for a specific trade setup
- User mentions risk per trade, stop-loss sizing, or portfolio allocation
- User asks about Kelly Criterion or ATR-based position sizing
- User has a small account where whole-share rounding would under-deploy a defined risk budget
- User wants to check if a position fits within portfolio concentration limits
Prerequisites
Details
- Repository
- github.com/tradermonty/claude-trading-skills
- Category
- Finance & Trading
- First seen
- Jun 3, 2026
More from tradermonty/claude-trading-skills
All 54- Market Environment Analysis4.7K
- Portfolio Manager4.5K
- Macro Regime Detector4.5K
- Value Dividend Screener4.4K
- Options Strategy Advisor4.4K
- Canslim Screener4.2K
- Economic Calendar Fetcher4.2K
- Market Breadth Analyzer4.2K
- Institutional Flow Tracker4.2K
- Earnings Calendar4.2K
- Sector Analyst4.2K
- Vcp Screener4.2K
- Stanley Druckenmiller Investment4.2K
- Edge Strategy Reviewer4.1K
- Edge Strategy Designer4.1K
- Finviz Screener4.1K
- Trader Memory Core4.1K
- Scenario Analyzer4.1K
- Uptrend Analyzer4.1K
- Pair Trade Screener4.1K
- Earnings Trade Analyzer4.1K
- Market Top Detector4.1K
- Breadth Chart Analyst4K
- Us Market Bubble Detector4K
Similar to Position Sizer
More Finance & Tradingbet-sizingjoellewis/finance_skills818 installsKelly-based and risk-budgeting methods for sizing individual positions, with fractional Kelly and volatility scaling for practical limits.
risk-management-tradingomer-metin/skills-for-antigravity429 installsCore risk-management skill for trading that covers position sizing, drawdown control, and portfolio correlation limits.
breakout-trade-plannertradermonty/claude-trading-skills3.8K installsTurns VCP screener output into Minervini-style breakout trade plans with worst-case position sizing and portfolio heat limits.
risk-assessmentstaskh/trading_skills118 installsQuantitative risk metrics for a stock or position, covering volatility, beta, VaR, and drawdown.
trading-plan-generatorjamesrochabrun/skills1.2K installsComprehensive rule-based trading plan generator covering risk limits, position sizing, entries, exits, and journaling.
exposure-coachtradermonty/claude-trading-skills3.9K installsUnified market-posture engine that fuses eight upstream skill outputs into one exposure ceiling and entry recommendation.