webcerebrium / java-binance-api

Java Binance API Client
MIT License
73 stars 40 forks source link

withdraw is not working #30

Open noteshamrock opened 6 years ago

noteshamrock commented 6 years ago

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

noteshamrock commented 6 years ago

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