Hacker News new | ask | show | jobs
by shocks 3106 days ago
Neat!

I built something like this with a postgres database of transactions, a python script that scrapes the coinmarketcap api, and influxdb + grafana. It works well and suits my needs.

1 comments

How were you able to update the database frequently with python? I’m trying to basically have a database that mirrors historical data on an exchange, that also updates every 5 minutes — I’m trying to decide between a node server / python aws lambda.
I'm not updating the database that frequently. Every 5m I poll for new data and I update prices in the db.