Expand description
Order books, market trades, candles.
Constants§
- MAX_
DEPTH - The deepest order book T-Bank serves.
- VALID_
DEPTHS - Order book depths T-Bank accepts (
SUBSCRIPTION_STATUS_DEPTH_IS_INVALID: 1, 10, 20, 30, 40, 50).
Functions§
- book_
snapshot - An order book snapshot from the two sides of a broker message, cut to
depthlevels. - candle_
interval - Timeframe to the interval name used when requesting historic candles.
- historic_
candle - A candle of
GetCandlesto [Candle]. - levels
- Levels best-first: bids by price descending, asks ascending, cut to
depth. - quote
- The best bid and the best ask of a broker order book message.
- stream_
candle - A candle of the candle stream to [
Candle]. - subscription_
interval - Timeframe to the interval name used when subscribing to candles.
- timeframe_
duration_ nanos - Length of one candle of timeframe
tf, in nanoseconds. - timeframe_
from_ interval - The interval of a candle stream message to timeframe, or
Nonefor an interval with no counterpart in the domain model. - trade
- Trades without a direction cannot be given a
Sideand are skipped. - wire_
depth - Smallest valid wire depth that covers
depthlevels.