Class: BinanceClient::OrderBook
- Defined in:
- lib/binance_client/models/order_book.rb
Instance Method Summary collapse
Instance Method Details
#asks ⇒ Object
18 19 20 |
# File 'lib/binance_client/models/order_book.rb', line 18 def asks @asks ||= _entries_from(body["asks"]) end |
#bids ⇒ Object
14 15 16 |
# File 'lib/binance_client/models/order_book.rb', line 14 def bids @bids ||= _entries_from(body["bids"]) end |
#default_last_update_id ⇒ Object
10 11 12 |
# File 'lib/binance_client/models/order_book.rb', line 10 def default_last_update_id body["lastUpdateId"] end |