$npx skillfedfor your agent

position-sizing

Position Sizing provides five methods to determine trade size based on account risk, volatility, edge probability, and market liquidity. Fixed fractional sizing—risking a set percentage per trade—is recommended for most traders, while Kelly criterion applies mathematical optimization for quantified edges. The skill combines all methods to apply the most conservative constraint, ensuring your position size aligns with your risk tolerance and market conditions.

Position Sizing calculates optimal trade sizes using fixed fractional, volatility-adjusted, Kelly criterion, and liquidity-constrained methods.

AI-generated summary based on this skill's SKILL.md

248 52 MITupdated by agiprolabs

Decision gist · record as of 2026-06-24

Position Sizing calculates optimal trade sizes using fixed fractional, volatility-adjusted, Kelly criterion, and liquidity-constrained methods. Position Sizing provides five methods to determine trade size based on account risk, volatility, edge probability, and market liquidity. Fixed fractional sizing—risking a set percentage per trade—is recommended for most traders, while Kelly criterion applies mathematical optimization for quantified edges. The skill combines all methods to apply the most conservative constraint, ensuring your position size aligns with your risk tolerance and market conditions.

manual: git clone https://github.com/agiprolabs/claude-trading-skills → cp -r claude-trading-skills/skills/position-sizing ~/.claude/skills/position-sizing
skills/position-sizing/SKILL.md · version e54e3057

Use it when

  • Position-sizing's Kelly criterion method applies mathematical optimization when you have a quantified edge.
  • Position-sizing normalizes risk across different assets using volatility adjustment.

Verify before relying

Read SKILL.md below before installing (5 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

agiprolabs/claude-trading-skills/position-sizing · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How to calculate position size for trading with position-sizing?

Position-sizing calculates optimal trade size using five methods: fixed fractional (risk a set percentage per trade), Kelly criterion (mathematical optimization for quantified edges), volatility adjustment, liquidity constraints, and portfolio limits. Fixed fractional sizing is recommended for most traders. Position-sizing applies the most conservative constraint across all methods, ensuring your position size aligns with your risk tolerance and market conditions.

What is the Kelly criterion position sizing method?

Position-sizing's Kelly criterion method applies mathematical optimization when you have a quantified edge. It calculates optimal position size based on your win probability and risk-reward ratio, helping maximize long-term growth while managing drawdown risk. Kelly criterion is more sophisticated than fixed fractional sizing but requires accurate edge data. Position-sizing combines Kelly with other methods to apply the most conservative constraint.

How does volatility adjusted position sizing work?

Position-sizing normalizes risk across different assets using volatility adjustment. This method scales position size inversely to volatility—reducing size for high-volatility assets and increasing it for stable ones—ensuring consistent risk exposure regardless of market conditions. Combined with account risk percentage and stop loss levels, volatility-adjusted sizing helps maintain portfolio-level risk management across diverse trading strategies.

How much capital should I risk per position?

Position-sizing recommends fixed fractional sizing: risk a consistent percentage of your account per trade (commonly 1-2%). Your position size is calculated by dividing your account risk amount by your stop loss distance. Position-sizing also applies liquidity constraints and portfolio diversification limits to ensure your position size doesn't exceed market depth or violate your portfolio-level position limits.

What constraints does position-sizing apply to low liquidity tokens?

Position-sizing determines maximum position size constrained by pool liquidity, preventing slippage and market impact. For low-liquidity tokens and meme assets, position-sizing sizes positions conservatively by checking available liquidity depth. Portfolio-level position limits and diversification rules further restrict concentration risk. Position-sizing applies the most conservative constraint across all methods, protecting you from illiquid market conditions.

How does position-sizing handle portfolio diversification?

Position-sizing sets portfolio-level position limits and diversification rules to prevent over-concentration. It constrains individual position sizes based on your total portfolio value and diversification targets. Combined with fixed fractional sizing, Kelly criterion, volatility adjustment, and liquidity constraints, position-sizing ensures balanced risk across your portfolio while respecting your account risk tolerance and market conditions.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Position Sizing

Position sizing is the single most important risk management decision in trading. Your entry signal determines direction; your position size determines survival. A mediocre strategy with proper sizing will outperform a great strategy with reckless sizing over any meaningful time horizon.

Core principle: Size determines survival, not entries. Two traders with the same signals but different sizing will have wildly different outcomes. The one who sizes conservatively survives drawdowns and compounds capital; the one who oversizes blows up.

Methods Covered

Method Best For Key Input
Fixed Fractional General trading, most recommended Account risk %
Volatility-Adjusted Volatile markets, multi-asset ATR or realized vol
Kelly Criterion Quantified edge with track record Win rate + payoff ratio
Liquidity-Constrained Low-liquidity Solana tokens Pool depth
Anti-Martingale Trend-following strategies Recent P&L streak

(truncated - see the full file via the links below)

File tree — 5 files
skills/position-sizing/SKILL.md
skills/position-sizing/references/practical_guide.md
skills/position-sizing/references/sizing_formulas.md
skills/position-sizing/scripts/portfolio_sizer.py
skills/position-sizing/scripts/size_calculator.py

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Calculate optimal position size based on account risk and stop loss”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

kelly-criterion
by agiprolabs · agiprolabs/claude-trading-skills

Kelly Criterion computes the mathematically optimal fraction of your bankroll to risk on each trade, balancing growth against ruin risk. The skill implements the Kelly formula with practical guidance on fractional sizing (0.25x–0.5x recommended), edge estimation from trade history, and portfolio-level adjustments for correlated positions.

MITupdated Jun 2026
★ 248repo stars
risk-management
by agiprolabs · agiprolabs/claude-trading-skills

Risk Management establishes a survival-first framework for protecting trading capital through drawdown thresholds, daily and weekly loss limits, and concentration controls across tokens and strategies. It includes automated circuit breakers triggered by consecutive losses or volatility spikes, recovery math tables, and crypto-specific safeguards for smart contract, rug pull, and MEV risks.

MITupdated Jun 2026
★ 248repo stars
Market Mechanics Betting
by lyndonkl · lyndonkl/claude

Market Mechanics Betting translates your forecasts into actionable betting strategies through quantitative frameworks. It guides you through edge calculation against market odds, optimal bet sizing via Kelly Criterion, aggregated forecast adjustment, and scoring refinement—helping you move from belief to disciplined decision-making.

no license declared → metadata onlyupdated Jul 2026
★ 135repo stars
bet-sizing
by JoelLewis · JoelLewis/finance_skills

Bet Sizing guides you through position sizing frameworks including the Kelly criterion for maximizing long-term wealth growth, fractional Kelly approaches for practical risk management, and risk budgeting methods. Learn to scale positions by volatility, set concentration limits, and weight bets by conviction strength.

MITupdated Jul 2026
★ 159repo stars
strategy-framework
by agiprolabs · agiprolabs/claude-trading-skills

Strategy Framework provides a standardized template for documenting trading strategies with precise, machine-testable rules. It enforces discipline through structured sections covering edge hypotheses, entry/exit conditions, position sizing, risk guardrails, and performance thresholds, enabling reproducible backtesting and live trading validation.

MITupdated Jun 2026
★ 248repo stars
volatility-modeling
by agiprolabs · agiprolabs/claude-trading-skills

Volatility Modeling equips traders with methods to measure price fluctuations and predict future market swings using GARCH, EWMA, and realized volatility techniques. The skill covers regime classification, position sizing, and stop placement strategies tailored to crypto's 50–150% annualized volatility levels.

MITupdated Jun 2026
★ 248repo stars

More skills regime-detection (MIT)

Tags
risk-allocationtrade-executioncapital-preservationportfolio-constraintsedge-quantificationmarket-microstructuredrawdown-protectionsizing-optimization