LeoYeAI/agent-master-skills / skills/arbiscan-skill
arbiscan
VerifiedComprehensive crypto market scanner across Binance, OKX, Bybit, and Bitget. 12 scan types covering arbitrage (funding rate, basis, spot spread, futures spread), market monitoring (open interest, price movers, volume anomaly, stablecoin depeg, funding extreme), and trading signals (funding trend, long/short ratio, new listing detection). Read-only — no trading, no API keys needed.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 5.7 KB |
| README_CN.md | markdown | 5.5 KB |
| SKILL.md | skill md | 18.5 KB |
| _meta.json | config | 278 B |
| examples/sample_output.md | markdown | 5.3 KB |
| scripts/basis_arb.py | script | 2.2 KB |
| scripts/config.py | script | 3.3 KB |
| scripts/fetcher.py | script | 17.3 KB |
| scripts/formatter.py | script | 1.5 KB |
| scripts/funding_arb.py | script | 2.2 KB |
| scripts/funding_extreme.py | script | 1.9 KB |
| scripts/funding_history.py | script | 2.5 KB |
| scripts/futures_spread.py | script | 2.1 KB |
| scripts/long_short_ratio.py | script | 2.3 KB |
| scripts/new_listing.py | script | 2.3 KB |
| scripts/open_interest.py | script | 1.9 KB |
| scripts/price_movers.py | script | 2.2 KB |
| scripts/requirements.txt | manifest | 33 B |
| scripts/scanner.py | script | 4.9 KB |
| scripts/spot_spread.py | script | 2.8 KB |
| scripts/stablecoin_depeg.py | script | 3.3 KB |
| scripts/volume_anomaly.py | script | 2.5 KB |
scripts/futures_spread.py
View on GitHub"""跨所合约价差扫描 — 合约端的搬砖机会"""
from itertools import combinations
from config import TOP_SYMBOLS, EXCHANGES
from fetcher import fetch_all_futures_prices
from formatter import format_output, risk_level
def scan_futures_spread(symbols: list = None, min_spread_pct: float = 0.03) -> tuple:
"""扫描跨所合约价差"""
if symbols is None:
symbols = TOP_SYMBOLS
headers = ["Symbol", "Buy From", "Sell To", "Low Price", "High Price", "Spread%", "Risk"]
rows = []
print(f"[Futures Spread] 扫描 {len(symbols)} 个交易对...")
for symbol in symbols:
prices = fetch_all_futures_prices(symbol)
if len(prices) < 2:
continue
for ex_a, ex_b in combinations(prices.keys(), 2):
pa, pb = prices[ex_a], prices[ex_b]
if pa <= 0 or pb <= 0:
continue
low_ex, high_ex = (ex_a, ex_b) if pa < pb else (ex_b, ex_a)
low_p, high_p = min(pa, pb), max(pa, pb)
spread_pct = (high_p - low_p) / low_p * 100
if spread_pct < min_spread_pct:
continue
risk = risk_level(spread_pct * 365, symbol)
rows.append([
f"{symbol}USDT",
f"{EXCHANGES[low_ex]['name']} ${low_p:.4f}",
f"{EXCHANGES[high_ex]['name']} ${high_p:.4f}",
f"${low_p:.4f}",
f"${high_p:.4f}",
f"{spread_pct:.4f}%",
risk,
])
rows.sort(key=lambda r: float(r[5].rstrip('%')), reverse=True)
return rows, headers
def main():
import argparse
parser = argparse.ArgumentParser(description="Cross-Exchange Futures Spread Scanner")
parser.add_argument("--format", choices=["table", "markdown", "json"], default="table")
args = parser.parse_args()
rows, headers = scan_futures_spread()
print(f"\n{'='*80}")
print(" Cross-Exchange Futures Spread")
print(f"{'='*80}")
print(format_output(rows, headers, args.format))
print(f"\nFound {len(rows)} opportunities")
if __name__ == "__main__":
main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |