Position size
position_sizeHow many contracts fit a risk budget: account equity, the percent of it risked per trade, and the worst case per contract give the dollar budget, the contract count and the share of equity at risk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| equity | Yes | Account equity in dollars. | |
| risk_pct | Yes | Risk budget per trade as a percent of equity. | |
| max_loss_per_contract | Yes | Maximum loss per contract in dollars. |