Skip to content
Dealer Limit

Update Dealer Limit

更新指定交易员的交易限额配置。写操作。

POSThttps://b-api.longbridge.xyz/risk_limit/v2/trader/update

Authorization

Authorizationstringheaderlb_hk_risk_limit_config.risk_limit_config_trader_updateRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

traderstringrequired

Trader

codestringrequired

Limit Type. 限额类型标识。

currencystringrequired

Currency

namestring

Name

condition_warnobject

预警条件. 阈值条件对象,包含 operator(运算符,取值来自数据字典 risk_quota_operator)与 quota(阈值)两个字段。

condition_auditobject

审核条件. 阈值条件对象,包含 operator(运算符,取值来自数据字典 risk_quota_operator)与 quota(阈值)两个字段。

condition_rejectobject

拒绝条件. 阈值条件对象,包含 operator(运算符,取值来自数据字典 risk_quota_operator)与 quota(阈值)两个字段。

enableboolean

Enable

Responses

HTTP 200未实调,响应字段以真实接口为准。
Standard response envelopecodemessagedata
dataobjectdata structure
ticket_idstring

Ticket id

Whale Docs