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