Tai.Markets.OrderBook (tai v0.0.75)

Manage price points for the order book of a product

Link to this section Summary

Link to this section Types

Specs

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

product_symbol()

Specs

product_symbol() :: Tai.Venues.Product.symbol()
Link to this type

quote_depth()

Specs

Specs

Specs

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

Link to this section Functions

Link to this function

apply(change_set)

Specs

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

child_spec(product, quote_depth, broadcast_change_set)

Specs

Link to this function

handle_continue(arg, state)

Callback implementation for GenServer.handle_continue/2.

Callback implementation for GenServer.init/1.

Link to this function

replace(change_set)

Specs

Link to this function

start_link(list)

Specs

start_link(
  product: product(),
  quote_depth: quote_depth(),
  broadcast_change_set: boolean()
) ::
  GenServer.on_start()
Link to this function

to_name(venue, symbol)

Specs

to_name(venue_id(), product_symbol()) :: atom()