Skip to main content
PUT
/
api
/
v1
/
admin
/
strategies
/
{strategyId}
Update strategy
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 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.

Path Parameters

strategyId
string
required

Strategy ID.

Example:

"cross_arb_btc_01"

Body

application/json

Strategy update request.

params
object

Updated strategy parameters.

Example:
{ "min_profit_rate": 0.003 }
riskProfileId
string

Updated risk profile ID.

Example:

"conservative_profile"

Response

200 - application/json

Strategy update response

Standard response envelope.

code
integer
required

Business status code.

Example:

0

msg
string
required

Human-readable response message.

Example:

"ok"

data
object

Strategy state change result.