mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-21 23:16:49 +00:00
Subscriptions: Respect DisableAssetWebsocketSupport for assets (#1693)
* Bitmex: Add index asset to test config * Subscriptions: Fix unsupported WS assets included fixed 1692 * Bitmex: Assertify and fix tests * Subscriptions: Fix all asset subs erroring on no enabled assets Only subs with Empty asset should do anything when assets are empty. If asset is set to all and no assets are enabled, we should return nothing
This commit is contained in:
12
testdata/configtest.json
vendored
12
testdata/configtest.json
vendored
@@ -881,6 +881,18 @@
|
||||
"configFormat": {
|
||||
"uppercase": true
|
||||
}
|
||||
},
|
||||
"index": {
|
||||
"assetEnabled": true,
|
||||
"enabled": "-BWBTC",
|
||||
"available": "-BWBTC",
|
||||
"requestFormat": {
|
||||
"uppercase": true
|
||||
},
|
||||
"configFormat": {
|
||||
"uppercase": true,
|
||||
"delimiter": "-"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user