KomodoPlatform / komodo-defi-framework

This is the official Komodo DeFi Framework repository
https://komodoplatform.com/en/docs/komodo-defi-framework/
103 stars 94 forks source link

Implements commands `min_trading_vol` and `max_taker_vol` as a part of adex-cli #1797

Closed rozhkovdmitrii closed 1 year ago

rozhkovdmitrii commented 1 year ago

Impact

min_trading_vol coin

The min_trading_vol method returns the minimum required volume for buy/sell/setprice methods for the selected coin.

max_taker_vol coin

The max_taker_vol method returns the maximum available volume for buy/sell methods for selected coin. This takes the dex fee and blockchain miner fees into account. The result should be used as is for sell method or divided by price for buy method.

Todo:

There are commands in Komodo Wallet RPC API that should be provided by the adex-cli:

rozhkovdmitrii commented 1 year ago

superseded by #1799