We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e3a698 + 7072098 commit 62819d4Copy full SHA for 62819d4
1 file changed
node-binance-api.js
@@ -2078,7 +2078,7 @@ let api = function Binance( options = {} ) {
2078
if ( Binance.options.margin_execution_callback ) Binance.options.margin_execution_callback( data );
2079
} else if ( type === 'listStatus' ) {
2080
if ( Binance.options.margin_list_status_callback ) Binance.options.margin_list_status_callback( data );
2081
- } else if ( type === 'outboundAccountPosition' ) {
+ } else if ( type === 'outboundAccountPosition' || type === 'balanceUpdate') {
2082
Binance.options.margin_balance_callback( data );
2083
} else {
2084
Binance.options.log( 'Unexpected userMarginData: ' + type );
0 commit comments