mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-03 07:26:45 +00:00
Display Websocket URL in verbose mode for applicable exchanges.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user