Module: Bitfinex::RESTv1Ticker
- Included in:
- RESTv1
- Defined in:
- lib/rest/v1/ticker.rb
Instance Method Summary collapse
-
#ticker(symbol = "btcusd") ⇒ Hash
Gives innermost bid and asks and information on the most recent trade, as well as high, low and volume of the last 24 hours.
Instance Method Details
#ticker(symbol = "btcusd") ⇒ Hash
Gives innermost bid and asks and information on the most recent trade, as well as high, low and volume of the last 24 hours.
@example:
client.ticker
9 10 11 |
# File 'lib/rest/v1/ticker.rb', line 9 def ticker(symbol = "btcusd") get("pubticker/#{symbol}").body end |