From 06acce00583725c1be27534c94fc79d9962cb4e7 Mon Sep 17 00:00:00 2001 From: afan Date: Thu, 19 Dec 2024 16:04:52 +0000 Subject: [PATCH] daily update tushare data --- data/global_index.csv | 6 +++--- data/stock_basic.csv | 8 +++++--- data/stock_index.csv | 8 ++++++-- data/tf_continuous.csv | 4 ++++ data/yield.csv | 3 ++- 5 files changed, 20 insertions(+), 9 deletions(-) diff --git a/data/global_index.csv b/data/global_index.csv index ba97bd7..d5f2520 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,20241218,6047.65,5872.16,6070.67,5867.79,6050.61,-178.45,-2.95,3.35,3301322.0 SPX,20241217,6052.55,6050.61,6057.68,6035.19,6074.08,-23.47,-0.39,0.37,3000899.0 SPX,20241216,6063.79,6074.08,6085.19,6059.14,6051.09,22.99,0.38,0.43,3097240.0 SPX,20241213,6068.17,6051.09,6078.58,6035.77,6051.25,-0.16,0.0,0.71,2443474.0 @@ -3998,8 +3999,8 @@ 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, SPX,20090129,859.3,845.14,868.89,844.15,874.09,-28.95,-3.31,2.83, SPX,20090128,845.73,874.09,877.86,845.73,845.71,28.39,3.36,3.8, -SPX,20090127,837.3,845.71,850.45,835.4,836.57,9.14,1.09,1.8, -IXIC,20241217,20095.62,20109.06,20148.83,20004.74,20173.89,-64.83,-0.32,0.71,1533446.0 +IXIC,20241218,20114.98,19392.69,20179.77,19336.59,20109.06,-716.37,-3.56,4.19,1786550.0 +IXIC,20241217,20095.62,20109.06,20148.83,20004.73,20173.89,-64.83,-0.32,0.71,1533446.0 IXIC,20241216,20016.12,20173.89,20204.58,19988.12,19926.72,247.17,1.24,1.09,1509334.0 IXIC,20241213,19995.18,19926.72,20061.65,19817.47,19902.84,23.88,0.12,1.23,1166125.0 IXIC,20241212,19947.34,19902.84,20018.24,19897.38,20034.89,-132.05,-0.66,0.6,1151611.0 @@ -7998,4 +7999,3 @@ 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, IXIC,20090130,1517.56,1476.42,1523.45,1472.51,1507.84,-31.42,-2.08,3.38, IXIC,20090129,1537.19,1507.84,1537.84,1505.7,1558.34,-50.5,-3.24,2.06, -IXIC,20090128,1532.52,1558.34,1568.33,1530.03,1504.9,53.44,3.55,2.55, diff --git a/data/stock_basic.csv b/data/stock_basic.csv index 6391d5f..65bca86 100644 --- a/data/stock_basic.csv +++ b/data/stock_basic.csv @@ -2822,6 +2822,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status 301577.SZ,301577,美信科技,广东,元器件,20240124,,L 301578.SZ,301578,辰奕智能,广东,IT设备,20231228,,L 301580.SZ,301580,爱迪特,河北,医疗保健,20240626,,L +301585.SZ,301585,蓝宇股份,浙江,染料涂料,20241220,,L 301586.SZ,301586,佳力奇,安徽,航空,20240828,,L 301587.SZ,301587,中瑞股份,江苏,电气设备,20240408,,L 301588.SZ,301588,美新科技,广东,家居用品,20240313,,L @@ -2829,6 +2830,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status 301591.SZ,301591,肯特股份,江苏,塑料,20240228,,L 301592.SZ,301592,六九一二,四川,软件服务,20241024,,L 301596.SZ,301596,瑞迪智驱,四川,机械基件,20240513,,L +301598.SZ,301598,博科测试,北京,专用机械,20241220,,L 301600.SZ,301600,慧翰股份,福建,通信设备,20240911,,L 301603.SZ,301603,乔锋智能,广东,机床制造,20240710,,L 301606.SZ,301606,绿联科技,深圳,元器件,20240726,,L @@ -3486,7 +3488,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status 600803.SH,600803,新奥股份,河北,供气供热,19940103,,L 600804.SH,600804,*ST鹏博,山东,电信运营,19940103,,L 600805.SH,600805,悦达投资,江苏,综合类,19940103,,L -600807.SH,600807,济南高新,山东,医疗保健,19940103,,L +600807.SH,600807,济高发展,山东,医疗保健,19940103,,L 600808.SH,600808,马钢股份,安徽,普钢,19940106,,L 600809.SH,600809,山西汾酒,山西,白酒,19940106,,L 600810.SH,600810,神马股份,河南,化纤,19940106,,L @@ -5022,7 +5024,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status 688601.SH,688601,力芯微,江苏,半导体,20210628,,L 688602.SH,688602,康鹏科技,上海,化工原料,20230720,,L 688603.SH,688603,天承科技,广东,化工原料,20230710,,L -688605.SH,688605,C先锋,江苏,半导体,20241212,,L +688605.SH,688605,先锋精科,江苏,半导体,20241212,,L 688606.SH,688606,奥泰生物,浙江,医疗保健,20210325,,L 688607.SH,688607,康众医疗,江苏,医疗保健,20210201,,L 688608.SH,688608,恒玄科技,上海,半导体,20201216,,L @@ -5372,7 +5374,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status 920088.BJ,920088,科力股份,,,20241029,,L 920098.BJ,920098,科隆新材,,,20241205,,L 920099.BJ,920099,瑞华技术,,,20240925,,L -920106.BJ,920106,N林泰,,,20241218,,L +920106.BJ,920106,林泰新材,,,20241218,,L 920111.BJ,920111,聚星科技,,,20241111,,L 920118.BJ,920118,太湖远大,,,20240822,,L 920128.BJ,920128,胜业电气,,,20241129,,L diff --git a/data/stock_index.csv b/data/stock_index.csv index 3eaee8e..5b110b6 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,20241219,3370.0331,3355.9041,3377.5321,3346.469,3382.2081,-12.175,-0.36,513909063.0,559130979.0 000001.SH,20241218,3382.2081,3371.2955,3396.4603,3371.2955,3361.485,20.7231,0.6165,512524979.0,539790684.4 000001.SH,20241217,3361.485,3381.8141,3396.2074,3357.7694,3386.3312,-24.8462,-0.7337,568941505.0,584789337.3 000001.SH,20241216,3386.3312,3390.083,3401.9263,3376.5358,3391.8782,-5.547,-0.1635,625578996.0,675237492.9 @@ -7998,7 +7999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 000001.SH,19920305,369.76,369.31,369.88,368.11,368.32,1.44,0.391,8360.0,14928.647 000001.SH,19920304,368.32,367.56,368.32,366.95,367.0,1.32,0.3597,5614.0,10365.269 000001.SH,19920303,367.0,366.79,367.25,365.39,365.39,1.61,0.4406,2989.0,3366.071 -000001.SH,19920302,365.39,365.15,365.39,364.66,364.66,0.73,0.2002,3405.0,5644.321 +399001.SZ,20241219,10649.0339,10483.5035,10673.9616,10460.1961,10584.2695,64.7644,0.6119,760693343.0,884957667.1 399001.SZ,20241218,10584.2695,10561.9354,10639.7699,10535.7611,10537.4285,46.841,0.4445,740846621.0,820732340.3 399001.SZ,20241217,10537.4285,10557.2316,10677.7429,10526.2556,10573.9194,-36.4909,-0.3451,858140531.0,925567807.7 399001.SZ,20241216,10573.9194,10705.5166,10721.7095,10535.5265,10713.072,-139.1526,-1.2989,922676962.0,1024563635.1 @@ -15998,7 +15999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount 399001.SZ,19920213,1012.07,1012.02,1015.77,1006.37,1010.98,1.09,0.1078,8245.0,15139.785 399001.SZ,19920212,1010.98,1004.0,1014.8,1000.77,1003.93,7.05,0.7022,7183.0,12742.85 399001.SZ,19920211,1003.93,1002.48,1013.29,996.08,1003.19,0.74,0.0738,8472.0,15050.54 -399001.SZ,19920210,1003.19,1019.89,1024.32,979.4,1021.08,-17.89,-1.7521,9559.0,16433.29 +000016.SH,20241219,2661.7224,2652.1949,2672.5807,2642.6831,2671.3461,-9.6237,-0.3603,40214140.0,76390568.283 000016.SH,20241218,2671.3461,2662.0322,2681.1212,2661.8983,2652.3455,19.0006,0.7164,44259056.0,80506001.923 000016.SH,20241217,2652.3455,2637.3498,2672.9552,2637.3498,2641.5604,10.7851,0.4083,44279234.0,83019813.879 000016.SH,20241216,2641.5604,2637.7401,2647.6977,2635.2467,2638.0266,3.5338,0.134,54098120.0,93658808.689 @@ -21091,6 +21092,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,20241219,3945.4635,3911.8901,3954.3491,3899.7479,3941.89,3.5735,0.0907,161081040.0,321771606.933 000300.SH,20241218,3941.89,3934.5425,3956.1441,3933.9693,3922.0334,19.8566,0.5063,157738321.0,276825381.224 000300.SH,20241217,3922.0334,3908.1263,3955.945,3908.1263,3911.8416,10.1918,0.2605,160939090.0,306037370.847 000300.SH,20241216,3911.8416,3930.7807,3938.7595,3901.6465,3933.1808,-21.3392,-0.5425,178511251.0,327619081.581 @@ -25940,6 +25942,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,20241219,5901.9155,5829.2631,5918.4895,5816.4729,5888.6162,13.2993,0.2258,196531194.0,211287492.264 000905.SH,20241218,5888.6162,5861.2624,5921.9798,5853.1628,5848.1628,40.4534,0.6917,187996290.0,193282038.369 000905.SH,20241217,5848.1628,5896.9676,5924.6244,5837.2514,5912.6014,-64.4386,-1.0899,193108547.0,204630242.338 000905.SH,20241216,5912.6014,5983.1598,5991.5772,5888.0426,5988.292,-75.6906,-1.264,214647441.0,241790858.877 @@ -30789,6 +30792,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,20241219,6207.1862,6127.2202,6223.8046,6108.3942,6195.8677,11.3185,0.1827,251487924.0,320880949.172 000852.SH,20241218,6195.8677,6156.6921,6242.5165,6121.0537,6143.9436,51.9241,0.8451,248024122.0,310421477.632 000852.SH,20241217,6143.9436,6262.4928,6269.1401,6133.1291,6277.5162,-133.5726,-2.1278,274793959.0,325036282.699 000852.SH,20241216,6277.5162,6355.6283,6367.8085,6248.1579,6354.9883,-77.4721,-1.2191,310215173.0,379382275.677 diff --git a/data/tf_continuous.csv b/data/tf_continuous.csv index 137bc2a..b58aff4 100644 --- a/data/tf_continuous.csv +++ b/data/tf_continuous.csv @@ -1,4 +1,5 @@ ts_code,trade_date,mapping_ts_code +TS.CFX,20241219,TS2503.CFX TS.CFX,20241218,TS2503.CFX TS.CFX,20241217,TS2503.CFX TS.CFX,20241216,TS2503.CFX @@ -1536,6 +1537,7 @@ TS.CFX,20180822,TS1812.CFX TS.CFX,20180821,TS1812.CFX TS.CFX,20180820,TS1812.CFX TS.CFX,20180817,TS1812.CFX +TF.CFX,20241219,TF2503.CFX TF.CFX,20241218,TF2503.CFX TF.CFX,20241217,TF2503.CFX TF.CFX,20241216,TF2503.CFX @@ -3958,6 +3960,7 @@ TF.CFX,20150108,TF1503.CFX TF.CFX,20150107,TF1503.CFX TF.CFX,20150106,TF1503.CFX TF.CFX,20150105,TF1503.CFX +T.CFX,20241219,T2503.CFX T.CFX,20241218,T2503.CFX T.CFX,20241217,T2503.CFX T.CFX,20241216,T2503.CFX @@ -6331,6 +6334,7 @@ T.CFX,20150325,T1509.CFX T.CFX,20150324,T1509.CFX T.CFX,20150323,T1509.CFX T.CFX,20150320,T1509.CFX +TL.CFX,20241219,T2503.CFX TL.CFX,20241218,T2503.CFX TL.CFX,20241217,T2503.CFX TL.CFX,20241216,T2503.CFX diff --git a/data/yield.csv b/data/yield.csv index 24a8aca..66bd3da 100644 --- a/data/yield.csv +++ b/data/yield.csv @@ -4705,4 +4705,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea 2024-12-13,1.28,1.28,1.16,1.18,1.25,1.44,1.66,1.78,,,2.01,中债国债收益率曲线 2024-12-16,1.24,1.25,1.12,1.16,1.21,1.42,1.63,1.72,,,1.95,中债国债收益率曲线 2024-12-17,1.2,1.21,1.11,1.17,1.21,1.44,1.64,1.72,,,1.96,中债国债收益率曲线 -2024-12-18,1.15,1.16,1.08,1.14,1.20,1.45,1.67,1.76,,,2.00,中债国债收益率曲线 +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.10,1.11,1.04,1.13,1.17,1.42,1.65,1.74,,,1.99,中债国债收益率曲线