Files
gocryptotrader/wallet.go
Scott 244cdcb48c Adds new function to interface to retrieve all enabled currency data from exchange
Implements on alphapointhttp.go
Adds new page to UI to handle exchange balances
2016-09-05 21:57:23 +10:00

14 lines
364 B
Go

package main
//ExchangeAccountInfo : Generic type to hold each exchange's holdings in all enabled currencies
type ExchangeAccountInfo struct {
Currencies []ExchangeAccountCurrencyInfo
}
//ExchangeAccountCurrencyInfo : Sub type to store currency name and value
type ExchangeAccountCurrencyInfo struct {
CurrencyName string
TotalValue int
Hold int
}