Price Consensus
workflow.run_price_consensusCross-exchange agreement check for one perpetual futures price: fetches the same asset USDT/USDC-margined perpetual from a reference set of 7 liquid exchanges (Binance, Bybit, OKX, Gate, KuCoin, Hyperliquid, MEXC; the chosen one is compared against the rest) and reports the median of the others, the spread across all, and how far the chosen exchange sits from that median. Says the exchanges disagree instead of guessing: status is agree (under 0.25%), warn (0.25% to 1%), diverge (1% or more) or insufficient (fewer than 3 other exchanges returned a comparable contract; inverse, dated and unlisted contracts are not compared, and that is not a verdict on the price). Use before acting on a live price: "is this Bybit BTC price in line with the market?" Symbol is the perp symbol as that exchange names it (e.g. BTCUSDT on bybit, ETH-USDT-SWAP on okx). Returns: status, summary, median, peerMedian, spreadPct, deviationPct, sources, quotes (price per exchange), thresholds_pct, as_of. Edge cases: exchange must be a known code and symbol is that exchange own perp name (1 to 60 characters); fewer than 3 comparable peers, an unknown symbol, an inverse or dated contract or a failed quote gives status insufficient with a reason, never a guess. Not covered: order book depth, funding and basis differences between venues, spot prices, and any claim about which exchange is right; it checks agreement of last quotes only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"exchange": "<exchange>",
"symbol": "<symbol>"
},
"name": "workflow.run_price_consensus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | That exchange's own perpetual symbol, e.g. BTCUSDT (bybit/binance), ETH-USDT-SWAP (okx), BTCUSDC (hyperliquid) | |
| exchange | Yes | Exchange code of the price being checked, e.g. bybit, binance, okx, gate, kucoin, hyperliquid, mexc |