add example and test for private contract v3 websocket topics
This commit is contained in:
@@ -12,10 +12,15 @@ import {
|
||||
} from '../ws.util';
|
||||
|
||||
describe('Private Unified Margin Websocket Client', () => {
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
let wsClient: WebsocketClient;
|
||||
|
||||
const wsClientOptions: WSClientConfigurableOptions = {
|
||||
market: 'unifiedPerp',
|
||||
key: API_KEY,
|
||||
secret: API_SECRET,
|
||||
};
|
||||
|
||||
beforeAll(() => {
|
||||
|
||||
Reference in New Issue
Block a user