Tai.Markets.OrderBook.State (tai v0.0.75)

Link to this section Summary

Link to this section Types

Link to this type

market_quote()

Specs

market_quote() :: Tai.Markets.Quote.t()

Specs

price() :: number()

Specs

product() :: Tai.Venues.Product.t()
Link to this type

product_symbol()

Specs

product_symbol() :: Tai.Venues.Product.symbol()

Specs

qty() :: number()
Link to this type

quote_depth()

Specs

quote_depth() :: pos_integer()

Specs

t() :: %Tai.Markets.OrderBook.State{
  asks_table: atom(),
  bids_table: atom(),
  broadcast_change_set: boolean(),
  last_quote_asks: [{price(), qty()}],
  last_quote_bids: [{price(), qty()}],
  quote_depth: quote_depth(),
  symbol: product_symbol(),
  venue: venue_id()
}

Specs

venue_id() :: Tai.Venue.id()