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 Aug 27, 2024
1 parent 72e6c85 commit c785132
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
8 changes: 5 additions & 3 deletions data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
000972.SZ,000972,中基健康,新疆,食品,20000926,,L
000973.SZ,000973,佛塑科技,广东,塑料,20000525,,L
000975.SZ,000975,山金国际,内蒙,黄金,20000608,,L
000976.SZ,000976,*ST华铁,广东,运输设备,20000601,,L
000977.SZ,000977,浪潮信息,山东,IT设备,20000608,,L
000978.SZ,000978,桂林旅游,广西,旅游景点,20000518,,L
000980.SZ,000980,众泰汽车,浙江,汽车配件,20000616,,L
Expand Down Expand Up @@ -2825,6 +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
301586.SZ,301586,佳力奇,安徽,航空,20240828,,L
301587.SZ,301587,中瑞股份,江苏,电气设备,20240408,,L
301588.SZ,301588,美新科技,广东,家居用品,20240313,,L
301589.SZ,301589,诺瓦星云,陕西,IT设备,20240208,,L
Expand Down Expand Up @@ -4007,7 +4007,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
603201.SH,603201,常润股份,江苏,汽车配件,20220729,,L
603203.SH,603203,快克智能,江苏,专用机械,20161108,,L
603206.SH,603206,嘉环科技,江苏,通信设备,20220506,,L
603207.SH,603207,N小方,上海,化学制药,20240826,,L
603207.SH,603207,C小方,上海,化学制药,20240826,,L
603208.SH,603208,江山欧派,浙江,家居用品,20170210,,L
603209.SH,603209,兴通股份,福建,水运,20220324,,L
603211.SH,603211,晋拓股份,上海,汽车配件,20220725,,L
Expand Down Expand Up @@ -5347,6 +5347,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
873806.BJ,873806,云星宇,北京,软件服务,20240111,,L
873833.BJ,873833,美心翼申,重庆,汽车配件,20231108,,L
920002.BJ,920002,万达轴承,,,20240530,,L
920008.BJ,920008,成电光信,,,20240829,,L
920118.BJ,920118,太湖远大,,,20240822,,L
689009.SH,689009,九号公司-WD,北京,摩托车,20201029,,L
000003.SZ,000003,PT金田A(退),,,19910703,20020614,D
Expand Down Expand Up @@ -5427,6 +5428,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
000956.SZ,000956,中原油气(退),,,19991110,20060421,D
000961.SZ,000961,ST中南(退),,,20000301,20240711,D
000971.SZ,000971,*ST高升(退),,,20000427,20240724,D
000976.SZ,000976,*ST华铁(退),广东,运输设备,20000601,20240827,D
000979.SZ,000979,中弘退(退),,,20000616,20181228,D
000982.SZ,000982,中银绒业(退),,,20000706,20240812,D
000996.SZ,000996,中期退(退),,,20000718,20240628,D
Expand Down Expand Up @@ -5466,7 +5468,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
002618.SZ,002618,丹邦退(退),,,20110920,20220622,D
002619.SZ,002619,*ST艾格(退),,,20110929,20220428,D
002621.SZ,002621,*ST美吉(退),,,20110929,20240805,D
002665.SZ,002665,ST航高(退),甘肃,电气设备,20120327,20240826,D
002665.SZ,002665,ST航高(退),,,20120327,20240826,D
002680.SZ,002680,长生退(退),,,20120605,20191127,D
002684.SZ,002684,猛狮退(退),,,20120612,20220627,D
002699.SZ,002699,*ST美盛(退),,,20120911,20240605,D
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,20240827,2848.7312,2850.8773,2853.7804,2843.1576,2855.5203,-6.7891,-0.2378,230693006.0,215686326.2
000001.SH,20240826,2855.5203,2855.4741,2860.6545,2844.3828,2854.3675,1.1528,0.0404,227351523.0,216806649.0
000001.SH,20240823,2854.3675,2844.7703,2860.7327,2839.3371,2848.7718,5.5957,0.1964,226692565.0,214581900.3
000001.SH,20240822,2848.7718,2856.2001,2861.6071,2845.5024,2856.5839,-7.8121,-0.2735,245399415.0,230124077.2
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,19911115,238.25,238.25,238.25,237.45,237.45,0.8,0.3369,2058.0,1914.795
000001.SH,19911114,237.45,237.39,237.45,236.67,236.67,0.78,0.3296,862.0,940.119
000001.SH,19911113,236.67,236.51,236.67,235.8,235.8,0.87,0.369,799.0,879.975
000001.SH,19911112,235.8,235.75,235.8,233.55,233.55,2.25,0.9634,895.0,914.377
399001.SZ,20240827,8103.7591,8161.6812,8168.0422,8084.037,8194.6452,-90.8861,-1.1091,336850151.0,295770774.4
399001.SZ,20240826,8194.6452,8194.9363,8225.994,8163.8783,8181.917,12.7282,0.1556,342678353.0,309718933.6
399001.SZ,20240823,8181.917,8134.4,8207.5895,8133.5705,8162.175,19.742,0.2419,343813744.0,295643540.7
399001.SZ,20240822,8162.175,8234.2801,8247.9471,8151.6342,8229.7503,-67.5753,-0.8211,361758836.0,319029043.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,19911022,659.23,671.54,672.47,656.15,670.9,-11.67,-1.7395,19334.0,20178.005
399001.SZ,19911021,670.9,673.17,681.39,665.44,673.82,-2.92,-0.4334,20252.0,21955.5
399001.SZ,19911018,675.86,673.64,697.23,669.15,672.13,3.73,0.555,31849.0,32701.385
399001.SZ,19911017,672.13,646.93,672.98,642.69,648.78,23.35,3.5991,36589.0,32638.84
000016.SH,20240827,2350.4141,2348.5443,2355.5744,2345.3023,2352.2729,-1.8588,-0.079,30952524.0,40323563.656
000016.SH,20240826,2352.2729,2356.7933,2361.8834,2341.2322,2355.3787,-3.1058,-0.1319,26900476.0,39379737.067
000016.SH,20240823,2355.3787,2338.6644,2361.0625,2338.3218,2341.1509,14.2278,0.6077,27900047.0,43651870.17
000016.SH,20240822,2341.1509,2340.1542,2344.9926,2332.3636,2339.072,2.0789,0.0889,31112912.0,44159381.961
Expand Down Expand Up @@ -21016,6 +21017,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,20240827,3305.3338,3315.686,3320.5667,3299.5635,3324.2231,-18.8893,-0.5682,95808157.0,129755962.864
000300.SH,20240826,3324.2231,3330.7184,3336.5271,3311.5701,3327.1905,-2.9674,-0.0892,93990772.0,139070603.958
000300.SH,20240823,3327.1905,3305.9307,3336.2414,3305.6403,3313.1357,14.0548,0.4242,89525774.0,132680886.5
000300.SH,20240822,3313.1357,3322.8723,3327.6962,3305.2453,3321.635,-8.4993,-0.2559,100366504.0,147702791.561
Expand Down Expand Up @@ -25790,6 +25792,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,20240827,4495.2856,4532.4861,4532.4861,4487.0915,4544.3594,-49.0738,-1.0799,82529205.0,78742868.645
000905.SH,20240826,4544.3594,4542.8564,4558.5917,4523.7274,4537.0872,7.2722,0.1603,87118296.0,84365247.767
000905.SH,20240823,4537.0872,4523.9907,4549.3026,4513.2038,4533.3695,3.7177,0.082,75778364.0,71369991.696
000905.SH,20240822,4533.3695,4589.4956,4595.0496,4526.2499,4587.1218,-53.7523,-1.1718,85856868.0,78202476.719
Expand Down Expand Up @@ -30564,6 +30567,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,20240827,4459.6801,4500.735,4501.0835,4449.2147,4512.893,-53.2129,-1.1791,113939520.0,100126840.569
000852.SH,20240826,4512.893,4492.7057,4531.1733,4476.243,4495.3439,17.5491,0.3904,112271843.0,97519324.794
000852.SH,20240823,4495.3439,4482.6543,4510.5977,4462.7595,4491.8392,3.5047,0.078,110254720.0,94849186.101
000852.SH,20240822,4491.8392,4549.2996,4562.9769,4484.559,4548.2644,-56.4252,-1.2406,113469330.0,97994054.398
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,20240827,TS2412.CFX
TS.CFX,20240826,TS2412.CFX
TS.CFX,20240823,TS2412.CFX
TS.CFX,20240822,TS2412.CFX
Expand Down Expand Up @@ -1461,6 +1462,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20240827,TF2412.CFX
TF.CFX,20240826,TF2412.CFX
TF.CFX,20240823,TF2412.CFX
TF.CFX,20240822,TF2412.CFX
Expand Down Expand Up @@ -3808,6 +3810,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20240827,T2412.CFX
T.CFX,20240826,T2412.CFX
T.CFX,20240823,T2412.CFX
T.CFX,20240822,T2412.CFX
Expand Down Expand Up @@ -6106,6 +6109,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20240827,T2409.CFX
TL.CFX,20240826,T2409.CFX
TL.CFX,20240823,T2409.CFX
TL.CFX,20240822,T2409.CFX
Expand Down
3 changes: 2 additions & 1 deletion data/yield.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4627,4 +4627,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-08-21,1.54,1.6,1.54,1.65,1.77,1.88,2.08,2.17,,,2.36,中债国债收益率曲线
2024-08-22,1.53,1.58,1.52,1.63,1.73,1.87,2.06,2.16,,,2.35,中债国债收益率曲线
2024-08-23,1.51,1.56,1.5,1.58,1.69,1.85,2.06,2.15,,,2.34,中债国债收益率曲线
2024-08-26,1.50,1.54,1.50,1.55,1.68,1.84,2.06,2.16,,,2.35,中债国债收益率曲线
2024-08-26,1.5,1.54,1.5,1.55,1.68,1.84,2.06,2.16,,,2.35,中债国债收益率曲线
2024-08-27,1.52,1.54,1.51,1.55,1.69,1.87,2.10,2.19,,,2.38,中债国债收益率曲线

0 comments on commit c785132

Please sign in to comment.