1、load model
2、修改update data相关函数
This commit is contained in:
@@ -39,15 +39,15 @@
|
||||
"3 000006.SZ 20250312\n",
|
||||
"4 000007.SZ 20250312\n",
|
||||
"... ... ...\n",
|
||||
"26917 920445.BJ 20250519\n",
|
||||
"26918 920489.BJ 20250519\n",
|
||||
"26919 920682.BJ 20250519\n",
|
||||
"26920 920799.BJ 20250519\n",
|
||||
"26921 920819.BJ 20250519\n",
|
||||
"27111 920445.BJ 20250922\n",
|
||||
"27112 920489.BJ 20250922\n",
|
||||
"27113 920682.BJ 20250922\n",
|
||||
"27114 920799.BJ 20250922\n",
|
||||
"27115 920819.BJ 20250922\n",
|
||||
"\n",
|
||||
"[7724334 rows x 2 columns]\n",
|
||||
"20250523\n",
|
||||
"start_date: 20250526\n"
|
||||
"[8205543 rows x 2 columns]\n",
|
||||
"20250926\n",
|
||||
"start_date: 20250929\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -64,7 +64,7 @@
|
||||
" max_date = df['trade_date'].max()\n",
|
||||
"\n",
|
||||
"print(max_date)\n",
|
||||
"trade_cal = pro.trade_cal(exchange='', start_date='20170101', end_date='20250620')\n",
|
||||
"trade_cal = pro.trade_cal(exchange='', start_date='20170101', end_date='20251020')\n",
|
||||
"trade_cal = trade_cal[trade_cal['is_open'] == 1] # 只保留交易日\n",
|
||||
"trade_dates = trade_cal[trade_cal['cal_date'] > max_date]['cal_date'].tolist()\n",
|
||||
"start_date = min(trade_dates)\n",
|
||||
@@ -86,25 +86,16 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"任务 20250620 完成\n",
|
||||
"任务 20250619 完成\n",
|
||||
"任务 20250618 完成\n",
|
||||
"任务 20250617 完成\n",
|
||||
"任务 20250616 完成\n",
|
||||
"任务 20250613 完成\n",
|
||||
"任务 20250612 完成\n",
|
||||
"任务 20250611 完成\n",
|
||||
"任务 20250610 完成\n",
|
||||
"任务 20250609 完成\n",
|
||||
"任务 20250606 完成\n",
|
||||
"任务 20250605 完成\n",
|
||||
"任务 20250604 完成\n",
|
||||
"任务 20250603 完成\n",
|
||||
"任务 20250530 完成\n",
|
||||
"任务 20250529 完成\n",
|
||||
"任务 20250528 完成\n",
|
||||
"任务 20250527 完成\n",
|
||||
"任务 20250526 完成\n"
|
||||
"任务 20251020 完成\n",
|
||||
"任务 20251017 完成\n",
|
||||
"任务 20251016 完成\n",
|
||||
"任务 20251015 完成\n",
|
||||
"任务 20251014 完成\n",
|
||||
"任务 20251013 完成\n",
|
||||
"任务 20251010 完成\n",
|
||||
"任务 20251009 完成\n",
|
||||
"任务 20250930 完成\n",
|
||||
"任务 20250929 完成\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user