mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
* 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
2 lines
362 B
JSON
2 lines
362 B
JSON
{"arg":{"channel":"trades","instId":"BTC-USDT"},"data":[{"instId":"BTC-USDT","tradeId":"674510826","px":"95634.9","sz":"0.00011186","side":"buy","ts":"1740394561685","count":"1"}]}
|
|
{"arg":{"channel":"trades","instId":"BTC-USDT"},"data":[{"instId":"BTC-USDT","tradeId":"674510827","px":"95635.3","sz":"0.00011194","side":"sell","ts":"1740394561686","count":"1"}]} |