Tai.Venue (tai v0.0.75)

Link to this section Summary

Link to this section Types

Specs

account() :: Tai.Venues.Account.t()

Specs

adapter() :: Tai.Venues.Adapter.t()

Specs

channel() :: atom()
Link to this type

credential()

Specs

credential() :: map()
Link to this type

credential_id()

Specs

credential_id() :: atom()
Link to this type

credentials()

Specs

credentials() :: %{optional(credential_id()) => account()}

Specs

id() :: atom()

Specs

t() :: %Tai.Venue{
  accounts: String.t() | {module(), func_name :: atom()},
  adapter: adapter(),
  broadcast_change_set: boolean(),
  channels: [channel()],
  credentials: credentials(),
  id: id(),
  market_streams:
    String.t()
    | {module(), func_name :: atom()}
    | {module(), func_name :: atom(), func_args :: list()},
  opts: map(),
  products:
    String.t()
    | {module(), func_name :: atom()}
    | {module(), func_name :: atom(), func_args :: list()},
  quote_depth: pos_integer(),
  start_on_boot: boolean(),
  stream_heartbeat_interval: pos_integer(),
  stream_heartbeat_timeout: pos_integer(),
  timeout: pos_integer()
}