PnL 历史(本地观测,近 24 桶/小时,未展开时收起)
暂无数据
Symbol / Exchange
Fee
Bid
Ask
Available
Risk
Order Ops
尚未添加 Pair,请在下方添加
A:
{{tfSymLabel(p.leg_a, p.settle)}} {{p.label_a}}
{{tfSymLabel(p.leg_a, p.settle)}} {{p.label_a}}
{{p.error_a}}
{{fmt(p.a.position, Math.abs(p.a.position)<1?6:2)}}
{{tfFeeCell(p,'a').text}}
{{p.a.bid!=null ? fmt(p.a.bid, p.a.bid<1?6:2) : '—'}}
{{p.a.ask!=null ? fmt(p.a.ask, p.a.ask<1?6:2) : '—'}}
{{p.a.available!=null ? '$'+fmt(p.a.available,2) : '—'}}
{{tfRiskOf(p.spread_ab).val}}
B:
{{p.ratio}}×
{{tfSymLabel(p.leg_b, p.settle)}} {{p.label_b}}
{{tfSymLabel(p.leg_b, p.settle)}} {{p.label_b}}
{{p.error_b}}
{{fmt(p.b.position, Math.abs(p.b.position)<1?6:4)}}
{{tfFeeCell(p,'b').text}}
{{p.b.bid!=null ? fmt(p.b.bid, p.b.bid<1?6:2) : '—'}}
{{p.b.ask!=null ? fmt(p.b.ask, p.b.ask<1?6:2) : '—'}}
{{p.b.available!=null ? '$'+fmt(p.b.available,2) : '—'}}
{{tfRiskOf(p.spread_ba).val}}
{{fmtT(tfPairWarning(p).ts)}}
[{{tfPairWarning(p).dir}}]
{{tfPairWarning(p).msg}}
✕
{{fmtT(p.comp.ts)}}
⚠ 单边敞口: {{p.comp.leg_name}}腿 {{(p.comp.side||'').toUpperCase()}} {{p.comp.qty}} {{p.comp.leg.symbol}}{{p.comp.limit?'(限价单)':''}}
✕
Slip
%
MinA
Size
-A+B
{{tfSpread(p).abTxt}}
%
+A-B
{{tfSpread(p).baTxt}}
%
平仓
{{(t.side_a||'—').toUpperCase()}} {{t.leg_a_label}}
{{(t.side_b||'—').toUpperCase()}} {{t.leg_b_label}}
{{t.ok ? '✓ 已执行' : '✗ 失败'}}
{{tfFundingIncome.title}}
✕
加载中...
无收益数据
{{fmtT(x.TS)}}
{{x.Amount>=0?'+':''}}{{x.Amount.toFixed(4)}} {{x.Asset}}
{{tfFunding.title}}
✕
加载中...
无历史数据
{{fmtT(x.TS)}}
{{x.Rate>=0?'+':''}}{{x.Rate.toFixed(4)}}%
白名单列表
白名单地址由服务端管理员配置,前端仅可查看。
暂无白名单地址
| 链 | 地址 | 备注 | 创建时间 |
|---|---|---|---|
| {{e.chain}} | {{e.address}} | {{e.remark || ''}} | {{fmtTime(e.created_at)}} |
提币
currencyDropdown=false, 200)"
:disabled="!withdrawForm.exchange"
/>
{{c.currency}}
余额: {{currencyBalances[c.currency]}}
可用余额: {{currencyBalances[withdrawForm.currency]}} {{withdrawForm.currency}}
最小提币量: {{selectedChainInfo.withdraw_min}}
定时任务列表
| ID | 交易所 | 币种 | 链 | 间隔 | 已执行 | 状态 | 最近错误 | 操作 |
|---|---|---|---|---|---|---|---|---|
| {{t.id.slice(0,8)}} | {{t.request.exchange}} | {{t.request.currency}} | {{t.request.chain}} | {{(t.interval_ms/1000).toFixed(0)}}s | {{t.trigger_count || 0}} | {{t.status}} |
提币记录(最近5条)
暂无提币记录
| 时间 | 交易所 | 币种 | 链 | 地址 | 数量 | 状态 | TxID | 错误 |
|---|---|---|---|---|---|---|---|---|
| {{fmtTime(r.created_at)}} | {{r.exchange}} | {{r.currency}} | {{r.chain}} | {{r.address ? r.address.slice(0,16)+'...' : '-'}} | {{r.amount}} | {{r.status}} | {{r.withdraw_id ? r.withdraw_id.slice(0,16)+'...' : '-'}} | {{r.error}} |
获取充值地址
充值地址
{{depositAddress}}
Memo / Tag
{{depositMemo}}
{{depositError}}
链上发送
从配置的钱包地址发送代币到上方的充值地址
查询中…
余额:{{depositSendBalance.balance}}
{{depositSendBalance.symbol}}
点击 ↻ 查询余额
发送成功
TxHash: {{depositSendTxHash}}
{{depositSendError}}
{{loanForm.exchange}} 借贷仓位
加载中…
当前 LTV
{{ltvPercent(loanPosition.ltv)}}
借款总额(USD)
{{formatNum(loanPosition.total_debt)}}
抵押物总额(USD)
{{formatNum(loanPosition.total_collateral)}}
追加保证金线: {{ltvPercent(ltvThresholds.margin_call)}} · 强平线: {{ltvPercent(ltvThresholds.liquidation)}}
借款明细
| 币种 | 余额 | 小时利率 |
|---|---|---|
| {{b.currency}} | {{b.loan_balance}} | {{(parseFloat(b.hourly_interest_rate)*100).toFixed(6)}}% |
已质押抵押物
| 币种 | 余额 | 操作 |
|---|---|---|
| {{c.currency}} | {{c.balance}} |
创建借币任务
抵押物(可选,留空则由交易所自动选择)
借币任务列表
暂无借币任务
| ID | 交易所 | 借款币种 | 每次金额 | 已借总量 | 最大上限 | 间隔 | 触发次数 | 状态 | 最近错误 | 操作 |
|---|---|---|---|---|---|---|---|---|---|---|
| {{t.id.slice(0,8)}} | {{t.exchange}} | {{t.loan_currency}} | {{t.loan_amount}} | {{t.total_borrowed.toFixed(6)}} | {{t.max_total > 0 ? t.max_total : '∞'}} | {{(t.interval_ms/1000).toFixed(0)}}s | {{t.trigger_count}} | {{t.status}} |
跨链记录
{{rec.token}} {{rec.fromChainName}} → {{rec.toChainName}}
{{fmtBridgeRecordTime(rec.timestamp)}}
源链 TX: {{rec.txHash.slice(0,10)}}…{{rec.txHash.slice(-6)}}
目标链 TX: {{rec.destTxHash.slice(0,10)}}…{{rec.destTxHash.slice(-6)}}
OFT Adapter 映射({{bridgeAdapters.length}})
某些 OFT 的跨链合约(Adapter/锁仓)与代币本身是不同地址。配置后,输入持有的底层 ERC20 即自动解析到 Adapter 并发现 LayerZero 路由。
暂无映射
{{bridgeChainName(a.chainId)}}
{{a.erc20.slice(0,8)}}…{{a.erc20.slice(-6)}} → {{a.adapter.slice(0,8)}}…{{a.adapter.slice(-6)}}
预测市场跟单 · Polymarket
跟单钱包:{{predictWallet}}未配置(需设置 GROND_WALLET_PRIVATE_KEY)
· 检测到目标钱包新成交后,按下方固定金额自动跟一笔 FOK 市价单(买卖都跟;卖出侧最多卖出本地已持有的份额)。
目标钱包地址
备注
每笔跟单 (USDC)
跟随的钱包 ({{predictFollows.length}})
还没有配置跟单钱包
| 状态 | 备注 | 目标地址 | 每笔(USDC) | 基线 | 操作 |
|---|---|---|---|---|---|
| {{f.enabled ? '运行中' : '已暂停'}} | {{f.label || '—'}} | {{predictShortAddr(f.target_address)}} | {{f.copy_amount_usdc}} | {{f.baselined ? '已建立' : '待建立'}} |
跟单流水 ({{predictTrades.length}})
暂无跟单记录
| 时间 | 状态 | 方向 | 市场 | Outcome | 目标价/量 | 我方量 | 成交价 | 说明 |
|---|---|---|---|---|---|---|---|---|
| {{predictTradeTime(t.detected_at)}} | {{predictStatusLabel(t.status)}} | {{t.side}} | {{t.outcome || '—'}} | {{(t.target_price||0).toFixed(3)}} / {{(t.target_size||0).toFixed(2)}} | {{t.our_size ? t.our_size.toFixed(2) : '—'}} | {{t.fill_price ? t.fill_price.toFixed(3) : '—'}} |
Pipeline
步骤 {{idx+1}}
⚙
{{plShortAction(step)}}
{{plShortTrigger(step)}}
→
⚙
+ 添加步骤
{{plDraft.steps.length===0?'点击齿轮配置步骤':plDraft.steps.length+'个步骤'}}
暂无 Pipeline
点击右上角 + 新建,通过齿轮配置自动化流程
{{pl.name}}
{{plStatusLabel(pl.status)}}
🔁{{pl.loopCount||0}}
{{plGstatText(pl,idx,step)}}
{{pl.stepStates&&pl.stepStates[idx]&&pl.stepStates[idx].paused?'⏸':'⚙'}}
{{plShortAction(step)}}
{{plShortTrigger(step)}}
→
{{fmtPipelineTime(log.time)}}
{{log.message}}
步骤 {{plInfo.idx+1}} 详情
操作{{plInfo.step.type==='withdraw'?'💸 提币':plInfo.step.type==='send'?'📤 链上发送':'🌉 跨链'}}
触发条件{{plShortTrigger(plInfo.step)}}
检测次数{{plInfo.stat.checkCount}}
已执行{{plInfo.stat.execCount}} 次
最后执行{{fmtPipelineTime(plInfo.stat.lastExecAt)}}
当前余额{{plInfo.stat.lastBalance}} / {{plInfo.step.triggerAmount}}
最后检测{{fmtPipelineTime(plInfo.stat.lastCheckedAt)}}
执行参数
交易所{{plInfo.step.withdrawExchange}}
币种 / 链{{plInfo.step.withdrawCurrency}} / {{plInfo.step.withdrawChain}}
数量{{plInfo.step.withdrawAmountAll?'全部':(plInfo.step.withdrawAmount||'?')}}
链{{plInfo.chainFrom}}
Token{{plInfo.step.sendToken||'原生代币'}}
目标地址{{plInfo.step.sendToAddress}}
数量{{plInfo.step.sendAmountAll?'全部':(plInfo.step.sendAmount||'?')}}
路由{{plInfo.chainFrom}} → {{plInfo.chainTo}}
数量{{plInfo.step.bridgeAmountAll?'全部':(plInfo.step.bridgeAmount||'?')}}
协议{{plInfo.step.bridgeProtocol||'自动'}}
{{plDrawer.isNew ? '添加步骤' : '编辑步骤 '+(plDrawer.stepIdx+1)}}
触发条件
提币参数
跨链参数
余额:查询中…
{{plBridgeBalance}}{{plBridgeAddrSymbol}}
目标合约:{{plBridgeSelectedRouteObj.toTokenAddress}}
链上发送参数
{{plDrawer.error}}