交易与执行
现货、永续合约、DeFi 闪兑及跨链转账,通过自然语言实现
🟡 中级 确认后真实资金才会动。 ⚠️ 风险声明:交易本身就很有风险。永续合约杠杆 会同时放大收益和损失;你可能损失超过初始投入。 滑点和 gas 费会降低回报。 始终检查预览,从小额开始。
告诉 Agent 你想交易什么。它模拟订单、显示成交价格; 在动用任何资金前等待你明确确认。
你能做什么
- 现货交易:在 20+ 条链上买入、卖出、闪兑任何资产
- 永续合约:开平多空仓位,支持止盈/止损。每个子钱包绑定一个 交易所,目前可选 Hyperliquid 和 Lighter,后续会接入更多场所(详见 子钱包与多交易所)
- 代币化股票:当实际市场可用时,购买 NVDA、AAPL 等支持的股票代币。路由优先选用 Ondo 发行的代币,其他发行方作为回退
- DeFi 闪兑:多 DEX 聚合路由(OKX 提供 500+ DEX 源)
- 跨链转账:在钱包和链之间转移资产
- 跟单策略:跟随聪明钱或 KOL 的交易模式
资产类别覆盖
| 资产类别 | 分析 | 信号生成 | 执行 |
|---|---|---|---|
| 加密货币(现货) | ✅ | ✅ | ✅ via Minara |
| 加密货币(永续) | ✅ | ✅ | ✅ via Hyperliquid + Lighter(更多交易所即将上线) |
| 股票与 ETF | ✅ | ✅ | ✅ 当有支持的代币化股票市场时;否则仅分析 |
| 商品 | ✅ | ✅ | 通过加密代理(PAXG、矿企) |
| 外汇 | ✅ | ✅ | 仅分析 |
| 预测市场 | ✅ | ✅ | ✅ via Polymarket |
对于没有实时 Minara 场景的资产类别,Agent 保持研究模式: 头寸计算、进场/止损/目标价位、提醒和监控。 对于通过 Minara 提供的代币化股票,同样的预览 → 确认 → 执行流程适用。
示例提示词
swap $500 of USDC into ETH on Base
long BTC with 5x leverage, TP at +10%, SL at -3%
transfer 0.5 ETH to 0xabc... on Arbitrum
what's the best route to swap SOL for USDC?
long BTC on Wallet A永续交易如何路由到不同交易所
当你说 long BTC 时,Agent 会把订单提交到当前 Portfolio picker
里选中的子钱包。每个子钱包创建时绑定一个交易所
(Hyperliquid 或 Lighter),执行场所由这个绑定隐式决定,不用
传 --exchange 参数,也没有逐条命令的开关。
如果有多个子钱包,下单前先切换 picker,或者在提示词里直接指定 钱包:
long BTC with 5x on Wallet A
short ETH on the Lighter wallet完整流程(创建、改名、picker 切换、可选交易所对比)参见 子钱包与多交易所。
示例输出。现货闪兑预览
提示词:swap $100 of USDC into SOL on Solana
Agent 响应:
Resolving quote via Jupiter...
- From:100 USDC (Solana)
- To:~0.847 SOL (price $118.05)
- Route:USDC → SOL (Jupiter aggregator, 2 hops)
- Slippage cap:0.5%
- Est. gas:~$0.0002
Confirm to execute? (reply
yesorno)
回复 yes → 交易提交;Agent 返回哈希值和最终输出数量。
示例输出。永续合约预览
提示词:long BTC with 5x leverage, TP at +10%, SL at -3%, size $200
Agent 响应:
⚠ 涉及杠杆的永续合约交易。需要两步确认。
- Venue:Hyperliquid
- Side:LONG BTC perp
- Notional size:$200 (entry ~$67,420)
- Collateral:$40 (5x leverage)
- Liquidation:~-18% from entry ($55,284)
- Take-profit:+10% → $74,162
- Stop-loss:-3% → $65,397
- Funding rate:+0.018% (you pay ~$0.036 per 8h funding window)
Confirm to submit? Reply
yes BTC(must include the symbol) orno.
确认时需包含代码的模式可防止意外"yes"拼写错误导致提交错误代码。 详见6 层资金安全框架的完整纵深防御。
示例输出。代币化股票流程
提示词:should I buy NVDA ahead of earnings? size it for a $5k account with 2% risk
Agent 响应:
NVDA 财报前交易想法 (current price: $142.50)
Setup
- Earnings in 3 days; options-implied move: ±8%
- Analyst consensus: 38 of 44 analysts BUY, median PT $165
- Beat rate last 8 quarters: 7/8 (88%)
Position sizing (2% risk on $5k = $100 max loss)
- Entry: $142.50 (market open)
- Stop: $134.00 (below recent swing low, -5.9%)
- Size: $100 ÷ $8.50 risk per share ≈ 11 shares (~$1,567, 31% of account)
- Target: $158 (analyst median PT, +10.9%)
- Risk/reward: 1 : 1.85
If you want to execute the thesis on-chain, ask me to preview the supported NVDA market next.
后续提示词:buy $500 of NVDA
Agent 响应(预览):
Resolving the supported NVDA market...
- Spend: $500
- Receive: ~3.50 NVDA
- Venue / route: shown before execution
- Slippage cap: 0.5%
- Fees: included in the preview
Confirm to execute? Reply
yes NVDAorno.
示例输出。商品代理交易
提示词:I want gold exposure without buying physical — what crypto options give me that?
Agent 响应:
Gold exposure via crypto (current gold: $2,340/oz, +18% YTD)
Option Mechanism Gold correlation (1y) On-chain liquidity PAXG (Pax Gold) 1 token = 1 troy oz, redeemable 0.97 ~$80M daily XAUT (Tether Gold) Same structure, Tether issuer 0.96 ~$45M daily GDX proxy (tokenized) Ondo / RWA platform basket 0.62 Lower; check depth 宏观背景:实际收益率下降;美元指数走弱;央行买入创纪录。历史上这类条件有利于黄金。
PAXG on Ethereum is the cleanest proxy: audited reserves, tight spread, and redeemable for physical.
Want me to show the swap route for USDC → PAXG on Ethereum?
如果你确认 → Agent 在任何资金移动前显示完整闪兑预览;包括路由、滑点上限和 gas 估算。
涉及的技能与工具
| 技能 | 角色 |
|---|---|
minara.core | 现货闪兑、买入、卖出、转账、投资组合、余额 |
minara.core(永续) | 开平永续、仓位、子账户管理 |
market.spot | 交易前价格分析和基本面 |
analysis.speculation | Kelly 公式估算、最大损失、交易心态 |
安全:每次涉及资金的调用都经过6 层资金安全框架: 模拟 → 预览 → 确认 → 执行。
术语表:永续、杠杆、滑点、资金费率、TP/SL 如有不熟悉的地方,都有一句话定义。
场景:SCENARIO_ACTION