Market Data

Resolve cross-rates for trading pairs from the collected ticker pool.

Rates are resolved via direct, reverse or bridged paths. When connector is set, only that exchange's tickers are used; otherwise the merged multi-exchange pool is used.

post/market-data/rates

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/market-data/rates
  • Auth
    HTTP basic

Request body

trading_pairsstring[] required

Trading pairs to price (e.g., ['BTC-USDT', 'ETH-USDT'])

connectorstring nullable

If set, resolve rates using only this connector's tickers

Response

Successful Response

quote_tokenstring required

Configured global quote token

connectorstring nullable

Connector used, if scoped

ratesobject required

Trading pair to rate mapping (None if not resolvable)

Changes