Microstructure for Claude, Cursor, ChatGPT & agents
Crypto order-flow microstructure — live order-book + trade-tape signals: Order Flow Imbalance (OFI), book/queue imbalance, and trade-sign imbalance
curl -fsSL https://tradeloop.top/install.sh | shmacOS / Linux. Windows + manual install.
What it does
Crypto order-flow microstructure — live order-book + trade-tape signals: Order Flow Imbalance (OFI), book/queue imbalance, and trade-sign imbalance. Reads public exchange L2 books and the trade tape (OKX by default, Coinbase optional) key-free. Short-horizon (seconds–minutes) intraday signals for research/monitoring; crypto only, never places an order.
The Microstructure skill is one of 40+ pre-wired TradeLoop integrations that any MCP-compatible client — Claude Desktop, Claude Code, Cursor, Windsurf, Codex CLI, and ChatGPT desktop — can call out of the box. You don't configure MCP servers or copy API keys into a JSON file; the TradeLoop daemon discovers the skill at startup and exposes its tools to whichever AI client is running.
Sample prompts
Once TradeLoop is installed and Microstructure is connected, ask your agent something like:
- “Imbalance from Microstructure.”
- “Ofi from Microstructure.”
- “Use the Microstructure skill from TradeLoop to imbalance.”
Tools available (2)
microstructure__imbalanceInstant order-flow snapshot for a crypto symbol: book (queue) imbalance from the live L2 order book (top-N levels) plus trade-sign imbalance from the recent trade tape, with spread and mid. Use for 'is the book/tape leaning buy or sell right now' on BTC, ETH, SOL, etc. Crypto only; research signal, not advice.
microstructure__ofiOrder Flow Imbalance (Cont-Kukanov-Stoikov) for a crypto symbol over a short window: polls the top of the live L2 book and sums the signed change in bid/ask size (book pressure), alongside the executed trade-sign flow over the same window. Blocks for ~`seconds`. Use for 'which way is pressure building on BTC right now'
How to connect
Microstructure is a no-auth skill — there's nothing to connect. Once TradeLoop is installed, your agent can call its tools immediately.
- Run
curl -fsSL https://tradeloop.top/install.sh | shon macOS / Linux (or the PowerShell command on Windows). - Run
tradeloop loginto create your account and a device-bound encryption key. - Run
tradeloop updateto sync the skill + credentials to every installed AI client.
Pricing
Free at every TradeLoop tier. Connect your account once at /connect; the OAuth or API-key credential stays encrypted on your machine and syncs to your other devices via the TradeLoop vault.
See the full TradeLoop pricing breakdown — Free $0/mo, Pro $29/mo, Ultra $99/mo — on the homepage.
Related
Looking at Microstructure? You may also want:
- Broker (read-only) — see your live positions, balances, orders and account equity from Interactive Brokers, Alpaca, and Binance
- Charts — Render a trend chart the model can SEE
- China Market (A股/港股) — A股 and Hong Kong market data, key-free from Sina/Tencent public endpoints: realtime quotes (A-share level-1 with the 5-level order book and 委比 book-pressure, HK quotes with 52w range), daily/weekly...
- Trade Coach — Trade review (复盘) coach from your REAL fills: imports executed trades from the broker skill (IBKR Flex / Alpaca, read-only) or any broker CSV export (English or Chinese headers, Futu/Tiger style, U...
- CoinGecko — live crypto prices, market caps, 24h moves, historical charts, trending coins, and coin search across thousands of tokens
Or browse all 40 skills in the TradeLoop catalog.