Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
解决 stock 路径问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
yhy committed Sep 23, 2021
1 parent c6804bb commit b4dac95
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions jobs/18h_daily_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,55 +56,6 @@ def stat_all(tmp_datetime):
print("datetime_str:", datetime_str)
print("datetime_int:", datetime_int)

# 存款利率
# data = ts.get_deposit_rate()
# common.insert_db(data, "ts_deposit_rate", False, "`date`,`deposit_type`")
#
# # 贷款利率
# data = ts.get_loan_rate()
# common.insert_db(data, "ts_loan_rate", False, "`date`,`loan_type`")
#
# # 存款准备金率
# data = ts.get_rrr()
# common.insert_db(data, "ts_rrr", False, "`date`")
#
# # 货币供应量
# data = ts.get_money_supply()
# common.insert_db(data, "ts_money_supply", False, "`month`")
#
# # 货币供应量(年底余额)
# data = ts.get_money_supply_bal()
# common.insert_db(data, "ts_money_supply_bal", False, "`year`")
#
# # 国内生产总值(年度)
# data = ts.get_gdp_year()
# common.insert_db(data, "ts_gdp_year", False, "`year`")
#
# # 国内生产总值(季度)
# data = ts.get_gdp_quarter()
# common.insert_db(data, "ts_get_gdp_quarter", False, "`quarter`")
#
# # 三大需求对GDP贡献
# data = ts.get_gdp_for()
# common.insert_db(data, "ts_gdp_for", False, "`year`")
#
# # 三大产业对GDP拉动
# data = ts.get_gdp_pull()
# common.insert_db(data, "ts_gdp_pull", False, "`year`")
#
# # 三大产业贡献率
# data = ts.get_gdp_contrib()
# common.insert_db(data, "ts_gdp_contrib", False, "`year`")
#
# # 居民消费价格指数
# data = ts.get_cpi()
# common.insert_db(data, "ts_cpi", False, "`month`")
#
# # 工业品出厂价格指数
# data = ts.get_ppi()
# common.insert_db(data, "ts_ppi", False, "`month`")

#############################基本面数据 http://tushare.org/fundamental.html
# 股票列表
try:
data = ak.stock_zh_a_spot_em()
Expand Down

0 comments on commit b4dac95

Please sign in to comment.