Support configurable HTTP user agent per exchange

This commit is contained in:
Adrian Gallagher
2018-08-07 13:05:13 +10:00
parent efc6c8d31e
commit a0de1b78a7
33 changed files with 183 additions and 9 deletions

View File

@@ -77,6 +77,7 @@ func (e *EXMO) Setup(exch config.ExchangeConfig) {
e.AuthenticatedAPISupport = exch.AuthenticatedAPISupport
e.SetAPIKeys(exch.APIKey, exch.APISecret, "", false)
e.SetHTTPClientTimeout(exch.HTTPTimeout)
e.SetHTTPClientUserAgent(exch.HTTPUserAgent)
e.RESTPollingDelay = exch.RESTPollingDelay
e.Verbose = exch.Verbose
e.Websocket = exch.Websocket