Skip to content

aetelier_types::trading_pair

Canonical trading pair representation Canonical trading pair representation.

TradingPair decomposes a trading pair into its base and quote assets, providing format conversions for every exchange and a canonical "BASE/QUOTE" form that serves as the universal join key across the aetelier ecosystem.

Exchange formats

Exchange Wire format Example
Bybit BASEQUOTE SOLUSDT
Binance basequote solusdt
Coinbase BASE-QUOTE SOL-USD
Kraken BASE/QUOTE SOL/USDT

The canonical form matches the backend DB pair column convention (SOL/USDT, slash-separated, uppercase).

Skeleton API reference

This page lists the public items in aetelier_types::trading_pair with a one-line summary each. Signatures and source live in the SDK repository.

Structs

Item Summary
TradingPair Canonical trading pair — base and quote stored separately, uppercase.