添加缺省配置

This commit is contained in:
yhydev
2026-02-04 09:42:43 +08:00
parent 3ad9ff6231
commit 1f95493449

13
config.py Normal file
View File

@@ -0,0 +1,13 @@
"""
Dynaconf 配置入口。
配置项可从 settings.toml、.secrets.toml 及环境变量(前缀 BINANCE_POSITION_加载。
"""
from dynaconf import Dynaconf
settings = Dynaconf(
envvar_prefix="BINANCE_POSITION",
settings_files=["settings.toml", ".secrets.toml"],
load_dotenv=True,
merge_enabled=True,
)