lib/ig_markets/streaming/market_subscription_manager.rb
# Removes all market subscriptions and data callbacks.
Removes all market subscriptions and data callbacks.
Removes all market subscriptions and data callbacks .
def clear
        @dealing_platform.streaming.remove_subscriptions @subscriptions.values
        @subscriptions = {}
        @on_data_callbacks = []
      end
def clear @dealing_platform . streaming . remove_subscriptions @subscriptions . values @subscriptions = { } @on_data_callbacks = [ ] end
Removes all market subscriptions and data callbacks.
Removes all market subscriptions and data callbacks .