File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff 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
317317Using 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
362348from tigeropen.common.consts import (Language, # Language
You can’t perform that action at this time.
0 commit comments