Docs menu

get_limits

Get this agent's limits, its mode (paper or live), what remains of today's budget, and whether it is halted. Call it before place_order to avoid rejections.

Scope: ladder:read

Input

No arguments. Pass an empty object.

JSON Schema
input_schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Example

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_limits",
    "arguments": {}
  }
}
Result
{
  "agent_id": "7d1c9a40-3b2e-4c61-8f15-6e0a9b2d4c88",
  "mode": "paper",
  "limits": {
    "max_contracts_per_order": 10,
    "max_net_debit_per_order": 500,
    "max_open_spreads_per_symbol": 5,
    "max_daily_loss": 500,
    "orders_per_minute": 10,
    "no_orders_last_minutes_0dte": 2,
    "allow_close_only": false
  },
  "remaining": {
    "daily_loss": 412.5,
    "orders_this_minute": 9
  },
  "halted": false
}