Display Websocket URL in verbose mode for applicable exchanges.

This commit is contained in:
Adrian Gallagher
2015-04-10 21:16:27 +10:00
parent bbce5e6196
commit a626db2ac8
3 changed files with 3 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ func (c *Coinbase) GetFee(maker bool) (float64) {
func (c *Coinbase) Run() {
if c.Verbose {
log.Printf("%s Websocket: %s.\n", c.GetName(), IsEnabled(c.Websocket))
log.Printf("%s Websocket: %s. (url: %s).\n", c.GetName(), IsEnabled(c.Websocket), COINBASE_WEBSOCKET_URL)
log.Printf("%s polling delay: %ds.\n", c.GetName(), c.PollingDelay)
}

View File

@@ -90,7 +90,7 @@ func (l *LakeBTC) GetFee(maker bool) (float64) {
func (l *LakeBTC) Run() {
if l.Verbose {
log.Printf("%s Websocket: %s.", l.GetName(), IsEnabled(l.Websocket))
log.Printf("%s Websocket: %s. (url: %s).\n", l.GetName(), IsEnabled(l.Websocket), LAKEBTC_WEBSOCKET_URL)
log.Printf("%s polling delay: %ds.\n", l.GetName(), l.PollingDelay)
}

View File

@@ -191,7 +191,7 @@ func (o *OKCoin) GetFee(maker bool) (float64) {
func (o *OKCoin) Run() {
if o.Verbose {
log.Printf("%s Websocket: %s (url: %s).", o.GetName(), IsEnabled(o.Websocket), o.WebsocketURL)
log.Printf("%s Websocket: %s. (url: %s).\n", o.GetName(), IsEnabled(o.Websocket), o.WebsocketURL)
log.Printf("%s polling delay: %ds.\n", o.GetName(), o.PollingDelay)
}