Strategy Action Controller

Stop a strategy

put
Authorizations
Path parameters
strategyAppIdstringRequired
Header parameters
se-api-versionstringOptional
Responses
202

Accepted

No content

put
PUT /strategy-orchestrator/strategies/{strategyAppId}/action/stop HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Start a strategy

put
Authorizations
Path parameters
strategyAppIdstringRequired
Header parameters
se-api-versionstringOptional
Responses
202

Accepted

No content

put
PUT /strategy-orchestrator/strategies/{strategyAppId}/action/start HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Schedule opening pause for a strategy

put
Authorizations
Path parameters
strategyAppIdstringRequired
Header parameters
se-api-versionstringOptional
Body
fromTimestring · date-timeRequired
toTimestring · date-timeRequired
Responses
202

Accepted

No content

put
PUT /strategy-orchestrator/strategies/{strategyAppId}/action/schedule-opening-pause HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 75

{
  "fromTime": "2025-10-02T04:03:18.870Z",
  "toTime": "2025-10-02T04:03:18.870Z"
}

No content

Pause a strategy

put
Authorizations
Path parameters
strategyAppIdstringRequired
Header parameters
se-api-versionstringOptional
Responses
202

Accepted

No content

put
PUT /strategy-orchestrator/strategies/{strategyAppId}/action/pause HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Flush strategy's open positions

put
Authorizations
Path parameters
strategyAppIdstringRequired
Header parameters
se-api-versionstringOptional
Body
longPositionTargetPercentagenumberRequired
shortPositionTargetPercentagenumberRequired
Responses
202

Accepted

No content

put
PUT /strategy-orchestrator/strategies/{strategyAppId}/action/flush HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 68

{
  "longPositionTargetPercentage": 1,
  "shortPositionTargetPercentage": 1
}

No content

Resume all strategies

put
Authorizations
Header parameters
se-api-versionstringOptional
Responses
202

Accepted

No content

put
PUT /strategy-orchestrator/strategies/resumeAll HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Pause all strategies

put
Authorizations
Header parameters
se-api-versionstringOptional
Responses
202

Accepted

No content

put
PUT /strategy-orchestrator/strategies/pauseAll HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Create new strategy

post
Authorizations
Body
one ofOptional
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
Responses
201

Created

*/*
post
POST /strategy-orchestrator/strategies/action/create HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 354

{
  "strategyType": "AI",
  "productCode": "btcusdt_f",
  "accountId": "1",
  "aiModelVariant": "VFM6",
  "aiModelPositionMode": "LONG",
  "executionType": "SMO_MPL",
  "useInitialModelPrice": true,
  "initialBaseCurrencySize": 0.02,
  "initialQuoteCurrencyAmount": 0.03,
  "desiredNetProfitPercentage": 0.7,
  "useSpikeProtection": true,
  "alwaysPassive": false,
  "ignoreWarnings": false,
  "autoRun": true
}
{
  "strategyId": "text"
}

Modify a strategy

patch

Parameters depends on strategy type. PATCH behavior

  • "foo" : null -> foo := null

  • missing "foo" -> foo left unchanged

Authorizations
Path parameters
strategyAppIdstringRequired
Header parameters
se-api-versionstringOptional
Body
one ofOptional
or
or
or
or
or
or
or
or
or
or
or
Responses
202

Accepted

No content

patch
PATCH /strategy-orchestrator/strategies/{strategyAppId}/action/modify HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "priceLimit": 101,
  "ignoreWarnings": false
}

No content

Delete a strategy

delete
Authorizations
Path parameters
strategyAppIdstringRequired
Header parameters
se-api-versionstringOptional
Responses
202

Accepted

No content

delete
DELETE /strategy-orchestrator/strategies/{strategyAppId}/action/delete HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Delete all strategies

delete
Authorizations
Header parameters
se-api-versionstringOptional
Responses
202

Accepted

No content

delete
DELETE /strategy-orchestrator/strategies/deleteAll HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Was this helpful?