Skip to content

Sync crypto currency rates from the Litebit API to InfluxDB

Notifications You must be signed in to change notification settings

jordyv/crypto-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Sync

Usage

Usage: crypto-sync [<flags>] <coin code> <coin code>
  -host string
        Host for InfluxDB (default "localhost")
  -port int
        Port for InfluxDB (default 6086)
  -time duration
        Time between syncs, eg 10s or 5m (default 10s)
./crypto-sync -time 5m lsk btk

Run as background process

# Run every 5 minutes and output to syslog
./crypto-sync -time 5m lsk btk | logger -t crypto-sync &

Development

  • Install dependencies with dep: dep ensure
  • Build binary for your system: make

About

Sync crypto currency rates from the Litebit API to InfluxDB

Resources

Stars

Watchers

Forks

Packages

No packages published