class Binance::Spot::WebSocket
def diff_book_depth(symbol:, speed:, callbacks:)
- See: https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream -
Parameters:
-
speed
(String
) -- 1000ms or 100ms -
symbol
(String
) --
def diff_book_depth(symbol:, speed:, callbacks:) url = "#{@base_url}/ws/#{symbol.downcase}@depth@#{speed}" create_connection(url, callbacks) end