set_risk_policy
Define a trading account's risk policy: set caps on per-order notional and aggregate exposure, restrict allowed symbols, and preserve current values unless cleared.
Instructions
Hesap için isteğe bağlı risk politikası tanımlar: max_notional_per_order, max_aggregate_exposure, allowed_symbols. Varsayılan tamamen boş/limitsiz. Cap'ler KATI üst sınırdır — tolerans uygulanmaz, yuvarlama sonrası nihai değer <= cap olmalıdır. Patch'te gönderilmeyen değerler korunur; temizleme yalnızca açık clear_max_notional, clear_max_exposure veya clear_allowed_symbols boolean'larıyla yapılır.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>"
},
"name": "set_risk_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| request_id | No | ||
| allowed_symbols | No | ||
| idempotency_key | No | ||
| clear_max_exposure | No | max_aggregate_exposure değerini temizle | |
| clear_max_notional | No | max_notional_per_order değerini temizle | |
| clear_allowed_symbols | No | allowed_symbols listesini temizle | |
| max_aggregate_exposure | No | ||
| max_notional_per_order | No |