Module: HuobiApi::Accounts
- Included in:
- Client
- Defined in:
- lib/huobi_api/accounts.rb
Instance Method Summary collapse
Instance Method Details
#accounts ⇒ Object
3 4 5 6 |
# File 'lib/huobi_api/accounts.rb', line 3 def accounts endpoint = "/v1/account/accounts" get(endpoint, {}) end |
#balances ⇒ Object
8 9 10 11 |
# File 'lib/huobi_api/accounts.rb', line 8 def balances endpoint = "/v1/account/accounts/#{HuobiApi.account_id}/balance" get(endpoint, {}) end |