增加TDX数据源,增加交易时段盯盘设置
This commit is contained in:
@@ -21,4 +21,10 @@ MINIQMT_CONFIG = {
|
||||
'account_id': os.getenv("MINIQMT_ACCOUNT_ID", ""),
|
||||
'host': os.getenv("MINIQMT_HOST", "127.0.0.1"),
|
||||
'port': int(os.getenv("MINIQMT_PORT", "58610")),
|
||||
}
|
||||
|
||||
# TDX股票数据API配置项目地址github.com/oficcejo/tdx-api
|
||||
TDX_CONFIG = {
|
||||
'enabled': os.getenv("TDX_ENABLED", "false").lower() == "true",
|
||||
'base_url': os.getenv("TDX_BASE_URL", "http://192.168.1.222:8181"),
|
||||
}
|
||||
Reference in New Issue
Block a user