Configure the TigerOpen SDK
masterBefore using the SDK, you must obtain your tiger_id, private_key (must be in PKCS#1 format), and account from the Developer Portal.
Option A: Using a properties file
Create a file named tiger_openapi_config.properties with the following content:
tiger_id=your_tiger_id
private_key_pk1=your_pkcs1_private_key
account=your_accountThen initialize the config in Python:
from tigeropen.tiger_open_config import TigerOpenClientConfig
config = TigerOpenClientConfig(props_path='~/.tigeropen/')Option B: Direct configuration in code
from tigeropen.tiger_open_config import TigerOpenClientConfig
config = TigerOpenClientConfig()
config.tiger_id = 'your_tiger_id'
config.account = 'your_account'
config.private_key = 'your_private_key_content'from tigeropen.tiger_open_config import TigerOpenClientConfig
config = TigerOpenClientConfig()
config.tiger_id = 'your_tiger_id'
config.account = 'your_account'
config.private_key = 'your_private_key_content'