View Source ExTwelveData.RealTimePrices.SubscriptionsManager.Provider behaviour (ExTwelveData v0.2.1)

Implement the Provider behaviour to use the SubscriptionsManager.

It should return a set containing Twelve Data symbols that the user wants to subscribe to.

Link to this section Summary

Callbacks

Invoked by the subscriptions manager.

Link to this section Callbacks

@callback get_symbols() :: MapSet.t(String.t())

Invoked by the subscriptions manager.

Shoud provide the set of Twelve Data symbols to subscribe to at this point in time.