webcerebrium / java-binance-api

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

ERROR: -1111, Precision is over the maximum defined for this asset. #31

Open nikolakurtic opened 6 years ago

nikolakurtic commented 6 years ago

Hi, I'm trying to place sell order and I'm getting this error. I have amount of 355.551 and price 0.00002898. ExchangeSymbol precisions are both 8 for base and quote. What exactly do I need to do?

I tried the same order through web interface and Binance is rounding amount to 355.

wcrbrm commented 6 years ago

Unfortunately - you should manually fix precision. Any pull request to fix this - are welcome.

may be previous discussion thread could help you https://github.com/webcerebrium/java-binance-api/issues/25#issuecomment-366067457

BadRookiDev commented 6 years ago

Can you show the stepsize and ticksize of that order? Those 2 are different.