Module: Bitfinex::RESTv1Stats

Included in:
RESTv1
Defined in:
lib/rest/v1/stats.rb

Instance Method Summary collapse

Instance Method Details

#stats(symbol = "btcusd") ⇒ Array

Various statistics about the requested pair.

@example:

client.stats('btcusd')

Parameters:

  • symbol (string) (defaults to: "btcusd")

    Symbol of the pair you want info about. Default ‘btcusd’

Returns:

  • (Array)


9
10
11
# File 'lib/rest/v1/stats.rb', line 9

def stats(symbol = "btcusd")
  get("stats/#{symbol}").body
end