Skip to content

Commit bc7b276

Browse files
committed
update test and rm hedged mode
1 parent ad07008 commit bc7b276

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/binance-class-live.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

4444
const 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();

0 commit comments

Comments
 (0)