v2.3.0: fix(#158), disable time sync by default. Optionally avoid hitting time API when connecting authenticated websocket.
This commit is contained in:
@@ -6,9 +6,7 @@ describe('Public Inverse-Futures REST API GET Endpoints', () => {
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
const api = new InverseFuturesClient(API_KEY, API_SECRET, useLivenet, {
|
||||
disable_time_sync: true,
|
||||
});
|
||||
const api = new InverseFuturesClient(API_KEY, API_SECRET, useLivenet);
|
||||
|
||||
// Warning: if some of these start to fail with 10001 params error, it's probably that this future expired and a newer one exists with a different symbol!
|
||||
const symbol = 'BTCUSDU22';
|
||||
|
||||
Reference in New Issue
Block a user