XChange
XChange copied to clipboard
BinanceAccountService assumes futures account when not using sandbox
if(exchange.usingSandbox()){
...
} else {
BinanceFutureAccountInformation futureAccountInformation = futuresAccount();
...
}
This was fixed here: https://github.com/knowm/XChange/commit/021e4fb7894ff442f3d479938fe3ec1542510439
And is in develop branch.