4 ms·
Nice! A single server-generated multi-series chart would be nice but if it takes away from the simplicity then that's fine. If you haven't already seen it you c
by mephitix 9y ago
Nice! A single server-generated multi-series chart would be nice but if it takes away from the simplicity then that's fine. If you haven't already seen it you can get volume/price/marketcap between a start/end date. https://graphs2.coinmarketcap.com/currencies/bitcoin/1487234367000/1518770367000/ https://graphs2.coinmarketcap.com/currencies/bitcoin/1487234...
- dmichulke 9y agoYou mean an image that shows the top X price time series? If so, I have a few questions: - On a per-portfolio basis or just for the top 5 coins (+ maybe market cap)? - update interval should be more like 2 minutes (like the site) or once per day is ok? - start-time should be how many days back? From a dev perspective, it would be nice if there were a solution to this that allowed for either A. time series caching (to avoid stressing CMC) or B. image caching (to avoid CPU load, this currently runs on a free gcp instance).
- mephitix 9y agoFor me, personally: - One aggregated portfolio position over time would be enough for me i think - Once per day is fine - Given crypto volatility, 1 year would work. Maybe a combo of image caching and time series caching would make this economical. Image caching for aggregated portfolio position - and if you're generating the image everyday (or eventually more frequently) for many portfolios then you could calculate and cache the individual coin time series and use that cache to aggregate and generate many charts.