My risk limits and usage
get_my_risk_limits_usageThe person's global risk limits (per-trade risk, daily / weekly / monthly loss, drawdown, leverage, open positions) and how much of each is used, across all exchanges, plus limit increases waiting to take effect. Use when a trade was rejected by a user-level limit or before planning several trades. Not for this agent's own permissions (use get_my_trading_permissions). No inputs. Fractions of equity and USD; real money and the sandbox are counted separately. Next: size_position_by_risk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book | Yes | real or sandbox: the two are counted separately | |
| as_of | Yes | ISO 8601 UTC | |
| equity | Yes | Equity in this book, USD | |
| limits | Yes | max_risk_per_trade, loss limits and max_drawdown as fractions; max_leverage; max_open_positions; symbols | |
| drawdown | Yes | Drop from peak equity, as a fraction | |
| deprecation | No | Present only while this tool is deprecated: replacement, removal_date, changelog | |
| realized_pnl | Yes | Realised profit or loss for day / week / month (UTC), USD | |
| open_positions | Yes | Number of open positions | |
| trading_halted | Yes | True after a stop | |
| pending_loosening | Yes | Limit increases a person asked for that are not in force yet |