What problem does it solve?
This Skill provides precise calculation of optimal position sizes for long stock trades, based on risk management principles, enabling traders to manage risk effectively and make informed trading decisions.
Core Features & Use Cases
- Position Sizing: Calculates the optimal number of shares to buy based on risk management principles like Fixed Fractional, ATR-based, and Kelly Criterion.
- Risk Management: Incorporates risk constraints such as max position % of account and max sector % to ensure adherence to portfolio limits.
- Use Case: A trader looking to execute a long stock trade needs to determine the appropriate number of shares to buy. They can use this Skill to calculate the optimal position size based on their risk tolerance and portfolio constraints.
Quick Start
Run the position sizing script with the required parameters: python3 skills/position-sizer/scripts/position_sizer.py --account-size 100000 --entry 155 --stop 148.50 --risk-pct 1.0 --output-dir reports/