mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
* Send trades down the DataHandler * Send individual trades down the DataHandler Update the test to send the multiple trades Remove the ID setting to 0 in the test Iterate through the trades to send them down individually Rename the test to match the method * Fix the timestamp conversion * Fix the wording * Update the expected data format * Update the test name and description * Fix error case
3 lines
483 B
JSON
3 lines
483 B
JSON
{"ch":"market.btcusdt.trade.detail","ts":1630994963175,"tick":{"id":137005445109,"ts":1630994963173,"data":[{"id":137005445109359290000000000,"ts":1630994963173,"tradeId":102523573486,"amount":0.006754,"price":52648.62,"direction":"buy"}]}}
|
|
{"ch":"market.btcusdt.trade.detail","ts":1630994963174,"tick":{"id":137005445110,"ts":1630994963184,"data":[{"id":137005445109359300000000000,"ts":1630994963184,"tradeId":102523573487,"amount":0.006755,"price":52648.73,"direction":"sell"}]}}
|