cURL
curl --request PUT \ --url https://api.example.com/api/v1/risk/config \ --header 'Content-Type: application/json' \ --data ' { "maxPosition": 2, "maxTotalExposure": 1000000, "maxOrderSize": 100000, "maxOrdersPerSecond": 5, "maxDailyLoss": 20000, "maxDrawdown": 0.15, "killSwitch": false } '
{ "code": 0, "msg": "ok", "data": { "maxPosition": 2, "maxTotalExposure": 1000000, "maxOrderSize": 100000, "maxOrdersPerSecond": 5, "maxDailyLoss": 20000, "maxDrawdown": 0.15, "killSwitch": false } }
更新风控阈值与熔断开关配置。
Documentation IndexFetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txt
Use this file to discover all available pages before exploring further.
风控配置载荷。
单标的最大仓位。
2
总敞口上限。
1000000
单笔最大下单量。
100000
每秒最大下单数。
5
每日最大亏损。
20000
最大回撤阈值。
0.15
全局熔断开关。
false
成功返回更新后的风控配置
统一响应包裹结构。
业务状态码。
0
可读返回消息。
"ok"
Show child attributes