Skip to content

Commit

Permalink
daily update tushare data
Browse files Browse the repository at this point in the history
  • Loading branch information
afan committed Dec 23, 2024
1 parent eb2a917 commit 1a82d81
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
5 changes: 3 additions & 2 deletions data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2822,15 +2822,15 @@ 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,N蓝宇,浙江,染料涂料,20241220,,L
301585.SZ,301585,C蓝宇,浙江,染料涂料,20241220,,L
301586.SZ,301586,佳力奇,安徽,航空,20240828,,L
301587.SZ,301587,中瑞股份,江苏,电气设备,20240408,,L
301588.SZ,301588,美新科技,广东,家居用品,20240313,,L
301589.SZ,301589,诺瓦星云,陕西,IT设备,20240208,,L
301591.SZ,301591,肯特股份,江苏,塑料,20240228,,L
301592.SZ,301592,六九一二,四川,软件服务,20241024,,L
301596.SZ,301596,瑞迪智驱,四川,机械基件,20240513,,L
301598.SZ,301598,N博科,北京,专用机械,20241220,,L
301598.SZ,301598,C博科,北京,专用机械,20241220,,L
301600.SZ,301600,慧翰股份,福建,通信设备,20240911,,L
301603.SZ,301603,乔锋智能,广东,机床制造,20240710,,L
301606.SZ,301606,绿联科技,深圳,元器件,20240726,,L
Expand Down Expand Up @@ -4008,6 +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
603195.SH,603195,公牛集团,浙江,家用电器,20200206,,L
603196.SH,603196,日播时尚,上海,服饰,20170531,,L
603197.SH,603197,保隆科技,上海,汽车配件,20170519,,L
Expand Down
8 changes: 6 additions & 2 deletions data/stock_index.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
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
000001.SH,20241218,3382.2081,3371.2955,3396.4603,3371.2955,3361.485,20.7231,0.6165,512524979.0,539790684.4
Expand Down Expand Up @@ -7998,7 +7999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
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
000001.SH,19920304,368.32,367.56,368.32,366.95,367.0,1.32,0.3597,5614.0,10365.269
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
399001.SZ,20241218,10584.2695,10561.9354,10639.7699,10535.7611,10537.4285,46.841,0.4445,740846621.0,820732340.3
Expand Down Expand Up @@ -15998,7 +15999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
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
399001.SZ,19920212,1010.98,1004.0,1014.8,1000.77,1003.93,7.05,0.7022,7183.0,12742.85
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
000016.SH,20241218,2671.3461,2662.0322,2681.1212,2661.8983,2652.3455,19.0006,0.7164,44259056.0,80506001.923
Expand Down Expand Up @@ -21093,6 +21094,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,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
000300.SH,20241218,3941.89,3934.5425,3956.1441,3933.9693,3922.0334,19.8566,0.5063,157738321.0,276825381.224
Expand Down Expand Up @@ -25944,6 +25946,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,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
000905.SH,20241218,5888.6162,5861.2624,5921.9798,5853.1628,5848.1628,40.4534,0.6917,187996290.0,193282038.369
Expand Down Expand Up @@ -30795,6 +30798,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,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
000852.SH,20241218,6195.8677,6156.6921,6242.5165,6121.0537,6143.9436,51.9241,0.8451,248024122.0,310421477.632
Expand Down
4 changes: 4 additions & 0 deletions data/tf_continuous.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ts_code,trade_date,mapping_ts_code
TS.CFX,20241223,TS2503.CFX
TS.CFX,20241220,TS2503.CFX
TS.CFX,20241219,TS2503.CFX
TS.CFX,20241218,TS2503.CFX
Expand Down Expand Up @@ -1538,6 +1539,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241223,TF2503.CFX
TF.CFX,20241220,TF2503.CFX
TF.CFX,20241219,TF2503.CFX
TF.CFX,20241218,TF2503.CFX
Expand Down Expand Up @@ -3962,6 +3964,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241223,T2503.CFX
T.CFX,20241220,T2503.CFX
T.CFX,20241219,T2503.CFX
T.CFX,20241218,T2503.CFX
Expand Down Expand Up @@ -6337,6 +6340,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241223,T2503.CFX
TL.CFX,20241220,T2503.CFX
TL.CFX,20241219,T2503.CFX
TL.CFX,20241218,T2503.CFX
Expand Down
1 change: 1 addition & 0 deletions data/yield.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4708,3 +4708,4 @@ 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,中债国债收益率曲线

0 comments on commit 1a82d81

Please sign in to comment.