use of com.github.jnidzwetzki.bitfinex.v2.commands.CalculateCommand in project bitfinex-v2-wss-api-java by jnidzwetzki.
the class WalletManager method calculateWalletMarginBalance.
/**
* Calculate the wallet margin balance for the given currency (e.g., BTC)
*
* @param symbol
* @throws APIException
*/
public void calculateWalletMarginBalance(final String symbol) throws APIException {
throwExceptionIfUnauthenticated();
bitfinexApiBroker.sendCommand(new CalculateCommand("wallet_margin_" + symbol));
}
use of com.github.jnidzwetzki.bitfinex.v2.commands.CalculateCommand in project bitfinex-v2-wss-api-java by jnidzwetzki.
the class WalletManager method calculateWalletFundingBalance.
/**
* Calculate the wallet funding balance for the given currency (e.g., BTC)
*
* @param symbol
* @throws APIException
*/
public void calculateWalletFundingBalance(final String symbol) throws APIException {
throwExceptionIfUnauthenticated();
bitfinexApiBroker.sendCommand(new CalculateCommand("wallet_funding_" + symbol));
}
Aggregations