diff --git a/docs/index.html b/docs/index.html index 7449077d..87607bf2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2701,7 +2701,13 @@
await bitfinexSocketClient.SpotApi.SubscribeToUserUpdatesAsync(orderHandler: data => {
@@ -2749,6 +2755,12 @@ {
// Handle update
+});
+
+// The listen key will stay valid for 60 minutes, after this the connection is closed and reconnecting with the same listen key will fail
+// To extend the life time of the listen key it is recommended to call the KeepAliveUserStreamAsync method every 30 minutes
+_ = Task.Run(async () => {
+ await mexcClient.SpotApi.Account.KeepAliveUserStreamAsync(token.Data);
});