-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
154 lines (140 loc) · 3.21 KB
/
Copy pathconfig.example.yaml
File metadata and controls
154 lines (140 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
timezone: Asia/Shanghai
paths:
database: data/ndx_dca.sqlite
reports_dir: reports
schedule:
warm_cache_time: "14:40:00"
run_time: "14:55:00"
data_deadline_seconds: 30
push_on_non_trading_day: false
fund_universe:
mode: manual
include:
- code: "513100"
name: "国泰纳斯达克100ETF"
market: "sh"
enabled: true
- code: "159941"
name: "广发纳斯达克100ETF"
market: "sz"
enabled: true
- code: "513300"
name: "华夏纳斯达克100ETF"
market: "sh"
enabled: true
- code: "513110"
name: "华泰柏瑞纳斯达克100ETF"
market: "sh"
enabled: true
- code: "513390"
name: "博时纳斯达克100ETF"
market: "sh"
enabled: true
- code: "159632"
name: "华安纳斯达克100ETF"
market: "sz"
enabled: true
- code: "159659"
name: "招商纳斯达克100ETF"
market: "sz"
enabled: true
- code: "159660"
name: "汇添富纳斯达克100ETF"
market: "sz"
enabled: true
- code: "159501"
name: "嘉实纳斯达克100ETF"
market: "sz"
enabled: true
- code: "159513"
name: "大成纳斯达克100ETF"
market: "sz"
enabled: true
- code: "159696"
name: "易方达纳斯达克100ETF"
market: "sz"
enabled: true
watchlist:
- code: "161130"
name: "易方达纳斯达克100指数(QDII-LOF)"
reason: "LOF 不纳入默认 ETF 买入池"
premium_filter:
lookback_days: 60
min_history_days: 40
max_percentile: 0.70
hard_cap: 0.12
fund_selection:
near_tie_threshold: 0.003
market_score:
threshold: 60
medium_trend:
weight: 25
ma_days: 120
short_pullback:
weight: 25
window_days: 3
overbought_control:
weight: 15
rsi_days: 14
nq_intraday_position:
weight: 20
volatility_risk:
weight: 15
volatility_days: 20
percentile_lookback_days: 252
hard_filters:
nq_panic_change: -0.03
ndx_trend_break_ratio: 0.95
data_sources:
fund_realtime_primary: eastmoney_direct
fund_history_primary: haoetf
ndx_symbol: "^NDX"
nq_symbol: NQ=F
missing_data_policy:
if_any_required_missing: skip
allow_llm_to_guess: false
llm:
enabled: false
api_url: "https://opencode.ai/zen/go/v1/chat/completions"
api_key: "${LLM_API_KEY}"
model: "gpt-4.1-mini"
temperature: 0.2
max_tokens: 1500
timeout_seconds: 60
fail_policy: "use_rule_summary_only"
news:
enabled: false
provider: anysearch
endpoint: "https://api.anysearch.com/mcp"
api_key: "${ANYSEARCH_API_KEY}"
lookback_hours: 24
max_results: 6
max_chars: 3000
timeout_seconds: 15
queries:
- "Nasdaq 100 纳斯达克100 科技股"
- "Nvidia Microsoft Apple Meta Amazon Tesla Nasdaq news"
- "Federal Reserve CPI nonfarm payrolls Nasdaq risk"
pushplus:
enabled: false
tokens:
- "${PUSHPLUS_TOKEN}"
topic: ""
template: markdown
timeout_seconds: 10
fail_policy: raise
bark:
enabled: false
server_url: "https://api.day.app"
keys:
- "${BARK_KEY}"
group: "ndx-dca-signal"
is_archive: true
max_body_bytes: 2800
timeout_seconds: 10
sim_trading:
enabled: false
order_amount: 100000
order_time: "14:57:00"
settle_time: "22:30:00"
lot_size: 100