Skip to content

Commit

Permalink
change default family
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiei committed Feb 9, 2025
1 parent 4e52a60 commit f9db7b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node-binance-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ let api = function Binance( options = {} ) {
test: false,
hedgeMode: false,
localAddress: false,
family: false,
family: 4,
log: function ( ...args ) {
console.log( Array.prototype.slice.call( args ) );
}
Expand Down Expand Up @@ -367,7 +367,7 @@ let api = function Binance( options = {} ) {
side: side,
type: 'LIMIT'
};
if(typeof flags.quoteOrderQty !== undefined && flags.quoteOrderQty > 0)
if( typeof flags.quoteOrderQty !== undefined && flags.quoteOrderQty > 0 )
opt.quoteOrderQty = flags.quoteOrderQty
else
opt.quantity = quantity
Expand Down

0 comments on commit f9db7b0

Please sign in to comment.