There is an action on UI to convert funds in your USD-M Futures account.
When it’s triggered, COIN_SWAP_ORDER event is received via WebSocket;
However, there it is not documented in any way. Moreover, the parameter names are not really developer-friendly - “a”, “o” etc…
However, there it is not documented in any way.
Thank you for the feedback. I will pass this on to the respective team.
Moreover, the parameter names are not really developer-friendly - “a”, “o”
The property names are shortened to increase efficiency by reducing the size of the payload. However with that being said, it may be confusing to first-time users. I will also inform the team about this issue for better clarity.
It is 2024, and there is still no documentation for the COIN_SWAP_ORDER
type of FuturesUserDataUpdateEvent
. I encountered this in the web socket stream today after converting USDT to BNB through the GUI.
COIN_SWAP_ORDER appears to be at the same level as an ACCOUNT_UPDATE event, but it is difficult to reconstruct from logs just what the Event structure is.
Documentation that does exist suggests that COIN_SWAP_DEPOSIT
and COIN_SWAP_WITHDRAWAL
are ‘reasons’ for ACCOUNT_UPDATE
events, which is consistent with my logs. HOWEVER, COIN_SWAP_ORDER
does not seem to be an ACCOUNT_UPDATE
type of event.
Please document COIN_SWAP_ORDER
and related COIN_SWAP_DEPOSIT
and COIN_SWAP_WITHDRAWL
.