MINARA

创建 Copilot 价格建议

POST /v1/perps/copilot-analysis: 通过本地 Agent 综合行情、工具和技能生成永续合约建议。

POST /v1/perps/copilot-analysis

通过本地 Agent 执行有预算限制的研究,结合所选永续合约交易所的行情快照,以及相关的实时工具和技能。Agent 使用已连接的模型服务,本地运行不代表离线模型。通过 executionSymbol 指定精确合约,通过 locale 指定回复语言。省略 subAccountId 时,必须恰好有一个可用的活跃钱包。此端点不会预览、创建或执行订单。

方法POST
路径/v1/perps/copilot-analysis
认证认证orization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set
类别perps

请求体

{ "symbol": "BTC", "executionSymbol": "BTC", "style": "day", "strategy": "max_gain", "initialMarginUsd": 1000, "subAccountId": "sub_123", "locale": "en" }

响应体

{ "recommendation": { "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 }

本页目录