增加TDX数据源,增加交易时段盯盘设置

This commit is contained in:
oficcejo
2025-11-04 22:25:42 +08:00
parent dbc6b5b359
commit 595278100f
22 changed files with 2717 additions and 85 deletions
+6
View File
@@ -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"),
}