Skip to content

Dumps market orders from NATS to your SQL Database (one of "mysql", "postgresql" or "sqlite3")

License

Notifications You must be signed in to change notification settings

Ultraporing/albiondata-sql

Repository files navigation

albiondata-sql

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").

Usage

Thanks to viper and cobra you have 3 ways to configure albiondata-sql.

1.) Traditional by configfile

Just copy albiondata-sql.yaml.tmpl to albiondata-sql.yaml and edit it.

2.) By commandline arguments

See the output of the help page ./albiondata-sql -h

3.) By environment variables

For example:

ADS_DBTYPE=sqlite3 ADS_DBURI=./sqlite.db ADS_NATSURL="nats://my-nats:4222" ./albiondata-sql 

Authors

René Jochum [email protected]

LICENSE

MIT

About

Dumps market orders from NATS to your SQL Database (one of "mysql", "postgresql" or "sqlite3")

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages