From 3901877e15562db74484213fe9b59f59a00eb605 Mon Sep 17 00:00:00 2001 From: afan Date: Tue, 24 Dec 2024 18:20:23 +0000 Subject: [PATCH] daily update tushare data --- data/global_index.csv | 4 ++-- data/stock_basic.csv | 3 ++- data/stock_index.csv | 8 ++++++-- data/tf_continuous.csv | 4 ++++ data/yield.csv | 3 ++- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/data/global_index.csv b/data/global_index.csv index f07c192..0215fe1 100644 --- a/data/global_index.csv +++ b/data/global_index.csv @@ -1,4 +1,5 @@ ts_code,trade_date,open,close,high,low,pre_close,change,pct_chg,swing,vol +SPX,20241223,5940.25,5974.07,5978.25,5902.57,5930.85,43.22,0.73,1.28,2311069.0 SPX,20241220,5842.0,5930.85,5982.06,5832.3,5867.08,63.77,1.09,2.55,6347727.0 SPX,20241219,5912.71,5867.08,5935.52,5866.07,5872.16,-5.08,-0.09,1.18,3217379.0 SPX,20241218,6047.65,5872.16,6070.67,5867.79,6050.61,-178.45,-2.95,3.35,3301322.0 @@ -3998,7 +3999,7 @@ SPX,20090205,831.75,845.85,850.55,819.91,832.23,13.62,1.64,3.68, SPX,20090204,837.77,832.23,851.85,829.18,838.51,-6.28,-0.75,2.7, SPX,20090203,825.69,838.51,842.6,821.98,825.44,13.07,1.58,2.5, SPX,20090202,823.09,825.44,830.78,812.87,825.88,-0.44,-0.05,2.17, -SPX,20090130,845.69,825.88,851.66,821.67,845.14,-19.26,-2.28,3.55, +IXIC,20241223,19641.05,19764.89,19772.09,19504.68,19572.6,192.28,0.98,1.37,1258935.0 IXIC,20241220,19190.04,19572.6,19758.61,19168.38,19372.77,199.83,1.03,3.05,3695853.0 IXIC,20241219,19565.67,19372.77,19623.02,19357.76,19392.69,-19.92,-0.1,1.37,1511638.0 IXIC,20241218,20114.98,19392.69,20179.77,19336.59,20109.06,-716.37,-3.56,4.19,1786550.0 @@ -7998,4 +7999,3 @@ IXIC,20090206,1547.0,1591.71,1594.26,1545.85,1546.24,45.47,2.94,3.13, IXIC,20090205,1498.8,1546.24,1554.37,1495.52,1515.05,31.19,2.06,3.88, IXIC,20090204,1516.53,1515.05,1549.64,1508.87,1516.3,-1.25,-0.08,2.69, IXIC,20090203,1499.07,1516.3,1521.21,1479.42,1494.43,21.87,1.46,2.8, -IXIC,20090202,1462.67,1494.43,1502.72,1460.51,1476.42,18.01,1.22,2.86, diff --git a/data/stock_basic.csv b/data/stock_basic.csv index e96614b..965f03f 100644 --- a/data/stock_basic.csv +++ b/data/stock_basic.csv @@ -4008,7 +4008,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status 603191.SH,603191,望变电气,重庆,电气设备,20220428,,L 603192.SH,603192,汇得科技,上海,化工原料,20180828,,L 603193.SH,603193,润本股份,广东,日用化工,20231017,,L -603194.SH,603194,中力股份,浙江,工程机械,20241224,,L +603194.SH,603194,N中力,浙江,工程机械,20241224,,L 603195.SH,603195,公牛集团,浙江,家用电器,20200206,,L 603196.SH,603196,日播时尚,上海,服饰,20170531,,L 603197.SH,603197,保隆科技,上海,汽车配件,20170519,,L @@ -5372,6 +5372,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status 920019.BJ,920019,铜冠矿建,,,20241011,,L 920060.BJ,920060,万源通,,,20241119,,L 920066.BJ,920066,科拜尔,,,20241031,,L +920082.BJ,920082,方正阀门,,,20241226,,L 920088.BJ,920088,科力股份,,,20241029,,L 920098.BJ,920098,科隆新材,,,20241205,,L 920099.BJ,920099,瑞华技术,,,20240925,,L diff --git a/data/stock_index.csv b/data/stock_index.csv index 9668380..d891682 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,20241224,3393.5281,3353.5354,3394.9044,3352.9474,3351.2571,42.271,1.2613,471992673.0,530758037.6 000001.SH,20241223,3351.2571,3367.9037,3384.9918,3348.277,3368.0693,-16.8122,-0.4992,556747248.0,623117789.3 000001.SH,20241220,3368.0693,3364.481,3390.6182,3362.8193,3370.0331,-1.9638,-0.0583,490964621.0,596821938.6 000001.SH,20241219,3370.0331,3355.9041,3377.5321,3346.469,3382.2081,-12.175,-0.36,513909063.0,559130979.0 @@ -7998,7 +7999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 000001.SH,19920310,375.23,374.48,375.23,373.53,373.53,1.7,0.4551,5011.0,7452.592 000001.SH,19920309,373.53,372.26,374.06,371.88,371.76,1.77,0.4761,20968.0,22273.776 000001.SH,19920306,371.76,370.79,371.76,369.76,369.76,2.0,0.5409,5237.0,9958.408 -000001.SH,19920305,369.76,369.31,369.88,368.11,368.32,1.44,0.391,8360.0,14928.647 +399001.SZ,20241224,10671.4274,10548.1453,10673.3372,10548.1453,10537.4021,134.0253,1.2719,664977041.0,776807907.6 399001.SZ,20241223,10537.4021,10650.575,10708.8229,10527.1463,10646.6176,-109.2155,-1.0258,795687830.0,907671813.7 399001.SZ,20241220,10646.6176,10631.4447,10731.0762,10618.7944,10649.0339,-2.4163,-0.0227,732375378.0,918303558.4 399001.SZ,20241219,10649.0339,10483.5035,10673.9616,10460.1961,10584.2695,64.7644,0.6119,760693343.0,884957667.1 @@ -15998,7 +15999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 399001.SZ,19920218,982.91,988.64,990.92,975.92,989.37,-6.46,-0.6529,22174.0,27309.155 399001.SZ,19920217,989.37,996.04,1000.82,981.37,1001.47,-12.1,-1.2082,18673.0,25608.3 399001.SZ,19920214,1001.47,1011.72,1015.85,1000.54,1012.07,-10.6,-1.0474,21828.0,30009.95 -399001.SZ,19920213,1012.07,1012.02,1015.77,1006.37,1010.98,1.09,0.1078,8245.0,15139.785 +000016.SH,20241224,2702.282,2671.9088,2704.5775,2666.3412,2671.2025,31.0795,1.1635,46469198.0,87285837.704 000016.SH,20241223,2671.2025,2648.9188,2688.8864,2648.9188,2648.4609,22.7416,0.8587,56629099.0,106625576.091 000016.SH,20241220,2648.4609,2654.8486,2670.3177,2644.8364,2661.7224,-13.2615,-0.4982,42493510.0,93206952.097 000016.SH,20241219,2661.7224,2652.1949,2672.5807,2642.6831,2671.3461,-9.6237,-0.3603,40214140.0,76390568.283 @@ -21094,6 +21095,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,20241224,3983.6882,3934.9422,3985.8588,3934.7338,3933.5718,50.1164,1.2741,161494589.0,310384873.294 000300.SH,20241223,3933.5718,3928.1493,3965.8502,3928.1493,3927.7441,5.8277,0.1484,190067362.0,354063425.209 000300.SH,20241220,3927.7441,3937.4722,3958.6336,3923.2562,3945.4635,-17.7194,-0.4491,154986496.0,332143276.398 000300.SH,20241219,3945.4635,3911.8901,3954.3491,3899.7479,3941.89,3.5735,0.0907,161081040.0,321771606.933 @@ -25946,6 +25948,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,20241224,5895.2595,5827.1597,5897.1946,5827.1597,5818.551,76.7085,1.3183,167365824.0,196112525.346 000905.SH,20241223,5818.551,5917.6939,5935.1523,5815.3415,5917.1751,-98.6241,-1.6667,177315486.0,217347047.188 000905.SH,20241220,5917.1751,5889.946,5962.4154,5889.946,5901.9155,15.2596,0.2586,178090399.0,221132517.266 000905.SH,20241219,5901.9155,5829.2631,5918.4895,5816.4729,5888.6162,13.2993,0.2258,196531194.0,211287492.264 @@ -30798,6 +30801,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,20241224,6164.3605,6110.7669,6165.2022,6066.226,6096.3813,67.9792,1.1151,216010918.0,281310588.166 000852.SH,20241223,6096.3813,6271.7634,6276.9712,6086.912,6271.7532,-175.3719,-2.7962,258474975.0,333062018.485 000852.SH,20241220,6271.7532,6195.6436,6320.9626,6191.0814,6207.1862,64.567,1.0402,243659085.0,344655611.87 000852.SH,20241219,6207.1862,6127.2202,6223.8046,6108.3942,6195.8677,11.3185,0.1827,251487924.0,320880949.172 diff --git a/data/tf_continuous.csv b/data/tf_continuous.csv index 8e9ac8f..a060653 100644 --- a/data/tf_continuous.csv +++ b/data/tf_continuous.csv @@ -1,4 +1,5 @@ ts_code,trade_date,mapping_ts_code +TS.CFX,20241224,TS2503.CFX TS.CFX,20241223,TS2503.CFX TS.CFX,20241220,TS2503.CFX TS.CFX,20241219,TS2503.CFX @@ -1539,6 +1540,7 @@ TS.CFX,20180822,TS1812.CFX TS.CFX,20180821,TS1812.CFX TS.CFX,20180820,TS1812.CFX TS.CFX,20180817,TS1812.CFX +TF.CFX,20241224,TF2503.CFX TF.CFX,20241223,TF2503.CFX TF.CFX,20241220,TF2503.CFX TF.CFX,20241219,TF2503.CFX @@ -3964,6 +3966,7 @@ TF.CFX,20150108,TF1503.CFX TF.CFX,20150107,TF1503.CFX TF.CFX,20150106,TF1503.CFX TF.CFX,20150105,TF1503.CFX +T.CFX,20241224,T2503.CFX T.CFX,20241223,T2503.CFX T.CFX,20241220,T2503.CFX T.CFX,20241219,T2503.CFX @@ -6340,6 +6343,7 @@ T.CFX,20150325,T1509.CFX T.CFX,20150324,T1509.CFX T.CFX,20150323,T1509.CFX T.CFX,20150320,T1509.CFX +TL.CFX,20241224,T2503.CFX TL.CFX,20241223,T2503.CFX TL.CFX,20241220,T2503.CFX TL.CFX,20241219,T2503.CFX diff --git a/data/yield.csv b/data/yield.csv index 9e03696..b1d3609 100644 --- a/data/yield.csv +++ b/data/yield.csv @@ -4708,4 +4708,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea 2024-12-18,1.15,1.16,1.08,1.14,1.2,1.45,1.67,1.76,,,2.0,中债国债收益率曲线 2024-12-19,1.1,1.11,1.04,1.13,1.17,1.42,1.65,1.74,,,1.99,中债国债收益率曲线 2024-12-20,1.0,1.01,0.98,1.07,1.11,1.37,1.61,1.7,,,1.95,中债国债收益率曲线 -2024-12-23,0.80,0.94,0.93,1.06,1.09,1.39,1.61,1.70,,,1.95,中债国债收益率曲线 +2024-12-23,0.8,0.94,0.93,1.06,1.09,1.39,1.61,1.7,,,1.95,中债国债收益率曲线 +2024-12-24,0.81,0.93,0.93,1.05,1.09,1.42,1.64,1.72,,,1.99,中债国债收益率曲线