Class: BitcointradeSDK::Public
- Defined in:
- lib/bitcointrade_sdk/public.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#orders ⇒ Object
9 10 11 |
# File 'lib/bitcointrade_sdk/public.rb', line 9 def orders send_request(:get, "/public/BTC/orders", {}, true ) end |
#ticker ⇒ Object
5 6 7 |
# File 'lib/bitcointrade_sdk/public.rb', line 5 def ticker send_request(:get, "/public/BTC/ticker", {}, true)['data'] end |
#trades(opts = {}) ⇒ Object
13 14 15 |
# File 'lib/bitcointrade_sdk/public.rb', line 13 def trades(opts = {}) send_request(:get, "/public/BTC/trades", opts, true)['data'] end |