Fixed stutter issues from exchange.go

This commit is contained in:
Ryan O'Hara-Reid
2017-07-27 17:28:55 +10:00
committed by Adrian Gallagher
parent 7042da1e03
commit de48b62731
40 changed files with 104 additions and 105 deletions

View File

@@ -19,7 +19,7 @@ const (
)
type ItBit struct {
exchange.ExchangeBase
exchange.Base
}
func (i *ItBit) SetDefaults() {

View File

@@ -105,8 +105,8 @@ func (i *ItBit) GetOrderbookEx(p pair.CurrencyPair) (orderbook.OrderbookBase, er
//TODO Get current holdings from ItBit
//GetExchangeAccountInfo : Retrieves balances for all enabled currencies for the ItBit exchange
func (e *ItBit) GetExchangeAccountInfo() (exchange.ExchangeAccountInfo, error) {
var response exchange.ExchangeAccountInfo
func (e *ItBit) GetExchangeAccountInfo() (exchange.AccountInfo, error) {
var response exchange.AccountInfo
response.ExchangeName = e.GetName()
return response, nil
}