get_spot_funds_limit_mode
Retrieve the global Spot Funds limit mode (enforce or track_only) and list accounts blocked by a P&L bound for lacking a currency. Read-only check of funds enforcement state.
Instructions
Return the global Spot Funds limit mode and the accounts a Spot Funds P&L bound blocks for want of a currency. mode is enforce, which refuses an order that lacks funds or holdings, or track_only, which does not refuse on funds but records every hold, so balances and positions may go negative; until first set the mode is enforce. stored is whether the spot_funds_limit_mode policy row is stored; false means no row and the default enforce. P&L bounds, rate and order-size barriers apply in both modes. accountsWithoutCurrency lists the visible accounts with no effective realized P&L currency that a Spot Funds P&L bound applies to: their P&L halts, so the bound blocks them. Read-only - no secrets, no order-flow control.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| stored | Yes | ||
| accountsWithoutCurrency | Yes |