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 16, 2024
1 parent b2f4992 commit 05f0c45
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
3 changes: 2 additions & 1 deletion data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5022,7 +5022,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,N先锋,江苏,半导体,20241212,,L
688605.SH,688605,C先锋,江苏,半导体,20241212,,L
688606.SH,688606,奥泰生物,浙江,医疗保健,20210325,,L
688607.SH,688607,康众医疗,江苏,医疗保健,20210201,,L
688608.SH,688608,恒玄科技,上海,半导体,20201216,,L
Expand Down Expand Up @@ -5372,6 +5372,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,林泰新材,,,20241218,,L
920111.BJ,920111,聚星科技,,,20241111,,L
920118.BJ,920118,太湖远大,,,20240822,,L
920128.BJ,920128,胜业电气,,,20241129,,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,20241216,3386.3312,3390.083,3401.9263,3376.5358,3391.8782,-5.547,-0.1635,625578996.0,675237492.9
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
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,19920302,365.39,365.15,365.39,364.66,364.66,0.73,0.2002,3405.0,5644.321
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
399001.SZ,20241216,10573.9194,10705.5166,10721.7095,10535.5265,10713.072,-139.1526,-1.2989,922676962.0,1024563635.1
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
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,19920210,1003.19,1019.89,1024.32,979.4,1021.08,-17.89,-1.7521,9559.0,16433.29
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
000016.SH,20241216,2641.5604,2637.7401,2647.6977,2635.2467,2638.0266,3.5338,0.134,54098120.0,93658808.689
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
Expand Down Expand Up @@ -21088,6 +21089,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,20241216,3911.8416,3930.7807,3938.7595,3901.6465,3933.1808,-21.3392,-0.5425,178511251.0,327619081.581
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
Expand Down Expand Up @@ -25934,6 +25936,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,20241216,5912.6014,5983.1598,5991.5772,5888.0426,5988.292,-75.6906,-1.264,214647441.0,241790858.877
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
Expand Down Expand Up @@ -30780,6 +30783,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,20241216,6277.5162,6355.6283,6367.8085,6248.1579,6354.9883,-77.4721,-1.2191,310215173.0,379382275.677
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
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,20241216,TS2503.CFX
TS.CFX,20241213,TS2503.CFX
TS.CFX,20241212,TS2503.CFX
TS.CFX,20241211,TS2503.CFX
Expand Down Expand Up @@ -1533,6 +1534,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241216,TF2503.CFX
TF.CFX,20241213,TF2503.CFX
TF.CFX,20241212,TF2503.CFX
TF.CFX,20241211,TF2503.CFX
Expand Down Expand Up @@ -3952,6 +3954,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241216,T2503.CFX
T.CFX,20241213,T2503.CFX
T.CFX,20241212,T2503.CFX
T.CFX,20241211,T2503.CFX
Expand Down Expand Up @@ -6322,6 +6325,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241216,T2503.CFX
TL.CFX,20241213,T2412.CFX
TL.CFX,20241212,T2412.CFX
TL.CFX,20241211,T2412.CFX
Expand Down
1 change: 1 addition & 0 deletions data/yield.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4703,3 +4703,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
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,中债国债收益率曲线
2024-12-16,1.24,1.25,1.12,1.16,1.21,1.42,1.63,1.72,,,1.95,中债国债收益率曲线

0 comments on commit 05f0c45

Please sign in to comment.