Class: BinanceClient::OrderBook

Inherits:
BaseModel show all
Defined in:
lib/binance_client/models/order_book.rb

Instance Method Summary collapse

Instance Method Details

#asksObject



18
19
20
# File 'lib/binance_client/models/order_book.rb', line 18

def asks
  @asks ||= _entries_from(body["asks"])
end

#bidsObject



14
15
16
# File 'lib/binance_client/models/order_book.rb', line 14

def bids
  @bids ||= _entries_from(body["bids"])
end

#default_last_update_idObject



10
11
12
# File 'lib/binance_client/models/order_book.rb', line 10

def default_last_update_id
  body["lastUpdateId"]
end