cURL
curl --request PUT \ --url https://api.example.com/api/v1/admin/strategies/{strategyId} \ --header 'Content-Type: application/json' \ --data ' { "params": { "min_profit_rate": 0.003, "base_quantity": 0.02 }, "riskProfileId": "conservative_profile" } '
{ "code": 0, "msg": "ok", "data": { "strategyId": "cross_arb_btc_01", "status": "created" } }
更新策略参数或绑定的风控配置。
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.
策略 ID。
"cross_arb_btc_01"
策略更新请求。
更新后的策略参数。
{ "min_profit_rate": 0.003 }
更新后的风控模板 ID。
"conservative_profile"
成功返回更新结果
统一响应包裹结构。
业务状态码。
0
可读返回消息。
"ok"
策略状态变更结果。
Show child attributes