Open leimin78 opened 3 years ago
let r1 = await binance.futuresOrder( 'BUY', 'TRXUSDT', 100, false, { type: 'TAKE_PROFIT', stopPrice: 0.08845, symbol: 'TRXUSDT', closePosition: true } );
when i try with this get error response as below:
{ code: -1128, msg: 'Combination of optional parameters invalid.' }
+1
+1
hi i'm new here , when i using below api can create open long and open short
console.info( await binance.futuresBuy( 'TRXUSDT', 100, 0.0870 ) ); console.info( await binance.futuresSell( 'TRXUSDT', 100, 0.0880 ) );
how can i close the order by limit ?