module Binance::Spot::Stream
def delete_listen_key(listenKey)
-
listenKey
(String
) --
def delete_listen_key(listenKey) @session.limit_request(method: :delete, path: '/api/v3/userDataStream', params: { listenKey: listenKey }) end
def delete_margin_listen_key(listenKey)
-
listenKey
(String
) --
def delete_margin_listen_key(listenKey) @session.limit_request(method: :delete, path: '/sapi/v1/userDataStream', params: { listenKey: listenKey }) end
def new_listen_key
Create a ListenKey (USER_STREAM)
def new_listen_key @session.limit_request(method: :post, path: '/api/v3/userDataStream') end
def new_margin_listen_key
Create a ListenKey (USER_STREAM)
def new_margin_listen_key @session.limit_request(method: :post, path: '/sapi/v1/userDataStream') end
def renew_listen_key(listenKey)
-
listenKey
(String
) --
def renew_listen_key(listenKey) @session.limit_request(method: :put, path: '/api/v3/userDataStream', params: { listenKey: listenKey }) end
def renew_margin_listen_key(listenKey)
-
listenKey
(String
) --
def renew_margin_listen_key(listenKey) @session.limit_request(method: :put, path: '/sapi/v1/userDataStream', params: { listenKey: listenKey }) end