Module: Luno::Markets
- Included in:
- Client
- Defined in:
- lib/luno/markets.rb
Instance Method Summary collapse
- #list_ticker_for_pair(pair:) ⇒ Object
- #list_tickets_for_all_pairs ⇒ Object
- #market_top_100_bids(pair: 'XBTZAR') ⇒ Object
Instance Method Details
#list_ticker_for_pair(pair:) ⇒ Object
8 9 10 11 |
# File 'lib/luno/markets.rb', line 8 def list_ticker_for_pair(pair:) path = 'ticker' (http_method: :get, path: path, params: { pair: pair }) end |
#list_tickets_for_all_pairs ⇒ Object
13 14 15 16 |
# File 'lib/luno/markets.rb', line 13 def list_tickets_for_all_pairs path = 'tickers' (http_method: :get, path: path) end |
#market_top_100_bids(pair: 'XBTZAR') ⇒ Object
3 4 5 6 |
# File 'lib/luno/markets.rb', line 3 def market_top_100_bids(pair: 'XBTZAR') path = "orderbook_top?pair=#{pair}" (http_method: :get, path: path) end |