diff --git a/jobs/18h_daily_job.py b/jobs/18h_daily_job.py index c2ba8a4..c911c06 100644 --- a/jobs/18h_daily_job.py +++ b/jobs/18h_daily_job.py @@ -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()