tai v0.0.50 Tai.VenueAdapters.Deribit.Stream.Connection.State

Link to this section Summary

Link to this section Types

Link to this type

channel_name()

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

credential_id()

credential_id() :: Tai.Venue.credential_id()
Link to this type

jsonrpc_id()

jsonrpc_id() :: non_neg_integer()
Link to this type

product()

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

route()

route() :: :order_books
Link to this type

t()

t() :: %Tai.VenueAdapters.Deribit.Stream.Connection.State{
  channels: [channel_name()],
  credential: {credential_id(), map()} | nil,
  jsonrpc_id: jsonrpc_id(),
  jsonrpc_requests: %{optional(jsonrpc_id()) => pos_integer()},
  last_heartbeat: pos_integer(),
  opts: map(),
  products: [product()],
  quote_depth: pos_integer(),
  routes: %{required(route()) => atom()},
  venue: venue()
}
Link to this type

venue()

venue() :: Tai.Venue.id()