Binance.UserDataStream (binance v2.0.1)
Summary
Functions
Close a ListenKey (USER_STREAM)
Close a ListenKey (USER_STREAM)
Create a ListenKey (USER_STREAM)
Generate a Listen Key (USER_STREAM)
Ping/Keep-alive a ListenKey (USER_STREAM)
Ping/Keep-alive a Listen Key (USER_STREAM)
Functions
delete_user_data_stream(listenKey, opts \\ [])
Close a ListenKey (USER_STREAM)
Close out a user data stream.
Weight: 1
Details:
- METHOD: delete
- URL: /sapi/v1/userDataStream
Mandatory params:
- listenKey - User websocket listen key
Optional params:
delete_user_data_stream_isolated(symbol, listenKey, opts \\ [])
Close a ListenKey (USER_STREAM)
Close out a user data stream.
Weight: 1
Details:
- METHOD: delete
- URL: /sapi/v1/userDataStream/isolated
Mandatory params:
- symbol -
- listenKey - User websocket listen key
Optional params:
post_user_data_stream(opts \\ [])
Create a ListenKey (USER_STREAM)
Start a new user data stream.
The stream will close after 60 minutes unless a keepalive is sent. If the account has an active listenKey
, that listenKey
will be returned and its validity will be extended for 60 minutes.
Weight: 1
Details:
- METHOD: post
- URL: /sapi/v1/userDataStream
Mandatory params:
Optional params:
post_user_data_stream_isolated(symbol, opts \\ [])
Generate a Listen Key (USER_STREAM)
Start a new user data stream.
The stream will close after 60 minutes unless a keepalive is sent. If the account has an active listenKey
, that listenKey
will be returned and its validity will be extended for 60 minutes.
Weight: 1
Details:
- METHOD: post
- URL: /sapi/v1/userDataStream/isolated
Mandatory params:
- symbol -
Optional params:
put_user_data_stream(listenKey, opts \\ [])
Ping/Keep-alive a ListenKey (USER_STREAM)
Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 30 minutes.
Weight: 1
Details:
- METHOD: put
- URL: /sapi/v1/userDataStream
Mandatory params:
- listenKey - User websocket listen key
Optional params:
put_user_data_stream_isolated(symbol, listenKey, opts \\ [])
Ping/Keep-alive a Listen Key (USER_STREAM)
Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 30 minutes.
Weight: 1
Details:
- METHOD: put
- URL: /sapi/v1/userDataStream/isolated
Mandatory params:
- symbol -
- listenKey - User websocket listen key
Optional params: