Adds support for new function GetAccountInfo which retrieves your holdings for an exchange

This commit is contained in:
Scott
2016-09-11 14:05:50 +10:00
parent 244cdcb48c
commit a24e908c24
19 changed files with 284 additions and 6 deletions

View File

@@ -192,6 +192,13 @@ func (i *ItBit) GetWallets(params url.Values) {
}
}
//TODO Get current holdings from ItBit
//GetExchangeAccountInfo : Retrieves balances for all enabled currencies for the ItBit exchange
func (e *ItBit) GetExchangeAccountInfo() (ExchangeAccountInfo, error) {
var response ExchangeAccountInfo
return response, nil
}
func (i *ItBit) CreateWallet(walletName string) {
path := "/wallets"
params := make(map[string]interface{})