module Bitstamper::Rest::Private::Balances

Public Instance Methods

balance(currency_pair: nil) click to toggle source
# File lib/bitstamper/rest/private/balances.rb, line 6
def balance(currency_pair: nil)
  check_credentials!

  path        =   path_with_currency_pair("/v2/balance", currency_pair)
  response    =   post(path)
      
  ::Bitstamper::Models::Balance.parse(response) if response
end