mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-29 15:10:37 +00:00
Linked stats with Exchange ticker data.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user