calculate_position_size
Calculate optimal position size and risk/reward ratio for stock trades based on entry, stop loss, and target prices to manage portfolio risk effectively.
Instructions
Calculate position size and risk/reward for a trade idea.
Args: ticker: Stock symbol entry_price: Planned entry price stop_price: Stop loss price target_price: Profit target price account_size: Account equity in dollars (default $100,000) risk_pct: Max risk as % of account (default 1.5%)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| entry_price | Yes | ||
| stop_price | Yes | ||
| target_price | Yes | ||
| account_size | No | ||
| risk_pct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |