File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,15 +38,14 @@ const binance = new Binance().options({
3838 APIKEY : 'X4BHNSimXOK6RKs2FcKqExquJtHjMxz5hWqF0BBeVnfa5bKFMk7X0wtkfEz0cPrJ' ,
3939 APISECRET : 'x8gLihunpNq0d46F2q0TWJmeCDahX5LMXSlv3lSFNbMI3rujSOpTDKdhbcmPSf2i' ,
4040 test : true ,
41- httpsProxy : 'http://188.245.226.105:3128'
41+ // httpsProxy: 'http://188.245.226.105:3128'
4242} ) ;
4343
4444const futuresBinance = new Binance ( ) . options ( {
4545 APIKEY : 'HjhMFvuF1veWQVdUbLIy7TiCYe9fj4W6sEukmddD8TM9kPVRHMK6nS2SdV5mwE5u' ,
4646 APISECRET : 'Suu9pWcO9zbvVuc6cSQsVuiiw2DmmA8DgHrUfePF9s2RtaHa0zxK3eAF4MfIk7Pd' ,
47- hedgeMode : true ,
4847 demo : true ,
49- httpsProxy : 'http://188.245.226.105:3128'
48+ // httpsProxy: 'http://188.245.226.105:3128'
5049} ) ;
5150
5251/*global describe*/
@@ -309,6 +308,7 @@ describe('Futures MarketBuy', function () {
309308 assert ( res [ 'orderId' ] !== undefined )
310309 futuresOrderId = res [ 'orderId' ] ;
311310 } catch ( e ) {
311+ console . error ( e ) ;
312312 const exceptionA = '{"code":-2010,"msg":"Account has insufficient balance for requested action."}' ;
313313 const exceptionB = '{"code":-2019,"msg":"Margin is insufficient."}'
314314 const eStr = e . toString ( ) ;
You can’t perform that action at this time.
0 commit comments