portfolio

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Portfolio Skill

投资组合Skill

Track your positions and performance across prediction markets and futures exchanges.
跨预测市场和期货交易所追踪你的持仓与表现。

Commands

命令

View Portfolio

查看投资组合

/portfolio
/portfolio positions
/portfolio pnl
/portfolio
/portfolio positions
/portfolio pnl

History

历史记录

/portfolio history          # Last 7 days (default)
/portfolio history 30d      # Last 30 days
/portfolio history 90d      # Last 90 days
/portfolio history          # 最近7天(默认)
/portfolio history 30d      # 最近30天
/portfolio history 90d      # 最近90天

Sync Positions (Auto)

自动同步持仓

/portfolio sync
/portfolio sync

Filter by Platform

按平台筛选

/portfolio platform polymarket
/portfolio platform binance
/portfolio platform polymarket
/portfolio platform binance

Risk

风险

/portfolio risk          # Full risk metrics
/portfolio exposure      # Category exposure breakdown
/portfolio risk          # 完整风险指标
/portfolio exposure      # 类别敞口细分

Features

功能

Position Tracking

持仓追踪

  • Entry price and current price
  • Shares held
  • Unrealized P&L ($ and %)
  • Platform breakdown
  • 入场价与当前价
  • 持有份额
  • 未实现盈亏(美元与百分比)
  • 平台细分

Futures Support

期货支持

  • Leverage display
  • Long/Short side indicator
  • Liquidation price
  • Notional value
  • Margin type (cross/isolated)
  • 杠杆展示
  • 多/空方向标识
  • 清算价格
  • 名义价值
  • 保证金类型(交叉/逐仓)

P&L Summary

盈亏汇总

  • Total portfolio value
  • Daily/weekly/monthly P&L
  • Best and worst performers
  • Platform-level P&L
  • 投资组合总价值
  • 日/周/月盈亏
  • 表现最佳与最差的标的
  • 平台级盈亏

Multi-Platform Support

多平台支持

Prediction Markets:
  • Polymarket (via API key)
  • Kalshi (via API key)
  • Manifold (via API key)
Futures Exchanges:
  • Hyperliquid (via wallet address + private key)
  • Binance Futures (via API key + secret)
  • Bybit (via API key + secret)
  • MEXC (via API key + secret)
预测市场:
  • Polymarket(通过API密钥)
  • Kalshi(通过API密钥)
  • Manifold(通过API密钥)
期货交易所:
  • Hyperliquid(通过钱包地址+私钥)
  • Binance Futures(通过API密钥+密钥)
  • Bybit(通过API密钥+密钥)
  • MEXC(通过API密钥+密钥)

Balance Tracking

余额追踪

  • Available and locked balance per platform
  • Polymarket: locked USDC calculated from open buy orders
  • Futures: margin used vs available
  • 各平台可用与锁定余额
  • Polymarket:根据未成交买单计算锁定的USDC
  • 期货:已用保证金与可用保证金对比

Portfolio History

投资组合历史

  • Snapshots taken automatically during hourly cron sync
  • ASCII sparkline chart
  • Start/end value with change ($, %)
  • Peak and low values
  • Table of recent data points
  • 每小时通过定时任务自动生成快照
  • ASCII迷你折线图
  • 起始/结束价值及变动(美元、百分比)
  • 峰值与谷值
  • 近期数据点表格

Risk Analytics

风险分析

  • Correlation Matrix: See how your positions correlate with each other
  • Category Exposure: Breakdown by politics, crypto, sports, economics, etc.
  • Concentration Risk: HHI score and diversification metrics
  • Hedged Pairs: Identify offsetting positions (long YES + short NO)
  • 相关性矩阵:查看你的持仓之间的相关性
  • 类别敞口:按政治、加密货币、体育、经济等细分
  • 集中度风险:HHI指数与多元化指标
  • 对冲组合:识别抵消持仓(做多YES + 做空NO)

Whale Tracking Integration

鲸鱼账户追踪集成

Track what large traders are doing:
/portfolio whales        # Top whales in your markets
/portfolio follow 0x...  # Follow a whale's positions
/portfolio smart-money   # Aggregate whale activity
追踪大额交易者的操作:
/portfolio whales        # 你所参与市场中的顶级鲸鱼账户
/portfolio follow 0x...  # 追踪某一鲸鱼账户的持仓
/portfolio smart-money   # 汇总鲸鱼账户活动

Crypto Whale Monitoring

加密货币鲸鱼账户监控

Monitor large crypto transactions across chains:
/portfolio crypto-whales          # Recent whale activity
/portfolio crypto-whales solana   # Solana whales only
/portfolio crypto-whales top 10   # Top 10 by volume
跨链监控大额加密货币交易:
/portfolio crypto-whales          # 近期鲸鱼账户活动
/portfolio crypto-whales solana   # 仅Solana链鲸鱼账户
/portfolio crypto-whales top 10   # 交易量Top10的鲸鱼账户

Environment Variables

环境变量

undefined
undefined

Prediction Markets

预测市场

POLY_API_KEY, POLY_API_SECRET, POLY_API_PASSPHRASE KALSHI_API_KEY, KALSHI_PRIVATE_KEY
POLY_API_KEY, POLY_API_SECRET, POLY_API_PASSPHRASE KALSHI_API_KEY, KALSHI_PRIVATE_KEY

Futures Exchanges

期货交易所

HL_WALLET_ADDRESS, HL_PRIVATE_KEY BINANCE_FUTURES_KEY, BINANCE_FUTURES_SECRET BYBIT_API_KEY, BYBIT_API_SECRET MEXC_API_KEY, MEXC_API_SECRET
undefined
HL_WALLET_ADDRESS, HL_PRIVATE_KEY BINANCE_FUTURES_KEY, BINANCE_FUTURES_SECRET BYBIT_API_KEY, BYBIT_API_SECRET MEXC_API_KEY, MEXC_API_SECRET
undefined

Examples

示例

User: "What's my portfolio looking like?" → Show all positions with current prices and P&L
User: "How much am I up today?" → Calculate daily P&L across all positions
User: "What's my exposure to politics markets?" → Filter positions by category, sum exposure
User: "Show my Binance positions" → Filter to Binance futures positions with leverage info
用户:“我的投资组合情况如何?” → 展示所有持仓及当前价格与盈亏
用户:“我今天盈利了多少?” → 计算所有持仓的当日盈亏
用户:“我在政治类市场的敞口有多大?” → 按类别筛选持仓,汇总敞口
用户:“展示我的Binance持仓” → 筛选Binance期货持仓并显示杠杆信息

Output Format

输出格式

Portfolio Summary

Total Value: $12,450
Positions: 8
Unrealized P&L: +$320 (+2.6%)
Realized P&L: $150

Balances:
  polymarket: $2,500 ($2,100 avail, $400 locked)
  binance: $5,000 ($3,200 avail, $1,800 locked)

BTCUSDT Perp [binance]
  LONG 10x: 0.5000 @ $98,500.00
  +$250.00 (+5.1%) | liq $89,100.00

Trump 2028 [polymarket]
  Yes: 100.00 @ $0.520
  +$70.00 (+15.6%)
投资组合汇总

总价值:$12,450
持仓数量:8
未实现盈亏:+$320(+2.6%)
已实现盈亏:$150

余额:
  polymarket: $2,500(可用$2,100,锁定$400)
  binance: $5,000(可用$3,200,锁定$1,800)

BTCUSDT永续合约 [binance]
  做多10倍杠杆:0.5000 @ $98,500.00
  +$250.00(+5.1%) | 清算价 $89,100.00

Trump 2028 [polymarket]
  Yes: 100.00 @ $0.520
  +$70.00(+15.6%)