详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
Quantum执行 (QE) Unified 技能
Quantum执行 is abbreviated as QE. This is a single 安装 技能 for Quantum执行 cryptocurrency execution 工作流s across Binance, OKX, LTP, Deribit, Hyperliquid, and other supported exchanges.
Quantum执行 provides AI-driven execution algorithms for quantitative institutions and large-order trading. It focuses on reducing execution cost through smart order splitting, plug-and-play exchange connectivity, customizable strategies, order lifecycle management, balance/position visibility, and TCA/报告ing.
Use script 输出s as the only source of truth.
Features Multi-exchange crypto execution 工作流s for Binance, OKX, LTP, Deribit, Hyperliquid, and other supported exchanges. AI-driven execution support for quantitative institutions and large-order trading. Smart order splitting and algorithmic execution 工作流s for TWAP/VWAP/POV-style orders. Plug-and-play account discovery, market data 检查s, order lifecycle management, and fill queries. Balance, margin, and position visibility across spot, margin, perpetual, futures, and options where supported by scripts. TCA analysis, Excel 导出s, and execution-cost review 工作流s. Strategy customization through script parameters and exchange-account specific routing rules. Official Links 网页site: https://www.quantum执行.com/ API Docs: https://API.quantum执行.com/trading-API Golang SDK: https://github.com/Quantum-执行/qe-connector-go Python SDK: https://github.com/Quantum-执行/qe-connector-python New User Onboarding Register an account on the Quantum执行 网页site. In Quantum执行 trading account management, bind your exchange API key. 添加 QE page IP 添加resses to your exchange API white列出. 创建 a Quantum执行 平台 API key. Use QE_API_KEY and QE_API_SECRET for 认证d scripts. API Key 设置up
创建 a local env file:
cat > ~/.qe.env << 'EOF' 导出 QE_API_KEY="your_qe_API_key" 导出 QE_API_SECRET="your_qe_API_secret" EOF chmod 600 ~/.qe.env
Load 凭证s before 运行ning 认证d scripts:
source ~/.qe.env
验证 without printing secret values:
[[ -n "$QE_API_KEY" ]] && echo "QE_API_KEY loaded" || echo "QE_API_KEY missing" [[ -n "$QE_API_SECRET" ]] && echo "QE_API_SECRET loaded" || echo "QE_API_SECRET missing"
Usage Examples # Discover bound exchange accounts 列出 my Quantum执行 exchange API bindings.
# 检查 market data before trading 获取 the latest BTCUSDT market quote.
# 查询 balances and positions 检查 my Binance account spot balance, margin balance, and futures positions. 检查 my OKX account spot balance and derivatives positions. 检查 my LTP account spot as设置s, margin debt, and derivatives positions. 检查 my Deribit account balances and futures/options positions. 检查 my Hyperliquid spot balance and perp positions.
# Order lifecycle 创建 a Binance DOGEUSDT TWAP order after 运行ning the required pre-检查s. Show detAIls and fills for master order . Cancel master order .
# TCA and 报告ing 生成 TCA analysis for master order . 导出 order fills to Excel. 生成 TCA analysis for recent completed orders.
Configuration Requirements Python 3.9+. Python dependencies from requirements.txt: qe-connector 请求s pandas openpyxl Quantum执行 平台 凭证s: QE_API_KEY QE_API_SECRET Optional local 输出 folder: QE_WORKSPACE for 生成d 报告s. New users must register at Quantum执行, bind exchange API keys, white列出 the IPs shown in the Quantum执行 UI, then 创建 a Quantum执行 平台 API key. Capability Routing Trading/order lifecycle: references/trading.md Balance/position/margin visibility: references/balance.md TCA and 导出s: references/工具s.md Safety controls: references/safety.md Error handling and anti-fabrication: references/errors.md Fixed 响应 templates: references/输出-格式化s.md Hard Rules (P0) 执行 scripts first; no fabricated values. For 创建/更新/cancel operations, require explicit user confirmation. Keep numeric precision and pagination fields (total/page/pageSize) from script 输出s. 报告 stderr/error when scripts fAIl; do not hide 失败s. Keep 凭证s in env vars only (QE_API_KEY, QE_API_SECRET). 应用ly trading risk 检查s and parameter 验证 from references/trading.md before order writes. Use fixed 响应 templates from references/输出-格式化s.md for order completion and TCA summaries. Notes Always 运行 account discovery with 列出_exchange_APIs.py before choosing an account-specific script. Always 运行 market-data and account pre-检查s before 创建/更新/cancel order operations. Treat 通知_order_complete.py as optional and OpenClaw-oriented; generic hosted 代理s should prefer direct 状态 queries. Do not expose full exchange API keys, Quantum执行 凭证s, or local env files. 生成d 报告s should be written to QE_WORKSPACE or the default local workspace. 运行 python3 scripts/