跳转到主要内容
GET
/
api
/
v1
/
risk
/
config
查询风控配置
curl --request GET \
  --url https://api.example.com/api/v1/risk/config
{
  "code": 0,
  "msg": "ok",
  "data": {
    "maxPosition": 2,
    "maxTotalExposure": 1000000,
    "maxOrderSize": 100000,
    "maxOrdersPerSecond": 5,
    "maxDailyLoss": 20000,
    "maxDrawdown": 0.15,
    "killSwitch": false
  }
}

Documentation Index

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.

响应

200 - application/json

成功返回风控配置

统一响应包裹结构。

code
integer
必填

业务状态码。

示例:

0

msg
string
必填

可读返回消息。

示例:

"ok"

data
object

风控配置载荷。