From feddd7efae8c183e8f0e2eabb5f075b38af33619 Mon Sep 17 00:00:00 2001 From: afan Date: Fri, 13 Dec 2024 18:22:40 +0000 Subject: [PATCH] daily update tushare data --- data/global_index.csv | 2 +- data/stock_index.csv | 8 ++++++-- data/tf_continuous.csv | 4 ++++ data/yield.csv | 1 + 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/data/global_index.csv b/data/global_index.csv index 601449d..063a183 100644 --- a/data/global_index.csv +++ b/data/global_index.csv @@ -3999,7 +3999,7 @@ SPX,20090126,834.57,836.57,852.53,827.69,831.95,4.62,0.56,2.99, SPX,20090123,808.8,831.95,838.61,806.07,827.5,4.46,0.54,3.93, SPX,20090122,840.22,827.5,839.74,811.29,840.24,-12.75,-1.52,3.39, SPX,20090121,818.63,840.24,841.72,804.3,805.22,35.02,4.35,4.65, -IXIC,20241211,19832.95,20034.9,20055.93,19830.64,19687.24,347.66,1.77,1.14,1314215.0 +IXIC,20241211,19832.95,20034.89,20055.93,19830.64,19687.24,347.65,1.77,1.14,1314215.0 IXIC,20241210,19796.39,19687.24,19887.08,19641.34,19736.69,-49.45,-0.25,1.25,1279580.0 IXIC,20241209,19824.09,19736.69,19872.79,19698.05,19859.77,-123.08,-0.62,0.88,1462932.0 IXIC,20241206,19743.96,19859.77,19863.14,19734.42,19700.72,159.05,0.81,0.65,1234627.0 diff --git a/data/stock_index.csv b/data/stock_index.csv index 6fd330a..611183e 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,20241213,3391.8782,3442.9259,3442.9259,3390.7537,3461.4998,-69.6216,-2.0113,777464144.0,850714863.0 000001.SH,20241212,3461.4998,3432.2786,3464.1162,3425.9755,3432.4902,29.0096,0.8451,700096689.0,734168982.7 000001.SH,20241211,3432.4902,3416.0874,3437.8103,3416.0874,3422.6607,9.8295,0.2872,681544610.0,692929618.7 000001.SH,20241210,3422.6607,3490.2892,3494.8669,3417.7654,3402.5343,20.1264,0.5915,794668034.0,860483994.8 @@ -7998,7 +7999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 000001.SH,19920228,364.66,364.15,364.67,362.45,362.45,2.21,0.6097,9862.0,26401.859 000001.SH,19920227,362.45,361.0,363.03,360.1,360.1,2.35,0.6526,9524.0,17931.365 000001.SH,19920226,360.1,359.85,360.76,359.27,360.37,-0.27,-0.0749,5753.0,8082.674 -000001.SH,19920225,360.37,359.66,361.29,357.07,360.5,-0.13,-0.0361,4862.0,8037.606 +399001.SZ,20241213,10713.072,10876.1903,10876.1903,10709.1393,10957.1289,-244.0569,-2.2274,1075547182.0,1218512329.5 399001.SZ,20241212,10957.1289,10846.5445,10967.2783,10813.7917,10848.4228,108.7061,1.002,1040587050.0,1132740374.5 399001.SZ,20241211,10848.4228,10781.0965,10884.06,10781.0835,10812.5838,35.839,0.3315,1012272834.0,1083447077.1 399001.SZ,20241210,10812.5838,11124.7822,11134.5527,10792.0148,10731.6589,80.9249,0.7541,1171388026.0,1339737614.6 @@ -15998,7 +15999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 399001.SZ,19920131,1004.75,987.23,1010.82,984.19,983.94,20.81,2.115,16529.0,26620.82 399001.SZ,19920130,983.94,971.22,988.41,969.74,970.9,13.04,1.3431,13823.0,22066.72 399001.SZ,19920129,970.9,959.34,976.6,957.39,959.59,11.31,1.1786,14022.0,21232.005 -399001.SZ,19920128,959.59,957.65,960.83,954.1,955.26,4.33,0.4533,13409.0,20250.135 +000016.SH,20241213,2638.0266,2684.2932,2684.4109,2636.9729,2702.2681,-64.2415,-2.3773,61597705.0,120459478.408 000016.SH,20241212,2702.2681,2673.9435,2704.0286,2667.637,2676.5518,25.7163,0.9608,41273831.0,81318183.41 000016.SH,20241211,2676.5518,2684.5906,2696.0071,2671.5218,2689.3292,-12.7774,-0.4751,40802387.0,74840666.598 000016.SH,20241210,2689.3292,2741.7509,2747.0734,2684.7165,2667.5924,21.7368,0.8148,59443899.0,124161995.388 @@ -21087,6 +21088,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,20241213,3933.1808,4000.9854,4000.9854,3931.7392,4028.5048,-95.324,-2.3662,230353079.0,421478609.274 000300.SH,20241212,4028.5048,3987.1525,4031.7441,3981.3485,3988.8308,39.674,0.9946,181621777.0,333667518.401 000300.SH,20241211,3988.8308,3988.0179,4005.3253,3977.3522,3995.6369,-6.8061,-0.1703,177252846.0,310713317.895 000300.SH,20241210,3995.6369,4094.05,4098.3804,3988.9676,3966.5708,29.0661,0.7328,253463795.0,487278042.807 @@ -25932,6 +25934,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,20241213,5988.292,6065.9542,6065.9542,5988.292,6100.3945,-112.1025,-1.8376,286328198.0,307316221.178 000905.SH,20241212,6100.3945,6048.7814,6107.7146,6023.2343,6047.105,53.2895,0.8812,243653690.0,258380795.571 000905.SH,20241211,6047.105,5973.326,6051.4718,5972.2696,5992.0937,55.0113,0.9181,253883941.0,250011474.489 000905.SH,20241210,5992.0937,6132.291,6141.0655,5982.5833,5947.1089,44.9848,0.7564,320527823.0,324711288.431 @@ -30777,6 +30780,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,20241213,6354.9883,6447.2029,6460.9385,6351.3009,6490.1455,-135.1572,-2.0825,361985513.0,430631043.519 000852.SH,20241212,6490.1455,6454.942,6493.71,6390.5886,6447.3744,42.7711,0.6634,342326053.0,407629783.933 000852.SH,20241211,6447.3744,6343.7811,6454.9713,6343.7811,6362.0203,85.3541,1.3416,331351956.0,392600350.436 000852.SH,20241210,6362.0203,6493.5374,6497.8893,6352.762,6303.2721,58.7482,0.932,374209206.0,453736859.985 diff --git a/data/tf_continuous.csv b/data/tf_continuous.csv index 08b454a..ea93044 100644 --- a/data/tf_continuous.csv +++ b/data/tf_continuous.csv @@ -1,4 +1,5 @@ ts_code,trade_date,mapping_ts_code +TS.CFX,20241213,TS2503.CFX TS.CFX,20241212,TS2503.CFX TS.CFX,20241211,TS2503.CFX TS.CFX,20241210,TS2503.CFX @@ -1532,6 +1533,7 @@ TS.CFX,20180822,TS1812.CFX TS.CFX,20180821,TS1812.CFX TS.CFX,20180820,TS1812.CFX TS.CFX,20180817,TS1812.CFX +TF.CFX,20241213,TF2503.CFX TF.CFX,20241212,TF2503.CFX TF.CFX,20241211,TF2503.CFX TF.CFX,20241210,TF2503.CFX @@ -3950,6 +3952,7 @@ TF.CFX,20150108,TF1503.CFX TF.CFX,20150107,TF1503.CFX TF.CFX,20150106,TF1503.CFX TF.CFX,20150105,TF1503.CFX +T.CFX,20241213,T2503.CFX T.CFX,20241212,T2503.CFX T.CFX,20241211,T2503.CFX T.CFX,20241210,T2503.CFX @@ -6319,6 +6322,7 @@ T.CFX,20150325,T1509.CFX T.CFX,20150324,T1509.CFX T.CFX,20150323,T1509.CFX T.CFX,20150320,T1509.CFX +TL.CFX,20241213,T2412.CFX TL.CFX,20241212,T2412.CFX TL.CFX,20241211,T2412.CFX TL.CFX,20241210,T2412.CFX diff --git a/data/yield.csv b/data/yield.csv index 3397051..6d089a8 100644 --- a/data/yield.csv +++ b/data/yield.csv @@ -4702,3 +4702,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea 2024-12-10,1.34,1.33,1.31,1.26,1.34,1.55,1.73,1.85,,,2.06,中债国债收益率曲线 2024-12-11,1.33,1.33,1.28,1.26,1.33,1.53,1.71,1.82,,,2.04,中债国债收益率曲线 2024-12-12,1.31,1.31,1.21,1.23,1.31,1.48,1.69,1.82,,,2.04,中债国债收益率曲线 +2024-12-13,1.28,1.28,1.16,1.18,1.25,1.44,1.66,1.78,,,2.01,中债国债收益率曲线