The albiondata-client pulls MarketOrders from the network traffic and pushes them to NATS, albiondata-sql dumps those from NATS to your SQL Database (one of "mysql", "postgresql" or "sqlite3").
Thanks to viper and cobra you have 3 ways to configure albiondata-sql.
Just copy albiondata-sql.yaml.tmpl to albiondata-sql.yaml and edit it.
See the output of the help page ./albiondata-sql -h
For example:
ADS_DBTYPE=sqlite3 ADS_DBURI=./sqlite.db ADS_NATSURL="nats://my-nats:4222" ./albiondata-sql
René Jochum [email protected]
MIT