Communitygithub.com

baneeishaque/ljt-520_openclaw-backup

跨交易所余额追踪、订单概览和市场数据查询,基于 OpenMM 实现。

ljt-520_openclaw-backup 是什么?

该技能为 AI 智能体(如 Claude Code、Coder 等)提供了统一的加密货币投资组合管理工具,通过 OpenMM 命令行接口与多个中心化交易所(CEX)和 Cardano DEX 进行交互。支持查询 MEXC、Gate.io、Bitget、Kraken 等交易所的资产余额、未成交订单、市场价格、订单簿深度和近期交易,并允许在不同交易所之间比较价格。对于 Cardano 生态,技能还能发现并查询去中心化交易池(DEX pools)的聚合价格和流动性。所有操作均需通过环境变量预先配置交易所 API 凭据。该技能提供了方便的 MCP 工具集,帮助开发者或 AI 智能体以标准化方式执行投资组合管理任务,增强自动化交易监控和决策支持。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/baneeishaque/ljt-520_openclaw-backup/tree/HEAD/skills/adacapo21/openmm-portfolio

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

OpenMM 投资组合管理

跨交易所追踪余额、查看未成交订单以及监控市场数据。

所需凭据

必须通过环境变量配置至少一个交易所。为每个要查询的交易所设置凭据:

# MEXC
MEXC_API_KEY=your-mexc-api-key
MEXC_SECRET=your-mexc-secret
MEXC_UID=your-mexc-uid-for-whitelisted-access

# Gate.io
GATEIO_API_KEY=your-gateio-api-key
GATEIO_SECRET=your-gateio-secret

# Bitget(需要密码短语)
BITGET_API_KEY=your-bitget-api-key
BITGET_SECRET=your-bitget-secret
BITGET_PASSPHRASE=your-bitget-passphrase

# Kraken
KRAKEN_API_KEY=your-kraken-api-key
KRAKEN_SECRET=your-kraken-secret

有关详细配置说明,请参阅 openmm-exchange-setup 技能。

查看余额

# 交易所上的所有资产
openmm balance --exchange mexc
openmm balance --exchange kraken

# 特定资产
openmm balance --exchange mexc --asset BTC
openmm balance --exchange kraken --asset ADA
openmm balance --exchange bitget --asset USDT

# JSON 输出格式
openmm balance --exchange mexc --json

要查看所有交易所的余额,请逐个查询:

openmm balance --exchange mexc
openmm balance --exchange gateio
openmm balance --exchange bitget
openmm balance --exchange kraken

查看未成交订单

# 交易所上的所有未成交订单
openmm orders list --exchange mexc

# 按交易对过滤
openmm orders list --exchange bitget --symbol SNEK/USDT

# 限制结果数量
openmm orders list --exchange kraken --limit 5

查询市场价格

# 当前价格
openmm ticker --exchange mexc --symbol BTC/USDT
openmm ticker --exchange kraken --symbol ADA/EUR

# 订单簿深度
openmm orderbook --exchange bitget --symbol SNEK/USDT --limit 10

# 近期交易
openmm trades --exchange mexc --symbol ETH/USDT --limit 50

跨交易所价格比较

# 比较 Cardano 代币的 DEX 和 CEX 价格
openmm price-comparison --symbol SNEK
openmm price-comparison --symbol INDY

Cardano 代币价格

# DEX 池聚合价格
openmm pool-discovery prices NIGHT
openmm pool-discovery prices SNEK

# 发现流动性池
openmm pool-discovery discover INDY
openmm pool-discovery discover SNEK --min-liquidity 50000

投资组合概览的 MCP 工具

使用 MCP 服务器时,以下工具与投资组合管理相关:

工具描述
get_balance获取交易所余额(全部或特定资产)
list_orders列出交易所上的未成交订单
get_ticker获取交易对当前价格
get_orderbook获取订单簿深度(买盘/卖盘)
get_trades获取近期交易及买卖汇总
get_cardano_price获取聚合的 Cardano 代币价格
discover_pools发现 Cardano DEX 流动性池

给智能体的提示

  1. 交易前检查余额 — 始终验证可用资金
  2. 逐个查询交易所 — 没有跨交易所的聚合命令
  3. 使用 --json 进行解析 — 结构化输出便于程序化使用
  4. 使用 BASE/QUOTE 格式 — 例如 BTC/USDT、ADA/EUR、SNEK/USDT
  5. 注意最小订单价值 — MEXC/Gate.io/Bitget: 1 USDT,Kraken: 5 EUR/USD

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

baneeishaque/ljt-520_openclaw-backup

Complete investment portfolio risk management system. Analyze positions, calculate risk metrics, stress test scenarios, optimize allocations, and generate institutional-grade risk reports — all without external APIs.

baneeishaque/ljt-520_openclaw-backup

Balance tracking, order overview, and market data across exchanges using OpenMM.

baneeishaque/ljt-520_openclaw-backup

An investment portfolio tracker that runs entirely locally. All data stays in ~/.portfolio-tracker/.

baneeishaque/ljt-520_openclaw-backup

Discover and register autonomous AI agents. Use when: browsing the agent registry, submitting an agent for verification, or embedding agent badges. NOT for: general web search or agent capability analysis.

baneeishaque/ljt-520_openclaw-backup

Connect to a user's investment accounts via SnapTrade SDK and generate portfolio reports (e.g., daily total value). Use when the user wants SnapTrade-based brokerage connectivity (Webull, E*TRADE, etc.), connection portal links, account registration, or automated portfolio summaries.

baneeishaque/ljt-520_openclaw-backup

Query land ownership, leases, landlord info, and land payments. Write operations for payment management and lease renewals.

baneeishaque/ljt-520_openclaw-backup

Build high-converting landing pages and product sales pages using proven 10-section conversion frameworks. Includes Hero → Social Proof → Benefits → CTA flow for both lead capture and e-commerce pages.

baneeishaque/ljt-520_openclaw-backup

Generate complete, responsive HTML landing pages from a product name, tagline, and description. Clean CSS, mobile-ready, with hero, features, CTA, and footer sections.

baneeishaque/ljt-520_openclaw-backup

Optimize conversion pages for paid traffic from Meta (Facebook/Instagram), Google Ads, TikTok Ads, YouTube Ads, Amazon Ads, and Shopify Ads journeys.

baneeishaque/ljt-520_openclaw-backup

Perform a structured conversion rate optimization (CRO) audit of a landing page. Use when a user shares a landing page URL, pastes their page copy, describes their page content, or uploads a screenshot and asks for a conversion audit, CRO review, conversion analysis, landing page feedback, or wants to know why their page isn't converting. Produces a scored 8-factor audit (0–80 total), prioritized fix list with quick wins and strategic recommendations, and an executive summary. Covers: headline clarity, supporting copy, social proof, CTA effectiveness, visual hierarchy, trust signals, mobile/speed signals, and offer clarity.

baneeishaque/ljt-520_openclaw-backup

Generate landing page content from PRD — hero section, features, A/B headline variants, CTA, and SEO meta tags. Use when user says "create landing page", "write landing copy", "hero section", "A/B headlines", or "landing content". Can scaffold actual pages for astro-static. Do NOT use for SEO auditing (use /seo-audit).

baneeishaque/ljt-520_openclaw-backup

Build high-converting landing pages with proven structure, persuasive copy, and conversion optimization.

baneeishaque/ljt-520_openclaw-backup

Track a crypto portfolio across Binance, Hyperliquid, and Polymarket. Calculates NAV, unrealized P&L, daily drawdown, win rate, and equity curve. Use when you need portfolio tracking, NAV calculation, drawdown monitoring, or multi-venue position management.

相关技能