← 返回
未分类 中文

Arbitrage

Find, validate, and compare arbitrage opportunities across markets with fee-aware math, execution sequencing, and failure-mode checks.
发现、验证并比较跨市场套利机会,支持费用感知计算、执行排序及故障模式检查。
ivangdavila ivangdavila 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 626
下载
💾 0
安装
1
版本
#latest

概述

When to Use

User is evaluating an apparent price gap, hedge, surebet, basis trade, multi-leg basket, or cross-venue spread. Agent handles fee-aware arbitrage math, execution planning, settlement checks, and fast rejection of fake edge.

Architecture

Memory lives in ~/arbitrage/. If ~/arbitrage/ does not exist, run setup.md. See memory-template.md for structure.

~/arbitrage/
├── memory.md         # Preferences, constraints, and activation rules
├── opportunities.md  # Active ideas, status, and next checks
├── venue-notes.md    # Withdrawal, fill, and settlement notes by venue
└── archive/          # Old opportunities and retired notes

Quick Reference

TopicFile
-------------
Setup guidesetup.md
Memory templatememory-template.md
Locked Spread Protocolworkflow.md
Fee-aware formulascalculator.md
Venue and settlement checksvenue-checks.md
Scenario playbooksplaybooks.md
Safe language and disclaimerslegal.md

Requirements

  • No credentials required
  • No extra binaries required
  • Live data only when the user provides it or explicitly asks you to fetch it

Locked Spread Protocol

Use the full protocol in workflow.md. At minimum, every opportunity passes these gates:

  1. Confirm the legs really describe the same economic outcome
  2. Normalize prices, fees, financing, transfer, and timing costs with calculator.md
  3. Decide whether the position is fully locked, soft-locked, or only expected value
  4. Check venue rules, fill depth, and settlement mechanics with venue-checks.md
  5. Classify the trade and explain the remaining failure modes before discussing size

Core Rules

1. Define the Exact Arbitrage

  • Write each leg with venue, instrument, side, price, size limit, timestamp, and settlement rule
  • If the legs do not resolve to the same outcome, currency, or unit of risk, it is not arbitrage yet

2. Normalize Every Dollar of Friction

  • Always include fees, spread, gas, borrow, financing, FX, transfer, and any user-stated tax or settlement drag
  • Use calculator.md to convert headline edge into net edge before calling anything profitable

3. Sequence for Fill Risk, Not for Hope

  • Identify the constrained leg first: shallow book, max bet, slow venue, borrow dependence, or promo cap
  • Prefer structures that can be locked immediately; otherwise label them soft lock or directional exposure

4. Treat Settlement as First-Class Risk

  • Compare rules, expiry, void conditions, collateral type, withdrawal limits, transfer time, and counterparty exposure
  • Use venue-checks.md and playbooks.md whenever the opportunity crosses venues or products

5. Reject Fake Edge Fast

  • Stale quotes, hidden min or max size, promo-only pricing, mismatched markets, and low depth are default failure modes
  • If the residual risk is execution, model drift, or rule mismatch rather than a true lock, say so explicitly

6. Output a Decision Memo, Not Hype

  • Return the classification, net edge, max realistic size, required sequence, open checks, and kill conditions
  • Good output ends with a clear next action: proceed, verify one item, downgrade to watchlist, or reject

7. Analysis Never Becomes Advice

  • Never call a trade risk-free, guaranteed, or suitable for the user personally
  • Provide analysis and trade structure only; do not execute trades or give portfolio-specific recommendations

Opportunity Types

TypeTypical SetupWhat Makes It Real
-----------------------------------------
Cross-venue spotBuy cheaper on venue A, sell higher on venue BEnough depth, transferable inventory, fees covered
Surebet or matched bookOpposite sides across books or exchangesImplied probability sum below 100 percent after fees
Prediction market basketBuy outcomes whose total cost is below guaranteed payoutResolution rules and outcome partition match exactly
Basis or carrySpot versus future, perp, or synthetic hedgeFunding, carry, borrow, and expiry all modeled
Retail or pricing mismatchSame item or service priced differently by channelShipping, returns, fraud, tax, and inventory verified

Arbitrage Traps

TrapWhy It FailsBetter Move
---------------------------------
Matching names instead of resolution rulesSimilar labels can settle differentlyCompare exact payout and settlement language
Using top-of-book onlyApparent edge disappears after first fillCalculate size against real depth
Ignoring transfer timeEdge can vanish before hedge arrivesPrice latency as a cost, not a note
Forgetting limits and KYCOne leg fills, the other is capped or blockedCheck limits, region, and account status first
Treating rebates as guaranteedRebates or promos can change net economicsSeparate hard edge from conditional incentives
Mixing currencies looselyFX and spread can erase edgeConvert every leg into one base currency
Calling EV arbitragePositive EV is not a locked spreadLabel it expected value, not arbitrage
Overstating sizeThe shallowest leg defines realistic capacitySize to the weakest link

Scope

This skill ONLY:

  • Analyzes arbitrage structures and net economics
  • Stores user-stated constraints in ~/arbitrage/
  • Uses its own auxiliary files for formulas, venue checks, and playbooks
  • References timestamps and missing inputs when data may be stale

This skill NEVER:

  • Executes real trades, transfers, or withdrawals
  • Uses exchange keys, broker credentials, or wallet secrets
  • Calls an opportunity risk-free or guaranteed
  • Gives personalized financial, tax, or legal advice

Security & Privacy

Data that leaves your machine:

  • None by default
  • If the user explicitly asks for live public data, only the requested symbols, markets, or venue pages needed for the analysis

Data that stays local:

  • Preferences, venue notes, and working opportunity notes in ~/arbitrage/

This skill does NOT:

  • Store credentials
  • Read unrelated files
  • Make undeclared network requests

Related Skills

Install with clawhub install if user confirms:

  • trading - technical analysis, risk framing, and trade planning language
  • trader - disciplined execution mindset and position management basics
  • pricing - pricing logic when the opportunity is a commercial mismatch rather than a market trade
  • invest - long-horizon investing context when the user is mixing arbitrage with portfolio decisions

Feedback

  • If useful: clawhub star arbitrage
  • Stay updated: clawhub sync

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 05:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 464 📥 154,969
professional

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 195 📥 63,560
professional

All-Market Financial Data Hub

financial-ai-analyst
基于东方财富数据库,支持自然语言查询金融数据,覆盖A股、港股、美股、基金、债券等资产,提供实时行情、公司信息、估值、财务报表等,适用于投资研究、交易复盘、市场监控、行业分析、信用研究、财报审计、资产配置等场景,满足机构与个人需求。返回结果为
★ 131 📥 42,524