Class: BinanceClient::OrderBookDepthRequest
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- BinanceClient::OrderBookDepthRequest
- Defined in:
- lib/binance_client/requests/order_book_depth_request.rb
Instance Method Summary collapse
Methods inherited from BaseRequest
Instance Method Details
#params ⇒ Object
11 12 13 14 15 |
# File 'lib/binance_client/requests/order_book_depth_request.rb', line 11 def params h = {symbol: symbol} h[:limit] = limit if not limit.nil? h.to_query end |
#path ⇒ Object
7 8 9 |
# File 'lib/binance_client/requests/order_book_depth_request.rb', line 7 def path "/api/v3/depth" end |