Portfolio Margin Pro
User Data Streams
Connect
- The websocket base url is: wss://fstream.binance.com/pm-classic
- User Data Streams are accessed at /ws/
- Example:
wss://fstream.binance.com/pm-classic/ws/XaEAKTsQSRLZAGH9tuIu37plSRsdjmlAVBoNYPUITlTAko1WI22PgmBMpI1rS8Yh - The
listenKeyis generated usingPOST /fapi/v1/listenKey.
Event: Risk Level Change
Description
- When the user's position risk ratio is too high, this stream will be pushed.
- This message is only used as risk guidance information and is not recommended for investment strategies.
RISK_LEVEL_CHANGEincludes following types:MARGIN_CALL,REDUCE_ONLY,FORCE_LIQUIDATION- In the case of a highly volatile market, there may be the possibility that the user's position has been liquidated at the same time when this stream is pushed out.
Event Name
RISK_LEVEL_CHANGE
Payload
Schema:
risklevelchange
Loading schema...
Event: PM Pro Account Update
Description
- The stream is pushed every 5 seconds with account asset status.
Event Name
PM_PRO_ACCOUNT_UPDATE
Payload
Schema:
pmProAccountUpdate
Loading schema...
Was this page helpful?
Last modified on