-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using max_taker_vol values to initiate trade sometimes results in "req funds larger than available" #733
Comments
Thanks for report! Checking now. |
The problem is |
Results of latest test on curl --url "http://127.0.0.1:7783" --data "{"userpass":"$userpass","method":"version"}" curl --url "http://127.0.0.1:7783" --data "{"method":"max_taker_vol","coin":"ZEC","userpass":"$userpass","mm2":1}" curl --url "http://127.0.0.1:7783" --data "{"userpass":"$userpass","method":"sell","base":"ZEC","rel":"KMD","volume":{"numer":"1059691","denom":"20000000"},"price":""2000""}"
curl --url "http://127.0.0.1:7783" --data "{"userpass":"$userpass","method":"get_trade_fee","coin":"ZEC"}" |
@smk762 Could you please confirm that it works fine now? |
Tested a few times, did not encounter the "required {coin} amount {amount} is larger than available {balance}" error. |
In some cases, using the values returned from
max_taker_vol
to submit a trade returns "req amount is larger than balance.Issue first encountered during AtomicDEX-Desktop testing, then checked using CLI directly with mm2 to confirm. Console output below -
I've seen this with ZEC and BCH.
With BCH, after doing a swap that was half of total, doing a subsequent trade with the remainder was successful.
I've left the account with ZEC relating to the issue as is, and can provide the seed for testing if required.
The text was updated successfully, but these errors were encountered: