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 }