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:
Bea
2025-03-20 08:33:08 +07:00
committed by GitHub
parent fafee93e1b
commit d857d704e3
5 changed files with 76 additions and 30 deletions

View File

@@ -397,7 +397,9 @@
},
"enabled": {
"autoPairUpdates": true,
"websocketAPI": true
"websocketAPI": true,
"saveTradeData": false,
"tradeFeed": true
}
},
"bankAccounts": [