From 1ca0f7ff170cb74c1a3febcdec2f9ec4add44421 Mon Sep 17 00:00:00 2001 From: afan Date: Thu, 31 Oct 2024 18:21:04 +0000 Subject: [PATCH] daily update tushare data --- data/stock_index.csv | 8 ++++++-- data/tf_continuous.csv | 4 ++++ data/yield.csv | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/data/stock_index.csv b/data/stock_index.csv index 5c8583c..b5a01cc 100644 --- a/data/stock_index.csv +++ b/data/stock_index.csv @@ -1,4 +1,5 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount +000001.SH,20241031,3279.8244,3267.975,3295.7421,3252.3899,3266.2378,13.5866,0.416,784649094.0,864970969.0 000001.SH,20241030,3266.2378,3273.6421,3291.6795,3244.8063,3286.407,-20.1692,-0.6137,669018090.0,730619786.7 000001.SH,20241029,3286.407,3328.0885,3340.4584,3284.2108,3322.1975,-35.7905,-1.0773,725326154.0,806573822.3 000001.SH,20241028,3322.1975,3300.4634,3322.1975,3279.715,3299.7003,22.4972,0.6818,672373131.0,717510218.0 @@ -7998,7 +7999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 000001.SH,19920113,303.06,302.83,303.06,302.0,301.83,1.23,0.4075,725.0,1097.531 000001.SH,19920110,301.83,301.82,301.83,300.62,300.62,1.21,0.4025,1605.0,2629.59 000001.SH,19920109,300.62,300.61,300.62,299.66,299.66,0.96,0.3204,943.0,1244.834 -000001.SH,19920108,299.66,299.65,299.66,298.77,298.77,0.89,0.2979,659.0,930.535 +399001.SZ,20241031,10591.218,10535.4143,10693.8423,10458.8476,10530.8489,60.3691,0.5733,1103094719.0,1352352747.3 399001.SZ,20241030,10530.8489,10488.2262,10596.2225,10426.7437,10543.3283,-12.4794,-0.1184,931733214.0,1116035280.3 399001.SZ,20241029,10543.3283,10706.0172,10729.5687,10536.8066,10685.8902,-142.5619,-1.3341,1033067513.0,1255535897.0 399001.SZ,20241028,10685.8902,10617.9041,10685.8902,10519.4848,10619.849,66.0412,0.6219,958674133.0,1145396320.9 @@ -15998,7 +15999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 399001.SZ,19911218,891.0,890.22,894.9,881.07,890.63,0.37,0.0415,12086.0,15414.52 399001.SZ,19911217,890.63,900.13,903.23,885.23,898.15,-7.52,-0.8373,13145.0,15816.36 399001.SZ,19911216,898.15,890.01,902.9,882.88,890.76,7.39,0.8296,17049.0,20401.225 -399001.SZ,19911213,879.26,894.42,894.72,871.06,900.16,-20.9,-2.3218,30017.0,31765.685 +000016.SH,20241031,2633.117,2637.2061,2654.6458,2613.2514,2634.7375,-1.6205,-0.0615,54529623.0,119295772.01 000016.SH,20241030,2634.7375,2658.2589,2674.3699,2624.0008,2667.9385,-33.201,-1.2444,44450688.0,98548356.583 000016.SH,20241029,2667.9385,2689.9168,2712.2827,2665.4245,2686.2894,-18.3509,-0.6831,50084286.0,112173896.896 000016.SH,20241028,2686.2894,2681.5075,2686.2894,2656.3248,2683.3246,2.9648,0.1105,53474972.0,105268557.743 @@ -21056,6 +21057,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 000016.SH,20040106,1075.656,1059.141,1086.694,1059.095,1060.801,14.855,1.4004,16991334.0,12416997.345 000016.SH,20040105,1060.801,1008.279,1060.898,1008.279,1011.347,49.454,4.8899,14468180.0,10706463.941 000016.SH,20040102,1011.347,996.996,1021.568,993.892,1000.0,11.347,1.1347,8064653.0,5742758.967 +000300.SH,20241031,3891.0396,3888.4229,3923.8997,3859.1079,3889.4487,1.5909,0.0409,300636718.0,515533818.945 000300.SH,20241030,3889.4487,3904.1595,3926.0581,3864.3051,3924.649,-35.2003,-0.8969,219436626.0,385010582.233 000300.SH,20241029,3924.649,3970.008,3991.3091,3921.5795,3964.1569,-39.5079,-0.9966,217293984.0,429625020.405 000300.SH,20241028,3964.1569,3953.1063,3964.1569,3917.2042,3956.421,7.7359,0.1955,216160415.0,390450182.338 @@ -25870,6 +25872,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 000300.SH,20050106,983.174,993.331,993.788,980.33,992.564,-9.39,-0.946,6288029.05,3921015.42 000300.SH,20050105,992.564,981.577,997.323,979.877,982.794,9.77,0.9941,7119108.98,4529208.214 000300.SH,20050104,982.794,994.769,994.769,980.658,1000.0,-17.206,-1.7206,7412868.94,4431977.418 +000905.SH,20241031,5901.2904,5839.9766,5935.1827,5812.0324,5837.9338,63.3566,1.0853,313549202.0,377454102.585 000905.SH,20241030,5837.9338,5793.8326,5869.1113,5777.43,5812.5286,25.4052,0.4371,252021275.0,315956554.496 000905.SH,20241029,5812.5286,5903.3065,5917.2149,5807.29,5883.7203,-71.1917,-1.21,275371143.0,332481504.887 000905.SH,20241028,5883.7203,5816.3296,5883.7203,5787.4843,5809.6879,74.0324,1.2743,270653787.0,312663682.664 @@ -30684,6 +30687,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 000905.SH,20050106,994.595,1003.49,1003.49,990.792,1003.633,-9.038,-0.9005,2933905.59,1629216.031 000905.SH,20050105,1003.633,986.57,1008.855,985.677,986.927,16.706,1.6927,3486101.13,1919861.791 000905.SH,20050104,986.927,996.682,996.682,984.795,1000.0,-13.073,-1.3073,2323762.03,1329187.122 +000852.SH,20241031,6116.6632,6041.0129,6161.5551,6004.7132,6019.3472,97.316,1.6167,386119485.0,507595177.939 000852.SH,20241030,6019.3472,5960.7916,6043.5869,5945.6752,5983.8364,35.5108,0.5934,324380186.0,416947148.542 000852.SH,20241029,5983.8364,6106.1943,6113.6381,5982.5264,6082.0877,-98.2513,-1.6154,369325299.0,475114148.306 000852.SH,20241028,6082.0877,5988.7231,6082.0877,5965.0012,5974.9086,107.1791,1.7938,326722938.0,408798512.149 diff --git a/data/tf_continuous.csv b/data/tf_continuous.csv index 65a873f..7de1c4b 100644 --- a/data/tf_continuous.csv +++ b/data/tf_continuous.csv @@ -1,4 +1,5 @@ ts_code,trade_date,mapping_ts_code +TS.CFX,20241031,TS2412.CFX TS.CFX,20241030,TS2412.CFX TS.CFX,20241029,TS2412.CFX TS.CFX,20241028,TS2412.CFX @@ -1501,6 +1502,7 @@ TS.CFX,20180822,TS1812.CFX TS.CFX,20180821,TS1812.CFX TS.CFX,20180820,TS1812.CFX TS.CFX,20180817,TS1812.CFX +TF.CFX,20241031,TF2412.CFX TF.CFX,20241030,TF2412.CFX TF.CFX,20241029,TF2412.CFX TF.CFX,20241028,TF2412.CFX @@ -3888,6 +3890,7 @@ TF.CFX,20150108,TF1503.CFX TF.CFX,20150107,TF1503.CFX TF.CFX,20150106,TF1503.CFX TF.CFX,20150105,TF1503.CFX +T.CFX,20241031,T2412.CFX T.CFX,20241030,T2412.CFX T.CFX,20241029,T2412.CFX T.CFX,20241028,T2412.CFX @@ -6226,6 +6229,7 @@ T.CFX,20150325,T1509.CFX T.CFX,20150324,T1509.CFX T.CFX,20150323,T1509.CFX T.CFX,20150320,T1509.CFX +TL.CFX,20241031,T2412.CFX TL.CFX,20241030,T2412.CFX TL.CFX,20241029,T2412.CFX TL.CFX,20241028,T2412.CFX diff --git a/data/yield.csv b/data/yield.csv index 46426dd..ff34a05 100644 --- a/data/yield.csv +++ b/data/yield.csv @@ -4671,3 +4671,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea 2024-10-28,1.43,1.48,1.41,1.5,1.64,1.83,2.05,2.16,,,2.38,中债国债收益率曲线 2024-10-29,1.43,1.47,1.44,1.49,1.62,1.83,2.05,2.16,,,2.37,中债国债收益率曲线 2024-10-30,1.43,1.45,1.45,1.47,1.61,1.82,2.05,2.16,,,2.36,中债国债收益率曲线 +2024-10-31,1.41,1.43,1.43,1.45,1.58,1.79,2.03,2.15,,,2.34,中债国债收益率曲线