-
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
remove the fixed 0.00777 min_volume #873
Comments
Thanks for opening the issue! We will still need some reasonable min_volume because it can't be zero. Should we use 10 x dust for all UTXOs? The other question is ETH: there is no dust at all for ETH, but we might possibly rely on the current gas price during calculations. However, it would be not clear how to handle the min_volume of ERC20 as we don't always have info about their price in relation to ETH. Having the |
@tonymorony Could you please advise on this? Maybe you will have a better idea 🙂 |
The UTXO coins have the lowest txfees (except BTC), so we could set min_volume to 10 x dust for all UTXO coins and keep the fixed 0.00777 for all other coins/tokens. |
We now have BTC-BEP20 too, which has a low txfee compared to BTC. Would be nice if we could swap < 0.00777 BTC-BEP20. Lowering the fixed 0.00777 to a fixed 0.000777 or even lower would be the easiest solution i guess and it would cover BTC-BEP20 too, which is not a UTXO coin with dust. |
the only idea I have (at least so far) is to make a separate |
it's fine as is. obviusly i wish i can trade any amount but we are talking onchain trading. |
BTC-BEP20 does not have such a high fee and is affected too... all coins with low fee and high USD price |
@cipig Could you please test changes from the linked PR? 🙂 |
works fine, i can now swap BUSD-BEP20 to BTC-BEP20 with min_volume 0.05$ |
Done |
Would be good if the 0.00777 fixed min_volume would be removed from code because it leads to situations like this from VRSC/BCH orderbook:
0.00777 BCH rel_min_volume results in base_min_volume of 5.79 VRSC (1 VRSC is almost 1$) and there is actually no reason for it on this pair, because the txfees are low on BCH and VRSC.
The other reason for min_volume was the dust on some chains, but this was already fixed by using the real dust settings of the respective coins.
The text was updated successfully, but these errors were encountered: