跳转到主要内容
GET
/
api
/
v1
/
admin
/
strategies
查询策略列表
curl --request GET \
  --url https://api.example.com/api/v1/admin/strategies
{
  "code": 0,
  "msg": "ok",
  "data": {
    "items": [
      {
        "strategyId": "cross_arb_btc_01",
        "strategyType": "cross_exchange_arbitrage",
        "symbols": [
          "BTC/USDT"
        ],
        "exchanges": [
          "binance",
          "okx"
        ],
        "status": "running"
      }
    ]
  }
}

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.

查询参数

status
string

策略状态过滤。

示例:

"running"

strategyType
string

策略类型过滤。

示例:

"cross_exchange_arbitrage"

page
integer

页码。

示例:

1

pageSize
integer

每页条数。

示例:

20

响应

200 - application/json

成功返回策略列表

统一响应包裹结构。

code
integer
必填

业务状态码。

示例:

0

msg
string
必填

可读返回消息。

示例:

"ok"

data
object