Dependency:
- JDK 8
- Maven 3+
To package fat jar (all deps included):
mvn package
To run:
java -jar target/bitcoin-exchange-rates-1.0-SNAPSHOT-fat.jar
This is timeseries data, so a timeseries DB like DynamoDB, Cassandra or InfluxDB would be ideally suited to storing & retreiving this data.
A DynamoDB data model would look like this:
exchange (hash key)
timestamp (range key)
bid
ask
last
Data model for Cassandra would also look identical to this.