Skip to content

Commit a8a3e14

Browse files
authored
Update 2025-07-07-openapi-doc.md
1 parent e5d62a5 commit a8a3e14

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

_posts/2025-07-07-openapi-doc.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ prevent interface requests from being maliciously tampered with. Users will save
312312

313313
***
314314

315-
### **Method 1**
315+
### **Configuration**
316316

317317
Using a configuration file.
318318

@@ -343,20 +343,6 @@ client_config = get_client_config()
343343

344344
***
345345

346-
### **Method 2**
347-
348-
Using market data queries as an example, all market data operations are implemented through the member methods of
349-
the `QuoteClient` object. Therefore, before invoking the relevant market data interfaces, you need to
350-
initialize `QuoteClient`. The implementation process is as follows:
351-
352-
First, create a `client_config` object using the function `get_client_config()` as shown in the example below. Then,
353-
pass the `client_config` object to `QuoteClient` to initialize it. Finally, call specific methods of the `QuoteClient`.
354-
The initialization of `TradeClient` and `PushClient` follows a similar process.
355-
356-
In the example below, the `read_private_key('Path to the private key PEM file')` corresponds to a PEM file that needs to
357-
be generated manually. Copy the PKCS#1 format private key from the developer page to a local file, and then fill in the
358-
complete path (including the file name) here. For example: `/data0/config/private_key.pem`. Save the private key in
359-
the `private_key.pem` file.
360346

361347
```Python
362348
from tigeropen.common.consts import (Language, # Language

0 commit comments

Comments
 (0)