package
0.0.0-20210530232945-81ab215e69dc
Repository: https://github.com/openware/irix.git
Documentation: pkg.go.dev
# README
GoCryptoTrader package Portfolio
Features for portfolio
- This package allows for the monitoring of portfolio data.
# Functions
GetCryptoIDAddress queries CryptoID for an address balance for a specified cryptocurrency.
GetEthereumBalance single or multiple address information as EtherchainBalanceResponse.
GetPortfolio returns a pointer to the portfolio base.
GetRippleBalance returns the value for a ripple address.
IsColdStorage checks if address is a cold storage wallet.
IsExchangeSupported checks if exchange is supported by portfolio address.
IsWhiteListed checks if address is whitelisted for withdraw transfers.
StartPortfolioWatcher observes the portfolio object.
# Constants
PortfolioAddressExchange is a label for an exchange address.
PortfolioAddressPersonal is a label for a personal/offline address.
# Structs
AccountInfo is a XRPScan subtype for account associations.
Address sub type holding address information for portfolio.
Base holds the portfolio base addresses.
Coin stores a coin type, balance, address and percentage relative to the total amount.
EtherchainBalanceResponse holds JSON incoming and outgoing data for Etherchain.
EthplorerResponse holds JSON address data for Ethplorer.
ExchangeAccountCurrencyInfo : Sub type to store currency name and value.
ExchangeAccountInfo : Generic type to hold each exchange's holdings in all enabled currencies.
OfflineCoinSummary stores a coin types address, balance and percentage relative to the total amount.
OnlineCoinSummary stores a coin types balance and percentage relative to the total amount.
Summary Stores the entire portfolio summary.
XRPScanAccount defines the return type for account data.