Method: IGMarkets::Streaming::MarketSubscriptionManager#initialize

Defined in:
lib/ig_markets/streaming/market_subscription_manager.rb

#initialize(dealing_platform) ⇒ MarketSubscriptionManager

Initializes this market subscription manager with the specified dealing platform.

Parameters:



12
13
14
15
16
17
# File 'lib/ig_markets/streaming/market_subscription_manager.rb', line 12

def initialize(dealing_platform)
  @dealing_platform = dealing_platform

  @subscriptions = {}
  @on_data_callbacks = []
end