feat(): finish implementing v2 private websockets

This commit is contained in:
Tiago Siebler
2023-11-14 16:13:29 +00:00
parent de9fb8f2cd
commit a54058a205
4 changed files with 117 additions and 48 deletions

View File

@@ -75,9 +75,13 @@ export const PRIVATE_TOPICS = ['account', 'orders', 'positions', 'ordersAlgo'];
export const PRIVATE_TOPICS_V2: WsPrivateTopicV2[] = [
'account',
'orders',
'orders-algo',
'positions',
'orders-algo',
'positions-history',
'orders-crossed',
'account-crossed',
'account-isolated',
'orders-isolated',
];
export function isPrivateChannel<TChannel extends string>(