Skip to content
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

Currency unit Dash, not correct value #61

Open
xcelente opened this issue May 31, 2021 · 1 comment
Open

Currency unit Dash, not correct value #61

xcelente opened this issue May 31, 2021 · 1 comment

Comments

@xcelente
Copy link

I'm not sure why the Dash price stopped working, it's not the price from Coinpaprika.

While I'm here, can you add Decred and Beam to the price feed (DCR, BEAM)?

Thanks

@xcelente
Copy link
Author

xcelente commented Jun 2, 2021

I have figured out why the dash price is wrong.

Different coins can have the same symbol. That's stupid, I know, but that's what it is happening, it is showing the price of DoorDash because it has the same symbol. To get the real price of dash, you need to extract by the id "dash-dash". Look at the raw json that is being fetched to see what I mean.

The other way to do this, is to ignore duplicate symbols with a lower rank. I guess that would work until DoorDash goes higher than the real dash. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant