Lightlines
By tradermonty

position-sizer

tradermonty3.1k installs

Size your stock trades to fit your risk budget.

What it does

Calculates recommended share counts for long stock trades, with a risk breakdown and portfolio concentration limits.

When to use it

Use for share-count calculations, risk-based trade sizing, Kelly or ATR sizing, and portfolio concentration checks.

How to use it

Give it account equity and the parameters for the chosen sizing method; it produces a recommendation with JSON and Markdown reports.

What you provide

  • account equity

Latest review

What you need · 1

Requires Python 3.9+ and uses only the standard library.


Access · 1

This skill

current stock prices

Read

Looks up current stock prices