liquidity-depth-comparison is the repo for the edgeX liquidity comparison dashboard.
It collects live order-book depth for edgeX contracts, compares each market with mapped contracts on other venues, and writes the latest snapshot rows into a Lark Bitable table for the dashboard.
- Uses the live edgeX contract list as the main comparison universe
- Pulls perp depth from edgeX, Binance, OKX, Bybit, Bitget, MEXC, BingX, Aster, Hyperliquid, and Lighter
- Supports grouped mappings for non-crypto markets, including edgeX
CLUSD, BinanceCLUSDT, and MEXCUSOIL_USDT - Syncs the latest comparison rows into Lark Bitable
- Can run as a one-off sync or on a local schedule
This is not the repo for the edgeX whale-trade and L1 withdrawal alerts.
That alerting service lives in realnaka/edgex-flow-monitor.
npm run depth:syncnpm run depth:sync -- --dry-runnpm run depth:startnpm run depth:cleanup
The older alert commands are still present in the codebase, but the daily dashboard workflow uses the depth:* commands.
At minimum, configure:
FEISHU_APP_IDFEISHU_APP_SECRETBITABLE_APP_TOKENTABLE_DEPTH_COMPARISON
Useful optional settings:
DEPTH_EXCHANGESDEPTH_SYMBOLSEDGEX_DEPTH_LEVELDEPTH_SAMPLE_COUNTDEPTH_SAMPLE_INTERVAL_MS
See .env.example for the full list.
- GitHub Actions remains available for manual dispatch
- The recurring production sync was moved off GitHub Actions on March 23, 2026
- The current daily sync runs locally and writes directly to the Lark table
src/
api/ Exchange and edgeX API clients
depth/ Depth collection, mappings, and exchange adapters
bitable.ts Lark Bitable sync
index.ts CLI entrypoint
config.ts Environment-driven config
MIT