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 Jan 10, 2025
1 parent 8d96645 commit ddf9133
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion data/global_index.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3999,6 +3999,7 @@ SPX,20090223,770.03,743.33,777.85,742.37,770.05,-26.72,-3.47,4.61,
SPX,20090220,768.2,770.05,778.69,754.25,778.94,-8.9,-1.14,3.14,
SPX,20090219,795.19,778.94,797.58,777.03,788.42,-9.47,-1.2,2.61,
SPX,20090218,791.06,788.42,796.17,780.43,789.17,-0.76,-0.1,1.99,
IXIC,20250108,,19478.88,19544.5,19308.54,19489.68,-10.8,-0.06,1.21,
IXIC,20250107,,19489.68,19940.21,19421.02,19864.98,-375.3,-1.89,2.61,
IXIC,20250106,,19864.98,20007.95,19785.0,19621.68,243.3,1.24,1.14,
IXIC,20250103,19395.51,19621.68,19638.66,19379.57,19280.79,340.89,1.77,1.34,1314228.0
Expand Down Expand Up @@ -7998,4 +7999,3 @@ IXIC,20090223,1452.58,1387.72,1452.58,1386.68,1441.23,-53.51,-3.71,4.57,
IXIC,20090220,1427.03,1441.23,1454.39,1416.96,1442.82,-1.59,-0.11,2.59,
IXIC,20090219,1478.55,1442.82,1485.14,1442.53,1467.97,-25.15,-1.71,2.9,
IXIC,20090218,1480.65,1467.97,1487.92,1454.46,1470.66,-2.69,-0.18,2.28,
IXIC,20090217,1489.12,1470.66,1492.82,1467.79,1534.36,-63.7,-4.15,1.63,
8 changes: 4 additions & 4 deletions data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2773,7 +2773,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
301446.SZ,301446,福事特,江西,机械基件,20230725,,L
301448.SZ,301448,开创电气,浙江,机械基件,20230619,,L
301456.SZ,301456,盘古智能,山东,电气设备,20230714,,L
301458.SZ,301458,钧崴电子,广东,元器件,20250110,,L
301458.SZ,301458,N钧崴,广东,元器件,20250110,,L
301459.SZ,301459,丰茂股份,浙江,汽车配件,20231213,,L
301468.SZ,301468,博盈特焊,广东,专用机械,20230724,,L
301469.SZ,301469,恒达新材,浙江,造纸,20230822,,L
Expand Down Expand Up @@ -2824,7 +2824,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
301581.SZ,301581,C黄山谷,安徽,半导体,20250103,,L
301581.SZ,301581,黄山谷捷,安徽,半导体,20250103,,L
301585.SZ,301585,蓝宇股份,浙江,染料涂料,20241220,,L
301586.SZ,301586,佳力奇,安徽,航空,20240828,,L
301587.SZ,301587,中瑞股份,江苏,电气设备,20240408,,L
Expand Down Expand Up @@ -3917,7 +3917,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
603069.SH,603069,海汽集团,海南,公共交通,20160712,,L
603070.SH,603070,万控智造,浙江,电气设备,20220310,,L
603071.SH,603071,物产环能,浙江,批发业,20211216,,L
603072.SH,603072,C天和,内蒙,矿物制品,20250103,,L
603072.SH,603072,天和磁材,内蒙,矿物制品,20250103,,L
603073.SH,603073,彩蝶实业,浙江,纺织,20230316,,L
603075.SH,603075,热威股份,浙江,家用电器,20230911,,L
603076.SH,603076,乐惠国际,浙江,专用机械,20171113,,L
Expand Down Expand Up @@ -5120,7 +5120,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
688737.SH,688737,中自科技,四川,汽车配件,20211022,,L
688739.SH,688739,成大生物,辽宁,生物制药,20211028,,L
688750.SH,688750,金天钛业,湖南,小金属,20241120,,L
688758.SH,688758,赛分科技,江苏,化工原料,20250110,,L
688758.SH,688758,N赛分,江苏,化工原料,20250110,,L
688766.SH,688766,普冉股份,上海,半导体,20210823,,L
688767.SH,688767,博拓生物,浙江,医疗保健,20210908,,L
688768.SH,688768,容知日新,安徽,电器仪表,20210726,,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,20250110,3168.5238,3211.7068,3220.1073,3168.5238,3211.3933,-42.8695,-1.3349,403663348.0,465939368.0
000001.SH,20250109,3211.3933,3220.7205,3228.9725,3205.9103,3230.1679,-18.7746,-0.5812,382943557.0,434445510.3
000001.SH,20250108,3230.1679,3218.8577,3246.2908,3175.7247,3229.6439,0.524,0.0162,472864390.0,508148444.9
000001.SH,20250107,3229.6439,3203.3068,3230.8529,3190.4612,3206.9228,22.7211,0.7085,409660529.0,436388386.6
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,19920326,379.13,379.29,379.34,377.64,378.12,1.01,0.2671,10225.0,24177.846
000001.SH,19920325,378.12,378.33,379.02,378.12,378.69,-0.57,-0.1505,11820.0,21445.413
000001.SH,19920324,378.69,378.53,379.5,378.05,378.89,-0.2,-0.0528,4378.0,7016.716
000001.SH,19920323,378.89,378.61,379.04,377.45,377.99,0.9,0.2381,10290.0,24375.08
399001.SZ,20250110,9795.9438,9957.8343,10004.0607,9795.9438,9976.0038,-180.06,-1.8049,616360985.0,682335422.6
399001.SZ,20250109,9976.0038,9906.9088,10021.9397,9901.6345,9944.6404,31.3634,0.3154,605202920.0,677482470.7
399001.SZ,20250108,9944.6404,9940.1968,10016.2192,9731.4379,9998.7565,-54.1161,-0.5412,683561380.0,734817586.3
399001.SZ,20250107,9998.7565,9860.578,10000.3408,9822.0008,9885.6545,113.102,1.1441,588919068.0,640248820.2
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,19920305,1010.38,1004.21,1014.67,1001.11,1003.68,6.7,0.6675,19899.0,25828.055
399001.SZ,19920304,1003.68,1011.59,1016.44,996.87,1008.1,-4.42,-0.4384,20709.0,26408.615
399001.SZ,19920303,1008.1,1017.77,1024.46,1002.58,1015.28,-7.18,-0.7072,19240.0,27103.44
399001.SZ,19920302,1015.28,1020.32,1029.84,1008.86,994.14,21.14,2.1265,26131.0,34533.245
000016.SH,20250110,2560.2497,2585.1998,2593.0872,2560.2497,2579.5751,-19.3254,-0.7492,36166878.0,77578645.821
000016.SH,20250109,2579.5751,2595.6918,2597.0557,2574.603,2597.4459,-17.8708,-0.688,34356506.0,66475790.924
000016.SH,20250108,2597.4459,2587.5267,2611.1528,2565.5989,2593.9654,3.4805,0.1342,46257463.0,86623183.322
000016.SH,20250107,2593.9654,2576.6772,2595.6633,2566.6785,2579.9632,14.0022,0.5427,39218598.0,76104916.408
Expand Down Expand Up @@ -21106,6 +21107,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,20250110,3732.4806,3778.8928,3786.8069,3732.4806,3779.8773,-47.3967,-1.2539,137523171.0,275354209.064
000300.SH,20250109,3779.8773,3780.7341,3795.2608,3768.681,3789.2153,-9.338,-0.2464,129794002.0,251486002.82
000300.SH,20250108,3789.2153,3781.261,3810.7355,3731.1887,3796.1055,-6.8902,-0.1815,169166968.0,300965725.433
000300.SH,20250107,3796.1055,3760.866,3797.602,3749.0581,3768.9697,27.1358,0.72,146455779.0,266855795.347
Expand Down Expand Up @@ -25970,6 +25972,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,20250110,5369.2811,5449.0014,5496.3833,5369.2811,5456.5863,-87.3052,-1.6,130179553.0,159984103.633
000905.SH,20250109,5456.5863,5437.8128,5493.6799,5436.7036,5461.5861,-4.9998,-0.0915,129832627.0,156798867.821
000905.SH,20250108,5461.5861,5462.324,5501.6555,5326.9259,5484.6847,-23.0986,-0.4211,163849915.0,181141237.076
000905.SH,20250107,5484.6847,5429.1729,5485.5848,5405.1327,5427.1007,57.584,1.061,145065278.0,159836326.878
Expand Down Expand Up @@ -30834,6 +30837,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,20250110,5544.9158,5662.7667,5718.2122,5544.9158,5672.7796,-127.8638,-2.254,198014877.0,242988533.223
000852.SH,20250109,5672.7796,5629.8952,5714.4606,5629.8239,5661.7793,11.0003,0.1943,193320421.0,248219962.749
000852.SH,20250108,5661.7793,5664.3121,5706.6593,5501.4918,5692.041,-30.2617,-0.5316,225800830.0,272083991.656
000852.SH,20250107,5692.041,5610.9462,5694.0046,5580.8851,5608.0344,84.0066,1.498,193912450.0,234287089.801
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,20250110,TS2503.CFX
TS.CFX,20250109,TS2503.CFX
TS.CFX,20250108,TS2503.CFX
TS.CFX,20250107,TS2503.CFX
Expand Down Expand Up @@ -1551,6 +1552,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20250110,TF2503.CFX
TF.CFX,20250109,TF2503.CFX
TF.CFX,20250108,TF2503.CFX
TF.CFX,20250107,TF2503.CFX
Expand Down Expand Up @@ -3988,6 +3990,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20250110,T2503.CFX
T.CFX,20250109,T2503.CFX
T.CFX,20250108,T2503.CFX
T.CFX,20250107,T2503.CFX
Expand Down Expand Up @@ -6376,6 +6379,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20250110,T2503.CFX
TL.CFX,20250109,T2503.CFX
TL.CFX,20250108,T2503.CFX
TL.CFX,20250107,T2503.CFX
Expand Down
3 changes: 2 additions & 1 deletion data/yield.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4720,4 +4720,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2025-01-06,1.02,1.03,1.04,1.01,1.12,1.35,1.49,1.6,,,1.83,中债国债收益率曲线
2025-01-07,1.08,1.08,1.08,1.05,1.16,1.39,1.5,1.61,,,1.86,中债国债收益率曲线
2025-01-08,1.1,1.1,1.12,1.09,1.18,1.39,1.5,1.61,,,1.87,中债国债收益率曲线
2025-01-09,1.19,1.20,1.17,1.17,1.24,1.45,1.53,1.64,,,1.89,中债国债收益率曲线
2025-01-09,1.19,1.2,1.17,1.17,1.24,1.45,1.53,1.64,,,1.89,中债国债收益率曲线
2025-01-10,1.20,1.20,1.20,1.21,1.26,1.43,1.55,1.63,,,1.88,中债国债收益率曲线

0 comments on commit ddf9133

Please sign in to comment.