Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
R
robo-dividend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenwen.tang
robo-dividend
Commits
8fd5709c
Commit
8fd5709c
authored
Dec 17, 2024
by
吕先亚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
32 etf
parent
ab7a7c5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
EstimateMarketTrendV20.py
ai/EstimateMarketTrendV20.py
+6
-5
No files found.
ai/EstimateMarketTrendV20.py
View file @
8fd5709c
...
@@ -16,14 +16,15 @@ from api import DataSync
...
@@ -16,14 +16,15 @@ from api import DataSync
# 截止日期
# 截止日期
max_date
=
None
max_date
=
None
toForecast
=
Fals
e
# False means test, True means forecast
toForecast
=
Tru
e
# False means test, True means forecast
syncData
=
Fals
e
# 开启会同步数据库指数及基金数据
syncData
=
Tru
e
# 开启会同步数据库指数及基金数据
uploadData
=
Fals
e
# 开启会上传预测结果
uploadData
=
Tru
e
# 开启会上传预测结果
doReport
=
True
# 开启会生成Excel报告
doReport
=
True
# 开启会生成Excel报告
# 待预测指数
# 待预测指数
# PREDICT_LIST = [67, 121, 122, 123]
# PREDICT_LIST = [67, 121, 122, 123]
PREDICT_LIST
=
[
67
]
PREDICT_LIST
=
[
67
,
121
,
122
,
123
,
147
,
148
,
149
,
150
,
151
,
152
,
153
,
154
,
155
,
156
,
157
,
158
,
159
,
160
,
161
,
162
,
163
,
164
,
165
,
166
,
167
,
168
,
169
,
170
,
171
,
174
,
175
,
177
,
178
]
eco
=
[
65
,
66
,
74
,
134
]
eco
=
[
65
,
66
,
74
,
134
]
index
=
[
67
,
68
,
69
,
70
,
71
,
72
,
73
,
75
,
76
,
77
,
105
,
106
,
116
,
117
,
138
,
139
,
142
,
143
,
140
,
141
,
144
,
145
,
146
]
index
=
[
67
,
68
,
69
,
70
,
71
,
72
,
73
,
75
,
76
,
77
,
105
,
106
,
116
,
117
,
138
,
139
,
142
,
143
,
140
,
141
,
144
,
145
,
146
]
fund
=
[
121
,
122
,
123
,
147
,
148
,
149
,
150
,
151
,
152
,
153
,
154
,
155
,
156
,
157
,
158
,
159
,
160
,
161
,
162
,
163
,
164
,
165
,
fund
=
[
121
,
122
,
123
,
147
,
148
,
149
,
150
,
151
,
152
,
153
,
154
,
155
,
156
,
157
,
158
,
159
,
160
,
161
,
162
,
163
,
164
,
165
,
...
@@ -52,7 +53,7 @@ def report_prediction(label, predict_item, indexDict: dict):
...
@@ -52,7 +53,7 @@ def report_prediction(label, predict_item, indexDict: dict):
else
:
else
:
from
ai.noticer
import
upload_predict
from
ai.noticer
import
upload_predict
upload_predict
(
index_info
[
'ticker'
],
forecastDay
,
predictionStr
)
upload_predict
(
index_info
[
'ticker'
],
forecastDay
,
predictionStr
)
send
(
content
)
#
send(content)
return
prediction
return
prediction
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment