tai v0.0.13 Tai.Advisor behaviour
A behavior for implementing a process that receives changes in the order book.
It can be used to monitor one or more quote streams and create, update or cancel orders.
Link to this section Summary
Link to this section Types
Link to this type
advisor()
advisor()
advisor() :: Tai.Advisor.t()
advisor() :: Tai.Advisor.t()
Link to this type
order()
order()
order() :: Tai.Trading.Order.t()
order() :: Tai.Trading.Order.t()
Link to this type
product()
product()
product() :: Tai.Venues.Product.t()
product() :: Tai.Venues.Product.t()
Link to this type
store()
store()
store() :: map()
store() :: map()
Link to this section Functions
Link to this function
cached_inside_quote(advisor, venue_id, product_symbol)
cached_inside_quote(advisor, venue_id, product_symbol)
cached_inside_quote(
advisor(),
Tai.Venues.Adapter.venue_id(),
Tai.Venues.Product.symbol()
) :: map() | nil
cached_inside_quote( advisor(), Tai.Venues.Adapter.venue_id(), Tai.Venues.Product.symbol() ) :: map() | nil
Link to this function
cast_order_updated(name, old_order, updated_order, callback)
Link to this function
cast_order_updated(name, old_order, updated_order, callback, opts)
Link to this function
to_name(group_id, advisor_id)
Link to this section Callbacks
Link to this callback
handle_inside_quote(order_book_feed_id, symbol, inside_quote, changes, state)
Link to this callback