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

@@ -28,7 +28,7 @@ const (
)
type ANX struct {
exchange.ExchangeBase
exchange.Base
}
func (a *ANX) SetDefaults() {

View File

@@ -66,8 +66,8 @@ func (e *ANX) GetOrderbookEx(p pair.CurrencyPair) (orderbook.OrderbookBase, erro
}
//GetExchangeAccountInfo : Retrieves balances for all enabled currencies for the ANX exchange
func (e *ANX) GetExchangeAccountInfo() (exchange.ExchangeAccountInfo, error) {
var response exchange.ExchangeAccountInfo
func (e *ANX) GetExchangeAccountInfo() (exchange.AccountInfo, error) {
var response exchange.AccountInfo
response.ExchangeName = e.GetName()
return response, nil
}