public BitfinexActivePositionsResponse[] getBitfinexActivePositions() throws IOException {
try {
BitfinexActivePositionsResponse[] activePositions =
bitfinex.activePositions(apiKey, payloadCreator, signatureCreator, new BitfinexNonceOnlyRequest("/v1/positions", String.valueOf(nextNonce())));
return activePositions;
} catch (BitfinexException e) {
throw new ExchangeException(e.getMessage());
}
}