Okx: Fix sending trades to the websocket DataHandler (#1833)

* Send trades down the DataHandler, add test

* Send the trades down to the DataHandler

Update the test to process trades for each asset type
Add raw trade data from OKX
Update the timestamp in the method

* Replace pair repetition with p var

* Update the test, remove repetition

* Rename trade var in the test

* Fix nits and slice sorting

* Compare trades

* Fix nits
This commit is contained in:
Bea
2025-03-17 06:07:28 +07:00
committed by GitHub
parent e544e99c48
commit 3d212b6279
4 changed files with 92 additions and 3 deletions

View File

@@ -2273,7 +2273,7 @@
"autoPairUpdates": true,
"websocketAPI": true,
"saveTradeData": false,
"tradeFeed": false,
"tradeFeed": true,
"fillsFeed": false
}
},