Class: Ubea::Exchange::KrakenUsd

Inherits:
KrakenBase show all
Defined in:
lib/ubea/exchanges/kraken_usd.rb

Constant Summary

Constants inherited from KrakenBase

Ubea::Exchange::KrakenBase::BadResponseError, Ubea::Exchange::KrakenBase::RateError

Instance Attribute Summary

Attributes inherited from Base

#last_rtt, #order_book, #updated_at

Instance Method Summary collapse

Methods inherited from KrakenBase

#balance, #name, #open_orders, #open_orders?, #refresh_order_book!, #trade!, #trade_fee

Methods inherited from Base

#balance, #id, #name, #short_name, #trade_fee

Instance Method Details

#exchange_settingsObject



8
9
10
# File 'lib/ubea/exchanges/kraken_usd.rb', line 8

def exchange_settings
  Ubea.config.exchange_settings[:kraken_usd]
end

#fiat_currencyObject



4
5
6
# File 'lib/ubea/exchanges/kraken_usd.rb', line 4

def fiat_currency
  "USD"
end