add support for contract v3 websockets

This commit is contained in:
tiagosiebler
2022-11-12 12:40:43 +00:00
parent 7c6d02ea8b
commit 5df19e83bc
4 changed files with 79 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
import { ContractClient } from '../contract-client';
import { InverseClient } from '../inverse-client';
import { LinearClient } from '../linear-client';
import { SpotClient } from '../spot-client';
@@ -13,7 +14,8 @@ export type RESTClient =
| SpotClientV3
| USDCOptionClient
| USDCPerpetualClient
| UnifiedMarginClient;
| UnifiedMarginClient
| ContractClient;
export type numberInString = string;

View File

@@ -9,7 +9,9 @@ export type APIMarket =
| 'usdcOption'
| 'usdcPerp'
| 'unifiedPerp'
| 'unifiedOption';
| 'unifiedOption'
| 'contractUSDT'
| 'contractInverse';
// Same as inverse futures
export type WsPublicInverseTopic =