diff --git a/.gitignore b/.gitignore
index 50fcb36..ca73491 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*.pyc
.idea/
*.log
+html/json/events.json
diff --git a/fp/板块数据入库.py b/fp/板块数据入库.py
index 4108f03..1249ae1 100644
--- a/fp/板块数据入库.py
+++ b/fp/板块数据入库.py
@@ -242,7 +242,7 @@ class SectorOpt:
xaxis_opts=opts.AxisOpts(offset=5, axislabel_opts=opts.LabelOpts(rotate=45, interval=0)),
legend_opts=opts.LegendOpts(pos_top="8%")
)
- .render(f"../html/{self.trade_date}/{file_name}.html")
+ .render(f"html/{self.trade_date}/{file_name}.html")
)
@@ -256,9 +256,9 @@ if __name__ == '__main__':
# sector.save_gn_sector()
# 生成报表
# sector.industry_generate_chart()
- # sector.concept_generate_chart()
+ sector.concept_generate_chart()
# -------》 一下建议一周更新一次
# 行业板块个股
- sector.stock_by_hy_sector()
+ # sector.stock_by_hy_sector()
# 感念板块个股
- sector.stock_by_gn_sector()
+ # sector.stock_by_gn_sector()
diff --git a/fp/涨跌停数据.py b/fp/涨跌停数据.py
index 022c22b..9cc1995 100644
--- a/fp/涨跌停数据.py
+++ b/fp/涨跌停数据.py
@@ -50,7 +50,7 @@ class LimitList:
xaxis_opts=opts.AxisOpts(offset=5, axislabel_opts=opts.LabelOpts(rotate=45, interval=0)),
legend_opts=opts.LegendOpts(pos_top="8%")
)
- .render(f"../html/{self.trade_date}/limit_list_chart.html")
+ .render(f"html/{self.trade_date}/limit_list_chart.html")
)
def html_page_data(self):
diff --git a/fp/资金出入概览.py b/fp/资金出入概览.py
index d6535e3..03cca00 100644
--- a/fp/资金出入概览.py
+++ b/fp/资金出入概览.py
@@ -81,7 +81,7 @@ class MoneyFlow:
label_opts=opts.LabelOpts(is_show=False),
)
)
- bar.overlap(line).render(f"../复盘指标/html/{self.trade_date}/mixed_bar_and_line.html")
+ bar.overlap(line).render(f"html/{self.trade_date}/mixed_bar_and_line.html")
if __name__ == '__main__':
diff --git a/fp_main.py b/fp_main.py
index ef6da44..0e522b7 100644
--- a/fp_main.py
+++ b/fp_main.py
@@ -126,5 +126,5 @@ if __name__ == '__main__':
# app.calendar_page_data()
# app.init_data()
# app.create_chart()
- # app.create_page()
- # app.upload_ftp()
+ app.create_page()
+ app.upload_ftp()
diff --git a/template/__init__.py b/template/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/template/index_template.html b/template/index_template.html
new file mode 100644
index 0000000..9ba0bf3
--- /dev/null
+++ b/template/index_template.html
@@ -0,0 +1,160 @@
+
+
+
+
+
+
+
+
+
+
+ 复盘首页
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 标题 |
+ 情感 |
+
+
+
+ {{news_cctv}}
+
+
+
+
+
+
+
+ 标题 |
+ 情感 |
+
+
+
+ {{news_cls}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/template/limit_list_template.html b/template/limit_list_template.html
new file mode 100644
index 0000000..de9f0b2
--- /dev/null
+++ b/template/limit_list_template.html
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+ 复盘-涨跌停数据
+
+
+
+
+
+ {{limit_table}}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/template/zs_data_template.html b/template/zs_data_template.html
new file mode 100644
index 0000000..c923cbc
--- /dev/null
+++ b/template/zs_data_template.html
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+ 复盘-指数数据
+
+
+
+
+ {{card_deck}}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/template/zx_data_template.html b/template/zx_data_template.html
new file mode 100644
index 0000000..39f5e5f
--- /dev/null
+++ b/template/zx_data_template.html
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+ 复盘-我的自选
+
+
+
+
+ {{pills_tabContent}}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file