Closed bailantaotao closed 6 months ago
Welcome back! @bailantaotao, This pull request may get 218 BBG.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 21.77%. Comparing base (
06c533f
) to head (5c75095
).
Hi @bailantaotao,
Well done! 228 BBG has been sent to your polygon wallet. Please check the following tx:
https://polygonscan.com/tx/0xb79f4da8870061f88a77a73155460369d21b8c944880918fbe992ccf48391581
Thank you for your contribution!
Bitget API changelog
https://www.bitget.com/api-doc/common/changelog The spot order channel push now includes a new parameter newSize, which will gradually replace the existing parameter size in subsequent updates.
newSize represents the order quantity, following the specified rules:
when orderType=limit, newSize represents the quantity of base coin, when orderType=market and side=buy, newSize represents the quantity of quote coin, when orderType=market and side=sell, newSize represents the quantity of base coin
Unexpected Size field
The size filed is unexpected on limit buy order. it represents the *size volume**. This is different from what was previously tested.
The order placed a limit buy at price 1.6 and size 5.6756, but the websocket returned size 9.0809.
The raw data above is displayed in the web console.
Other data filed in size and newSize is expected.
when orderType=limit, and side = sell, newSize and size represents the quantity of base coin,
when orderType=market and side=buy, newSize and size represents the quantity of quote coin,
when orderType=market and side=sell, newSize and size represents the quantity of base coin