Files
etf/config/strategies/cci.yaml
aszerW 988c2335fb chore(config): 添加环境变量示例及.gitignore更新
- 新增 .env.example,包含 Tushare API、钉钉机器人和PostgreSQL数据库配置模板
- 更新.gitignore,忽略本地配置文件如 .env.local 和 config_local.py
- 添加对报表文件命名规则的支持,保留示例文件不忽略
- 删除废弃的 chart.py 及相关图表模块代码
- 新增 config/settings.py,实现从环境变量读取配置的统一接口
- 设置数据目录及缓存目录,确保目录存在,提高配置管理规范性
2026-03-18 23:33:40 +08:00

28 lines
744 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CCI技术指标筛选配置
# ==================== 数据源配置 ====================
# 数据来源: "postgresql" 或 "akshare"
data_source: "postgresql"
# ==================== 筛选参数 ====================
# CCI指标周期
day_period: 14
week_period: 14
# 筛选阈值(低于该值视为超卖信号)
threshold: -100
# 数据获取天数用于计算CCI
lookback_days: 100
# ==================== 标的池 ====================
# 指数代码列表文件路径CSV格式需包含"指数代码"和"指数名称"列)
index_fund_info_file: "index_fund_info.csv"
# ==================== 定时任务 ====================
# 运行时间24小时制
schedule_time: "19:00"
# 是否跳过周末
skip_weekend: true