Skip to main content
GET
/
api
/
v1
/
risk
/
config
Get 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.

Response

200 - application/json

Risk config response

Standard response envelope.

code
integer
required

Business status code.

Example:

0

msg
string
required

Human-readable response message.

Example:

"ok"

data
object

Risk configuration payload.