Config: Check asset type when obtaining pair format

This commit is contained in:
Adrian Gallagher
2019-06-27 13:58:12 +10:00
parent 6de0606d55
commit 7dbfcb311c
10 changed files with 22 additions and 6 deletions

View File

@@ -111,6 +111,7 @@ func (b *Bitmex) SetDefaults() {
b.API.Endpoints.URLDefault = bitmexAPIURL
b.API.Endpoints.URL = b.API.Endpoints.URLDefault
b.API.Endpoints.WebsocketURL = bitmexWSURL
b.WebsocketInit()
b.Websocket.Functionality = exchange.WebsocketTradeDataSupported |
exchange.WebsocketOrderbookSupported |