Optimize configuration: remove unused parameters and fix dynaconf setup

This commit is contained in:
yhydev
2026-01-14 13:17:33 +08:00
parent b8c70ad448
commit 28d569bf1e
2 changed files with 58 additions and 20 deletions

30
settings.toml Normal file
View File

@@ -0,0 +1,30 @@
# Binance K线数据下载配置
[default]
# 基础URL
BASE_URL = "https://data.binance.vision/data/futures/um/monthly/klines/"
# 默认交易对
SYMBOLS = ["BOBUSDT", "BTCUSDT"]
# 默认时间间隔
INTERVAL = "1d"
# K线数据列名
KLINE_COLUMNS = [
"open_time", "open", "high", "low", "close", "volume",
"close_time", "quote_asset_volume", "number_of_trades",
"taker_buy_base_asset_volume", "taker_buy_quote_asset_volume", "ignore"
]
# 代理配置
PROXY_ENABLED = true
HTTP_PROXY = "http://localhost:1080"
HTTPS_PROXY = "http://localhost:1080"
# PostgreSQL数据库配置
DB_HOST = "localhost"
DB_PORT = 5432
DB_DATABASE = "your_database"
DB_USER = "your_username"
DB_PASSWORD = "your_password"