Linked stats with Exchange ticker data.

This commit is contained in:
Adrian Gallagher
2015-03-18 18:33:02 +11:00
parent e65fbf6a77
commit b4e90fb2ee
11 changed files with 40 additions and 70 deletions

View File

@@ -121,6 +121,7 @@ func (b *Bitstamp) Run() {
go func() {
BitstampBTC := b.GetTicker()
log.Printf("Bitstamp BTC: Last %f High %f Low %f Volume %f\n", BitstampBTC.Last, BitstampBTC.High, BitstampBTC.Low, BitstampBTC.Volume)
AddExchangeInfo(b.GetName(), "BTC", BitstampBTC.Last, BitstampBTC.Volume)
}()
time.Sleep(time.Second * b.PollingDelay)
}