Method: Fisco::Client#get_depth

Defined in:
lib/fisco.rb

#get_depth(currency_code, counter_currency_code = "jpy") ⇒ Object

Get depth of currency_code / counter_currency_code.

Parameters:

  • currency_code (String)

    Base currency code

  • counter_currency_code (String) (defaults to: "jpy")

    Counter currency code



59
60
61
62
# File 'lib/fisco.rb', line 59

def get_depth(currency_code, counter_currency_code = "jpy")
  json = get_ssl(@fisco_public_url + "depth/" + currency_code + "_" + counter_currency_code)
  return json
end