feat: add useDemoTrading flag to BaseRestClient for demo mode support

This commit is contained in:
Thanh Tung
2025-02-08 09:56:52 +07:00
parent 59824c25c5
commit f09e79edbd
3 changed files with 4 additions and 2 deletions

View File

@@ -1262,7 +1262,7 @@ export class RestClientV2 extends BaseRestClient {
}
getFuturesContractConfig(params: {
symbol: string;
symbol?: string;
productType: FuturesProductTypeV2;
}): Promise<APIResponse<FuturesContractConfigV2[]>> {
return this.get('/api/v2/mix/market/contracts', params);