refactor: replace useDemoTrading with demoTrading in RestClientOptions for consistency

This commit is contained in:
Thanh Tung
2025-02-08 18:34:40 +07:00
parent f09e79edbd
commit 2c074b2cc6
2 changed files with 8 additions and 2 deletions

View File

@@ -11,6 +11,13 @@ export interface RestClientOptions {
/** Set to `true` to connect to testnet. Uses the live environment by default. */
// testnet?: boolean;
/**
* Set to `true` to use Bitget's demo trading: https://www.bitget.com/api-doc/common/demotrading/restapi.
*
* Disabled by default.
*/
demoTrading?: boolean;
/** Override the max size of the request window (in ms) */
recvWindow?: number;