webcerebrium / java-binance-api

Java Binance API Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

withdraw is not working

noteshamrock opened this issue · comments

Is the withdraw function working? Why would the amount is long instead of double? Besides long issue on the amount parameter, I tried to run and also got following errors

"msg":"{"code":-1105,"msg":"Parameter 'recvWindow' was was empty.

Thanks

FYI, My code is as follows (I have already set api setting in binance for withdraw)

BinanceApi api = new BinanceApi(bnKey, bnSecret);
api.withdraw("ETH", address, amount,"");

Thanks