-
Notifications
You must be signed in to change notification settings - Fork 210
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
[BUG]: wrong price of 0 is shown on Portfolio page #2408
Comments
Not exactly the same, but likely came from same source of error of pricing. For pytomicDEX_makebot I did over past couple of days, I found this error and bot won't run on CHTA/KMD pairs: The error came from here from mm2 code: Most likely, mm2 komodo-defi-framework code base has a rounding assumption that any price below certain smaller value will be truncated to zero. Hopefully this source code limitation bug can be fixed and allow Cheetahcoin Nengcoin etc smaller coins have a pricing in Komodo wallet. Currently AtomicDEX is thinly traded and most user case is for smaller coins with cheap fees. |
the integrated maker bot needs a price source... it uses the URL you passed to it... eg https://prices.komodo.earth/api/v2/tickers ... if CHTA does not have a price there, i expect to see the above error... CHTA has a id for coinpaprika and livecoinwatch defined in https://github.com/KomodoPlatform/coins/tree/master/api_ids ... coinpaprika can't be used though, because CHTA is missing circulating supply info there and as such does not have a market cap... paprika only shows the prices of the top 2500 coins in their free API... without a mcap a coin has no ranking and as such can't be in top 2500... update the supply on paprika, so CHTA has a chance to be in top 2500 coins, then the chance is higher that there will be a price for it |
Komodo Wallet shows a price of 0 (with 8 decimals) for CHTA as coming from livecoinwatch, but the price from our endpoint on https://prices.komodo.earth/api/v2/tickers?expire_at=21600 is 0.000001 (6 decimals):
Interesting is that the price is actually used, else there wouldn't be a "Fiat Balance" value.
The text was updated successfully, but these errors were encountered: