mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-23 23:16:49 +00:00
BTSE: Fix sending trades to the websocket DataHandler (#1845)
* Fix ws trades stream Update the raw trade data to match the API docs Fix extracting the pair from the topic Update the test Amend the configtest to enable the trade feed * Rename the test, exctract pair from symbol * Add check if neither trade feed or save trade data is enabled * Update the channel name to match the API docs * Change side parsing * Change tradeHistory Side type * Fix linter and nit * Fix linter * Fix the channel trades channel name
This commit is contained in:
4
testdata/configtest.json
vendored
4
testdata/configtest.json
vendored
@@ -397,7 +397,9 @@
|
||||
},
|
||||
"enabled": {
|
||||
"autoPairUpdates": true,
|
||||
"websocketAPI": true
|
||||
"websocketAPI": true,
|
||||
"saveTradeData": false,
|
||||
"tradeFeed": true
|
||||
}
|
||||
},
|
||||
"bankAccounts": [
|
||||
|
||||
Reference in New Issue
Block a user