PCM

by rand-tech
Verified

get-orderbook

Retrieve the market order book for a specified trading pair and exchange, enabling analysis of bid and ask depth for informed decision-making in trading strategies.

Instructions

Get market order book for a trading pair

Input Schema

NameRequiredDescriptionDefault
exchangeYesExchange ID (e.g., binance, coinbase)
limitNoDepth of the orderbook
symbolYesTrading pair symbol (e.g., BTC/USDT)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "exchange": { "description": "Exchange ID (e.g., binance, coinbase)", "type": "string" }, "limit": { "default": 20, "description": "Depth of the orderbook", "type": "number" }, "symbol": { "description": "Trading pair symbol (e.g., BTC/USDT)", "type": "string" } }, "required": [ "exchange", "symbol" ], "type": "object" }
ID: ma2f8iji6w