cURL
curl --request POST \ --url https://api.example.com/api/v1/admin/backtests \ --header 'Content-Type: application/json' \ --data ' { "strategyType": "cross_exchange_arbitrage", "symbols": [ "BTC/USDT" ], "timeRange": { "from": "2026-01-01", "to": "2026-03-01" }, "params": { "min_profit_rate": 0.002, "base_quantity": 0.01 } } '
{ "code": 0, "msg": "ok", "data": { "backtestId": "bt_001", "status": "queued" } }
创建用于研究和参数验证的回测任务。
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.
回测创建请求。
策略类型。
"cross_exchange_arbitrage"
回测标的列表。
["BTC/USDT"]
回测时间范围。
{ "from": "2026-01-01", "to": "2026-03-01" }
回测参数。
{ "min_profit_rate": 0.002 }
成功返回回测任务
统一响应包裹结构。
业务状态码。
0
可读返回消息。
"ok"
回测创建结果。
Show child attributes