Updated WebSocketService to work with TradingCore changes.