/** * Get all wallets * @return * @throws BitfinexClientException */ public Collection<BitfinexWallet> getWallets() throws BitfinexClientException { throwExceptionIfUnauthenticated(); synchronized (walletTable) { return Collections.unmodifiableCollection(walletTable.values()); } }
/** * Calculate the wallet funding balance for the given currency (e.g., BTC) * * @param symbol * @throws BitfinexClientException */ public void calculateWalletFundingBalance(final String symbol) throws BitfinexClientException { throwExceptionIfUnauthenticated(); client.sendCommand(new CalculateCommand("wallet_funding_" + symbol)); }
/** * Calculate the wallet margin balance for the given currency (e.g., BTC) * * @param symbol * @throws BitfinexClientException */ public void calculateWalletMarginBalance(final String symbol) throws BitfinexClientException { throwExceptionIfUnauthenticated(); client.sendCommand(new CalculateCommand("wallet_margin_" + symbol)); }