Skip to main content

Module subs

Module subs 

Expand description

The subscription records a connector keeps, and the generator of subscription ids.

These types are the bookkeeping of the connectors. A bot does not build them: it gets a [SubscriptionId] from a subscribe_* call and passes it back to unsubscribe.

Structs§

MdSubscription
One live market data subscription, as the connector remembers it.
SubIdGen
Hands out subscription ids of one connector, in increasing order, from a thread-safe counter.
UdSubscription
One live user data subscription, as the connector remembers it.

Enums§

MdSubKind
What a market data subscription delivers.
UdSubKind
What a user data subscription delivers.