diff --git a/Untitled.ipynb b/Untitled.ipynb
index 02b39dd..b5dc8b9 100644
--- a/Untitled.ipynb
+++ b/Untitled.ipynb
@@ -2,165 +2,48 @@
"cells": [
{
"cell_type": "code",
- "execution_count": 3,
- "id": "9048d286-415f-4a33-be3a-9d7099aa85de",
- "metadata": {},
- "outputs": [],
- "source": [
- "import pandas as pd\n",
- "from config_jingbo import *"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 19,
- "id": "07e338e7-1dd1-417f-b4e2-65d0efc983d6",
- "metadata": {},
- "outputs": [],
- "source": []
- },
- {
- "cell_type": "code",
- "execution_count": 33,
- "id": "659eec10-f0b8-4d65-b70e-6f07f45291bc",
- "metadata": {},
- "outputs": [],
- "source": [
- "y_last_update_time = df[df['feature']=='y']['warning_date'].values[0]\n"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 49,
- "id": "31035e6f-36e8-4b17-a14b-f7dd79ae085a",
+ "execution_count": 6,
+ "id": "b3cde8ea",
"metadata": {},
"outputs": [
{
- "data": {
- "text/html": [
- "
\n",
- "\n",
- "
\n",
- " \n",
- " \n",
- " | \n",
- " last_update_time | \n",
- " feature | \n",
- "
\n",
- " \n",
- " \n",
- " \n",
- " 500 | \n",
- " 2024-11-14 | \n",
- " lmcads03 lme comdty | \n",
- "
\n",
- " \n",
- " 251 | \n",
- " 2024-11-14 | \n",
- " 美国MEH轻原油现货价格(美湾) | \n",
- "
\n",
- " \n",
- " 231 | \n",
- " 2024-11-14 | \n",
- " WTI原油Cushing-C1 | \n",
- "
\n",
- " \n",
- " 264 | \n",
- " 2024-11-14 | \n",
- " LLS原油现货价格 | \n",
- "
\n",
- " \n",
- " 82 | \n",
- " 2024-11-14 | \n",
- " OMAN原油:中质:远期现货DES价:山东(日) | \n",
- "
\n",
- " \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- "
\n",
- " \n",
- " 83 | \n",
- " 2023-01-03 | \n",
- " PVM Dubai EFS/Swap vs ICE First Month Brent | \n",
- "
\n",
- " \n",
- " 91 | \n",
- " 2022-11-16 | \n",
- " Brent/迪拜原油升贴水 | \n",
- "
\n",
- " \n",
- " 94 | \n",
- " 2022-01-31 | \n",
- " W-B活跃合约价差 | \n",
- "
\n",
- " \n",
- " 95 | \n",
- " 2022-01-31 | \n",
- " B-W活跃合约价差 | \n",
- "
\n",
- " \n",
- " 31 | \n",
- " 2018-10-24 | \n",
- " 西北欧即期Brent 211利润 | \n",
- "
\n",
- " \n",
- "
\n",
- "
73 rows × 2 columns
\n",
- "
"
- ],
- "text/plain": [
- " last_update_time feature\n",
- "500 2024-11-14 lmcads03 lme comdty\n",
- "251 2024-11-14 美国MEH轻原油现货价格(美湾)\n",
- "231 2024-11-14 WTI原油Cushing-C1\n",
- "264 2024-11-14 LLS原油现货价格\n",
- "82 2024-11-14 OMAN原油:中质:远期现货DES价:山东(日)\n",
- ".. ... ...\n",
- "83 2023-01-03 PVM Dubai EFS/Swap vs ICE First Month Brent\n",
- "91 2022-11-16 Brent/迪拜原油升贴水\n",
- "94 2022-01-31 W-B活跃合约价差\n",
- "95 2022-01-31 B-W活跃合约价差\n",
- "31 2018-10-24 西北欧即期Brent 211利润\n",
- "\n",
- "[73 rows x 2 columns]"
- ]
- },
- "execution_count": 49,
- "metadata": {},
- "output_type": "execute_result"
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "{'ovx index': '原油波动率', 'dxy curncy': '美元指数', 'C2403128043': 'Brent连1合约价格拟合残差/美元指数', 'C2403150124': 'Brent连1合约价格拟合残差/Brent 连2-连3', 'DOESCRUD Index': '美国商业原油库存', 'FVHCM1 INDEX': '美国取暖油裂解C1', 'doedtprd index': '美国成品油表需', 'CFFDQMMN INDEX': 'WTI管理资金净多持仓', 'C2403083739': 'WTI基金多空持仓比', 'C2404167878': 'WTI基金净持仓COT指标(代码运算)', 'lmcads03 lme comdty': 'LME铜价', 'GC1 COMB Comdty': '黄金连1合约', 'C2404167855': '金油比'}\n"
+ ]
}
],
"source": [
- "df[df['warning_date']\n",
+ "Using matplotlib backend: