tai v0.0.10 Tai.Advisors

Link to this section Summary

Link to this section Types

Link to this type advisor_spec()
advisor_spec() ::
  {atom(),
   [group_id: atom(), advisor_id: atom(), order_books: map(), store: map()]}

Link to this section Functions

Link to this function info(specs)
info([advisor_spec()]) :: [{advisor_spec(), pid()}]
Link to this function start(specs)
start([advisor_spec()]) ::
  {:ok, {new_started :: integer(), old_started :: integer()}}
Link to this function stop(specs)
stop([advisor_spec()]) ::
  {:ok, {new_stopped :: integer(), old_stopped :: integer()}}