djirdehh / crypto_vue

💠 A Vue.js based real-time dashboard of the top 10 cryptocurrencies
https://www.cryptovue.com/
351 stars 53 forks source link

FEATURE REQUEST: add price history #9

Open desaianuj opened 7 years ago

desaianuj commented 7 years ago

add a price history graph in the detail page

cryptovue google chrome today at 10 21 22 pm

and perhaps a sparkline in the overview page

cryptovue google chrome today at 10 13 51 pm
hansenbeautyspotter commented 7 years ago

I would love to see this

djirdehh commented 7 years ago

This is a great idea. Will definitely look into this right after I resolve current bugs/improvements. Might have to employ a library like http://www.chartjs.org/

desaianuj commented 7 years ago

i can definitely take this on too if you need!

djirdehh commented 7 years ago

That would be awesome @desaianuj.

This might be more difficult than I initially thought though. The API I'm currently using (https://api.coinmarketcap.com/v1/ticker/) only provides up to date currency prices. If we stick with this we'd have to cache/store the information over time through a db or something along the lines.

These are my initial thoughts/understanding however.

PseudoSky commented 7 years ago

Hey, I think this would be really cool as well. Have you guys checked out GDAX?

https://docs.gdax.com/#get-historic-rates

djirdehh commented 7 years ago

@PseudoSky Very nice! Will be looking into that once I start tackling this.