3 ms·
You 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 mark
by dmichulke 9y ago
You 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.