module Gemini::V1::FundingBookClient

Public Instance Methods

funding_book(currency="usd", params = {}) click to toggle source

@param currency [string] (optional) Speficy the currency, default “USD” @param params :limit_bids [int] (optional) Limit the number of funding bids returned. May be 0 in which case the array of bids is empty. @param params :limit_asks [int] (optional) Limit the number of funding offers returned. May be 0 in which case the array of asks is empty. @return [Hash] of :bids and :asks arrays @example:

client.funding_book
# File lib/gemini/v1/funding_book.rb, line 12
def funding_book(currency="usd", params = {})
  check_params(params, %i{limit_bids limit_asks})
  get("lendbook/#{currency}", params: params).body
end