Expand description
What is listed and what it trades at: perps, spot, HIP-3 dexes and HIP-4 outcomes; books, candles, trades, mids and funding.
Re-exports§
pub use dex::Dex;pub use dex::split_coin;pub use reads::Candle;pub use reads::Interval;pub use reads::L2Book;pub use reads::Level;pub use reads::MarketTrade;pub use reads::Mids;pub use reads::Precision;pub use reads::UnknownInterval;pub use side::Side;
Modules§
- book
l2Book: a market’s visible book, the same shape from/infoand from the socket. Prices and sizes are exactDecvalues read from the venue’s strings.- candle
- Candles and their intervals, the same shape from
candleSnapshotand from thecandlefeed. - context
- Asset contexts: what a market is doing now.
PerpCtxfor a perp on any dex,SpotCtxfor a spot pair or an outcome side, each the same shape from/infoand from the socket. - dex
- Which perp dex a read or a coin is about: a request without
dexis the main dex’s, one with"dex":"xyz"that HIP-3 dex’s. A HIP-3 coin isdex:SYMBOL; its asset id isAsset::hip3. - dexes
- HIP-3 builder-deployed perp dexes: the dex list, each dex’s meta and contexts, limits and status.
- mids
allMids: every coin’s mid on one perp dex, the same map from/infoand from the socket.- outcomes
- HIP-4 outcomes: coins, the price grid,
outcomeMetaand templates in words, books, quotes, set scans, settlements. - perps
- Perps on the main dex: meta and contexts, margin tables, order rules and funding.
- reads
- Market data every market kind shares:
l2Book,candleSnapshot,recentTradesandallMids. A coin isBTC,xyz:XYZ100on a HIP-3 dex,@107orPURR/USDCfor a pair,#14730for an outcome side. - side
- The side of an order, a fill, a trade or a book level:
BandAon the wire, one type wherever the venue writes it. - spot
- Spot: tokens, pairs and their contexts, and token details.
- trades
- A print: one trade on a market’s tape, the same shape from
recentTradesand from thetradesfeed.