Copilot 建议历史
GET /v1/perps/copilot-history: 返回当前账户、交易对和子钱包的本地建议,并合并历史服务记录。
GET /v1/perps/copilot-history
返回当前账户、交易对和子钱包的本地 Agent 建议,并合并旧的上游历史记录。传入 executionSymbol 可将本地历史限定到精确合约。旧历史服务失败时,本地记录仍然可用;如果既无本地记录,也无上游响应,则返回空列表和 connected: false。
| 方法 | GET |
| 路径 | /v1/perps/copilot-history |
| 认证 | 认证orization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| 类别 | perps |
响应体
{ "recommendations": [{ "id": "copilot-1", "direction": "long", "entryPrice": 65000, "takeProfitPrice": 68000, "stopLossPrice": 63000, "initialMarginUsd": 1000, "reasons": ["Venue momentum and current catalysts support the setup"], "risks": ["Funding and volatility may invalidate the setup"], "source": "local_agent", "marketMode": "perps", "executionSymbol": "BTC", "exchange": "hyperliquid", "subAccountId": "sub_123", "research": { "tools": [{ "tool": "web_search", "ok": true, "retrievedAt": "2026-09-16T00:00:00.000Z" }], "skills": [] } }], "connected": true }