Skip to content

Commit 496fc9c

Browse files
authored
add position side methods to delivery by ShadovvBeast
2 parents 7ef1505 + 1426851 commit 496fc9c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

node-binance-api.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4338,6 +4338,14 @@ let api = function Binance( options = {} ) {
43384338
return promiseRequest( 'v1/allOrders', params, { base:dapi, type:'SIGNED' } );
43394339
},
43404340

4341+
deliveryPositionSideDual: async ( params = {} ) => {
4342+
return promiseRequest( 'v1/positionSide/dual', params, { base:dapi, type:'SIGNED' } );
4343+
},
4344+
4345+
deliveryChangePositionSideDual: async ( dualSidePosition, params = {} ) => {
4346+
params.dualSidePosition = dualSidePosition;
4347+
return promiseRequest( 'v1/positionSide/dual', params, { base:dapi, type:'SIGNED', method:'POST' } );
4348+
},
43414349

43424350
//** Margin methods */
43434351
/**

0 commit comments

Comments
 (0)