|
1592 | 1592 | <member name="M:Binance.Net.Clients.SpotApi.BinanceRestClientSpotApiAccount.StartMarginUserStreamAsync(System.Threading.CancellationToken)"> |
1593 | 1593 | <inheritdoc /> |
1594 | 1594 | </member> |
| 1595 | + <member name="M:Binance.Net.Clients.SpotApi.BinanceRestClientSpotApiAccount.StartMarginUserListenTokenAsync(System.String,System.Nullable{System.TimeSpan},System.Threading.CancellationToken)"> |
| 1596 | + <inheritdoc /> |
| 1597 | + </member> |
1595 | 1598 | <member name="M:Binance.Net.Clients.SpotApi.BinanceRestClientSpotApiAccount.KeepAliveMarginUserStreamAsync(System.String,System.Threading.CancellationToken)"> |
1596 | 1599 | <inheritdoc /> |
1597 | 1600 | </member> |
|
6216 | 6219 | Defines the source generated JSON serialization contract metadata for a given type. |
6217 | 6220 | </summary> |
6218 | 6221 | </member> |
| 6222 | + <member name="P:Binance.Net.Converters.BinanceSourceGenerationContext.BinanceListenToken"> |
| 6223 | + <summary> |
| 6224 | + Defines the source generated JSON serialization contract metadata for a given type. |
| 6225 | + </summary> |
| 6226 | + </member> |
6219 | 6227 | <member name="P:Binance.Net.Converters.BinanceSourceGenerationContext.BinanceListResultBinanceConvertTrade"> |
6220 | 6228 | <summary> |
6221 | 6229 | Defines the source generated JSON serialization contract metadata for a given type. |
|
17241 | 17249 | <param name="ct">Cancellation token</param> |
17242 | 17250 | <returns>Listen key</returns> |
17243 | 17251 | </member> |
| 17252 | + <member name="M:Binance.Net.Interfaces.Clients.SpotApi.IBinanceRestClientSpotApiAccount.StartMarginUserListenTokenAsync(System.String,System.Nullable{System.TimeSpan},System.Threading.CancellationToken)"> |
| 17253 | + <summary> |
| 17254 | + Creates a listenToken for subscribing to the cross margin user data stream. |
| 17255 | + The token is valid for up to 24 hours. |
| 17256 | + <para><a href="https://developers.binance.com/docs/margin_trading/trade-data-stream" /></para> |
| 17257 | + </summary> |
| 17258 | + <param name="symbol">Symbol for isolated margin, null for cross margin</param> |
| 17259 | + <param name="validity">Validity of the token, max 24 hours</param> |
| 17260 | + <param name="ct">Cancellation token</param> |
| 17261 | + <returns>ListenToken and expiration time</returns> |
| 17262 | + </member> |
17244 | 17263 | <member name="M:Binance.Net.Interfaces.Clients.SpotApi.IBinanceRestClientSpotApiAccount.KeepAliveMarginUserStreamAsync(System.String,System.Threading.CancellationToken)"> |
17245 | 17264 | <summary> |
17246 | 17265 | Sends a keep alive for the current user stream listen key to keep the stream from closing. Stream auto closes after 60 minutes if no keep alive is send. 30 minute interval for keep alive is recommended. |
|
18798 | 18817 | <param name="ct">Cancellation token for closing this subscription</param> |
18799 | 18818 | <returns>A stream subscription. This stream subscription can be used to be notified when the socket is disconnected/reconnected</returns> |
18800 | 18819 | </member> |
| 18820 | + <member name="M:Binance.Net.Interfaces.Clients.SpotApi.IBinanceSocketClientSpotApiAccount.SubscribeToMarginUserDataUpdatesAsync(System.String,System.Action{CryptoExchange.Net.Objects.Sockets.DataEvent{Binance.Net.Objects.Models.Spot.Socket.BinanceStreamOrderUpdate}},System.Action{CryptoExchange.Net.Objects.Sockets.DataEvent{Binance.Net.Objects.Models.Spot.Socket.BinanceStreamOrderList}},System.Action{CryptoExchange.Net.Objects.Sockets.DataEvent{Binance.Net.Objects.Models.Spot.Socket.BinanceStreamPositionsUpdate}},System.Action{CryptoExchange.Net.Objects.Sockets.DataEvent{Binance.Net.Objects.Models.Spot.Socket.BinanceStreamBalanceUpdate}},System.Action{CryptoExchange.Net.Objects.Sockets.DataEvent{Binance.Net.Objects.Models.BinanceStreamEvent}},System.Threading.CancellationToken)"> |
| 18821 | + <summary> |
| 18822 | + Subscribes to the cross margin account update stream using a listenToken |
| 18823 | + <para><a href="https://developers.binance.com/docs/margin_trading/trade-data-stream" /></para> |
| 18824 | + </summary> |
| 18825 | + <param name="listenToken">The listenToken obtained from <see cref="M:Binance.Net.Interfaces.Clients.SpotApi.IBinanceRestClientSpotApiAccount.StartMarginUserListenTokenAsync(System.String,System.Nullable{System.TimeSpan},System.Threading.CancellationToken)">StartMarginUserListenTokenAsync</see></param> |
| 18826 | + <param name="onOrderUpdateMessage">The event handler for whenever an order status update is received</param> |
| 18827 | + <param name="onOcoOrderUpdateMessage">The event handler for whenever an oco order status update is received</param> |
| 18828 | + <param name="onAccountPositionMessage">The event handler for whenever an account position update is received</param> |
| 18829 | + <param name="onAccountBalanceUpdate">The event handler for whenever a deposit or withdrawal has been processed and the account balance has changed</param> |
| 18830 | + <param name="onUserDataStreamTerminated">The event handler for when the User Data Stream is stopped</param> |
| 18831 | + <param name="ct">Cancellation token for closing this subscription</param> |
| 18832 | + <returns>A stream subscription. This stream subscription can be used to be notified when the socket is disconnected/reconnected</returns> |
| 18833 | + </member> |
18801 | 18834 | <member name="M:Binance.Net.Interfaces.Clients.SpotApi.IBinanceSocketClientSpotApiAccount.SubscribeToUserRiskDataUpdatesAsync(System.String,System.Action{CryptoExchange.Net.Objects.Sockets.DataEvent{Binance.Net.Objects.Models.Spot.Margin.BinanceMarginCallUpdate}},System.Action{CryptoExchange.Net.Objects.Sockets.DataEvent{Binance.Net.Objects.Models.Spot.Margin.BinanceLiabilityUpdate}},System.Threading.CancellationToken)"> |
18802 | 18835 | <summary> |
18803 | 18836 | Subscribes to the risk data account update stream. Prior to using this, the <see cref="M:Binance.Net.Interfaces.Clients.SpotApi.IBinanceRestClientSpotApiAccount.StartRiskDataUserStreamAsync(System.Threading.CancellationToken)">StartRiskDataUserStreamAsync</see> method should be called to start the stream and obtaining a listen key. |
|
18808 | 18841 | <param name="ct">Cancellation token for closing this subscription</param> |
18809 | 18842 | <returns>A stream subscription. This stream subscription can be used to be notified when the socket is disconnected/reconnected</returns> |
18810 | 18843 | </member> |
| 18844 | + <member name="M:Binance.Net.Interfaces.Clients.SpotApi.IBinanceSocketClientSpotApiAccount.RenewMarginUserDataTokenAsync(System.String,System.Threading.CancellationToken)"> |
| 18845 | + <summary> |
| 18846 | + Seamlessly renew the margin user data stream listen token on the existing connection without disconnecting. Call every ~12 hours before expiry. |
| 18847 | + <para><a href="https://developers.binance.com/docs/margin_trading/trade-data-stream" /></para> |
| 18848 | + </summary> |
| 18849 | + <param name="newListenToken">Listen token retrieved by the <see cref="M:Binance.Net.Interfaces.Clients.SpotApi.IBinanceRestClientSpotApiAccount.StartMarginUserListenTokenAsync(System.String,System.Nullable{System.TimeSpan},System.Threading.CancellationToken)">StartMarginUserListenTokenAsync</see> method</param> |
| 18850 | + <param name="ct">Cancellation token for closing this subscription</param> |
| 18851 | + </member> |
18811 | 18852 | <member name="T:Binance.Net.Interfaces.Clients.SpotApi.IBinanceSocketClientSpotApiExchangeData"> |
18812 | 18853 | <summary> |
18813 | 18854 | Binance Spot Exchange Data socket requests and subscriptions |
|
26406 | 26447 | The API key |
26407 | 26448 | </summary> |
26408 | 26449 | </member> |
| 26450 | + <member name="T:Binance.Net.Objects.Models.Spot.BinanceListenToken"> |
| 26451 | + <summary> |
| 26452 | + Listen token |
| 26453 | + </summary> |
| 26454 | + </member> |
| 26455 | + <member name="P:Binance.Net.Objects.Models.Spot.BinanceListenToken.Token"> |
| 26456 | + <summary> |
| 26457 | + Token |
| 26458 | + </summary> |
| 26459 | + </member> |
| 26460 | + <member name="P:Binance.Net.Objects.Models.Spot.BinanceListenToken.ExpirationTime"> |
| 26461 | + <summary> |
| 26462 | + Expiration time |
| 26463 | + </summary> |
| 26464 | + </member> |
26409 | 26465 | <member name="T:Binance.Net.Objects.Models.Spot.BinanceListResult`1"> |
26410 | 26466 | <summary> |
26411 | 26467 | List result |
|
41244 | 41300 | <member name="M:Binance.Net.Objects.Sockets.Subscriptions.BinanceMarginRiskDataSubscription.DoHandleMessage(CryptoExchange.Net.Sockets.Default.SocketConnection,System.DateTime,System.String,Binance.Net.Objects.Models.BinanceCombinedStream{Binance.Net.Objects.Models.Spot.Margin.BinanceLiabilityUpdate})"> |
41245 | 41301 | <inheritdoc /> |
41246 | 41302 | </member> |
| 41303 | + <member name="M:Binance.Net.Objects.Sockets.Subscriptions.BinanceMarginUserDataSubscription.RenewTokenAsync(System.String,System.Threading.CancellationToken)"> |
| 41304 | + <summary> |
| 41305 | + Seamlessly renew the listen token on the existing connection without |
| 41306 | + disconnecting. Also updates the stored token so reconnects use the new value. |
| 41307 | + </summary> |
| 41308 | + </member> |
41247 | 41309 | <member name="T:Binance.Net.Objects.Sockets.Subscriptions.BinanceSpotUserDataSubscription"> |
41248 | 41310 | <inheritdoc /> |
41249 | 41311 | </member> |
|
0 commit comments