Tai.Markets.OrderBook (tai v0.0.75)
Manage price points for the order book of a product
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.handle_continue/2
.
Callback implementation for GenServer.init/1
.
Link to this section Types
Link to this type
product()
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
quote_depth() :: Tai.Markets.OrderBook.State.quote_depth()
Specs
t() :: Tai.Markets.OrderBook.State.t()
Link to this type
venue_id()
Specs
venue_id() :: Tai.Venue.id()
Link to this section Functions
Link to this function
apply(change_set)
Specs
apply(Tai.Markets.OrderBook.ChangeSet.t()) :: term()
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
child_spec(product(), quote_depth(), boolean()) :: Supervisor.child_spec()
Link to this function
handle_continue(arg, state)
Callback implementation for GenServer.handle_continue/2
.
Link to this function
init(state)
Callback implementation for GenServer.init/1
.
Link to this function
replace(change_set)
Specs
replace(Tai.Markets.OrderBook.ChangeSet.t()) :: :ok
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()