Module: Bitfinex::RESTv1OrderBook
- Included in:
- RESTv1
- Defined in:
- lib/rest/v1/order_book.rb
Instance Method Summary collapse
-
#orderbook(symbol = "btcusd", params = {}) ⇒ Hash
Get the full order book.
Instance Method Details
#orderbook(symbol = "btcusd", params = {}) ⇒ Hash
Get the full order book
@example:
client.orderbook("btcusd")
12 13 14 15 |
# File 'lib/rest/v1/order_book.rb', line 12 def orderbook(symbol="btcusd", params = {}) check_params(params, %i{limit_bids limit_asks group}) get("book/#{symbol}", params).body end |