← Back to skills
Markets & Trading · Made here

Risk Sizer

risk-calculator · account · stop → position size

Calculates position size from account risk and stop distance, and simulates drawdown and losing streaks for a strategy's stats.

Download SKILL.mdAdd to a recipe
Watch the demo0:55
Borrow a skill and use it0:55
In Claude (connector)install_skill("risk-calculator")
CLIlendskill install risk-calculator

SKILL.md

---
name: risk-calculator
description: Calculate position size and risk — shares/contracts from account size, risk % and stop distance; R-multiples; and Monte Carlo of drawdowns and losing streaks from a strategy's win rate and payoff. Educational, not financial advice. Use for position sizing, risk per trade, drawdown or risk-of-ruin questions.
license: Proprietary — Lendskill original
---

# Risk Sizer

Educational math, not advice.

## Position size
`size = (account × risk%) ÷ |entry − stop|` (per share/contract; include the contract multiplier for futures/options). Round down. Show $ at risk and as a % of the account. Flag when size exceeds a max position % or leverage limit the user sets.

## Streaks and drawdowns
From win rate p and average win/loss (R): expectancy = p·W − (1−p)·L. Simulate 10,000 sequences of N trades (Monte Carlo) and report the median and 95th-percentile max drawdown, the probability of a k-loss streak, and the chance of hitting a drawdown limit. Show how results change at 0.5%, 1% and 2% risk per trade.

## Deliver
The numbers with the formulas, a small script/spreadsheet the user can reuse, and the assumptions (independent trades, stable edge) stated plainly.

## Output format
- Position size with the formula and dollar/percent at risk
- Monte Carlo table: risk per trade · median max drawdown · 95th percentile · longest losing streak
- The reusable script or spreadsheet and stated assumptions

Supporting files (0)

  • None — SKILL.md only