Position sizer
@qtrader/position-sizer
Work out how many shares to buy before you click. Fixed-fractional, ATR (volatility) based, and capped fractional-Kelly sizing, plus a portfolio heat check that totals the risk across open positions and tells you if a new trade fits. Not financial advice.
- Activity
- New: be the first to try it
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
What this kit declares, in the same words the CLI shows before you install. On Claude Code the CLI turns these into permission rules, so the agent stops anything undeclared.
Command
Runs the command: node scripts/size.mjs (with any arguments, without asking)
Command
Runs the command: node scripts/selftest.mjs (with any arguments, without asking)
Reads
Reads files in ./data/**
Writes
Writes files in ./out/**
- Works with
- claude-code
- License
- MIT
