diff --git a/node-binance-api.js b/node-binance-api.js index 615485fc..46537113 100644 --- a/node-binance-api.js +++ b/node-binance-api.js @@ -2122,7 +2122,9 @@ let api = function Binance( options = {} ) { */ const userDeliveryDataHandler = ( data ) => { let type = data.e; - if ( type === "MARGIN_CALL" ) { + if ( type === "listenKeyExpired" ) { + console.log("User data stream listen key expired"); + } else if ( type === "MARGIN_CALL" ) { Binance.options.delivery_margin_call_callback( fUserDataMarginConvertData( data ) );