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 Sep 18, 2024
1 parent 393b70e commit 30bf4bf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
000858.SZ,000858,五粮液,四川,白酒,19980427,,L
000859.SZ,000859,国风新材,安徽,塑料,19981119,,L
000860.SZ,000860,顺鑫农业,北京,白酒,19981104,,L
000861.SZ,000861,海印股份,广东,其他商业,19981028,,L
000862.SZ,000862,银星能源,宁夏,新型电力,19980915,,L
000863.SZ,000863,三湘印象,上海,区域地产,19970925,,L
000868.SZ,000868,安凯客车,安徽,汽车整车,19970725,,L
Expand Down Expand Up @@ -5348,7 +5347,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
873833.BJ,873833,美心翼申,重庆,汽车配件,20231108,,L
920002.BJ,920002,万达轴承,,,20240530,,L
920008.BJ,920008,成电光信,,,20240829,,L
920016.BJ,920016,N中草,,,20240913,,L
920016.BJ,920016,中草香料,,,20240913,,L
920118.BJ,920118,太湖远大,,,20240822,,L
689009.SH,689009,九号公司-WD,北京,摩托车,20201029,,L
000003.SZ,000003,PT金田A(退),,,19910703,20020614,D
Expand Down Expand Up @@ -5423,6 +5422,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
000832.SZ,000832,*ST龙涤(退),,,19980825,20060629,D
000835.SZ,000835,长动退(退),,,19990625,20220523,D
000836.SZ,000836,ST富通(退),,,19970929,20240812,D
000861.SZ,000861,海印股份(退),广东,其他商业,19981028,20240918,D
000866.SZ,000866,扬子石化(退),,,19980512,20060421,D
000916.SZ,000916,华北高速(退),,,19990927,20171225,D
000918.SZ,000918,*ST嘉凯(退),,,19990720,20230728,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,20240918,2717.2813,2705.3451,2724.1141,2689.6952,2704.0896,13.1917,0.4878,247817132.0,213090588.6
000001.SH,20240913,2704.0896,2718.9864,2728.7797,2703.3689,2717.1231,-13.0335,-0.4797,251270038.0,227818801.1
000001.SH,20240912,2717.1231,2722.1382,2734.6832,2716.5552,2721.7952,-4.6721,-0.1717,240084315.0,218571098.7
000001.SH,20240911,2721.7952,2732.7314,2732.7314,2710.6208,2744.1921,-22.3969,-0.8162,242264900.0,219755948.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,19911205,266.66,266.48,266.66,265.77,265.77,0.89,0.3349,2050.0,2100.256
000001.SH,19911204,265.77,265.53,265.77,264.81,264.81,0.96,0.3625,742.0,903.324
000001.SH,19911203,264.81,264.64,264.81,262.19,262.19,2.62,0.9993,1101.0,1207.594
000001.SH,19911202,262.19,261.78,262.19,259.67,259.6,2.59,0.9977,19128.0,16310.19
399001.SZ,20240918,7992.2527,7975.1893,8017.3836,7908.5233,7983.5478,8.7049,0.109,333544740.0,266237690.2
399001.SZ,20240913,7983.5478,8054.4271,8084.353,7983.5478,8054.2426,-70.6948,-0.8777,348220225.0,296940694.5
399001.SZ,20240912,8054.2426,8122.7719,8176.0523,8053.8807,8105.3849,-51.1423,-0.631,336517412.0,296996277.1
399001.SZ,20240911,8105.3849,8052.2475,8139.7023,8031.9472,8073.8337,31.5512,0.3908,310017366.0,279800064.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,19911112,1122.72,969.51,1131.59,969.51,965.26,157.46,16.3127,48030.0,80558.105
399001.SZ,19911108,914.82,901.81,918.49,879.55,899.59,15.23,1.693,61084.0,77393.135
399001.SZ,19911107,899.59,880.78,936.83,880.01,879.2,20.39,2.3192,52840.0,74261.905
399001.SZ,19911106,879.2,920.76,922.04,827.08,919.05,-39.85,-4.336,59493.0,73516.145
000016.SH,20240918,2218.6562,2206.8536,2225.9124,2203.9821,2205.8115,12.8447,0.5823,26054620.0,40650056.23
000016.SH,20240913,2205.8115,2211.154,2222.5631,2204.8645,2209.5603,-3.7488,-0.1697,27098500.0,44106120.319
000016.SH,20240912,2209.5603,2220.9007,2227.7321,2208.2481,2220.798,-11.2377,-0.506,28095301.0,42269201.973
000016.SH,20240911,2220.798,2228.8251,2228.8251,2213.8238,2235.6866,-14.8886,-0.666,34615529.0,45236993.415
Expand Down Expand Up @@ -21030,6 +21031,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,20240918,3171.0102,3158.8179,3179.9012,3145.7908,3159.247,11.7632,0.3723,84722814.0,123452147.969
000300.SH,20240913,3159.247,3174.0344,3188.9145,3159.247,3172.4747,-13.2277,-0.417,88336677.0,137448911.397
000300.SH,20240912,3172.4747,3189.4271,3201.5544,3171.8775,3186.1299,-13.6552,-0.4286,92868657.0,136387244.637
000300.SH,20240911,3186.1299,3187.0508,3197.3363,3174.0343,3195.7552,-9.6253,-0.3012,102482110.0,141513837.135
Expand Down Expand Up @@ -25818,6 +25820,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,20240918,4462.8701,4450.089,4474.722,4397.161,4450.9587,11.9114,0.2676,90989683.0,79102523.648
000905.SH,20240913,4450.9587,4500.3949,4509.072,4450.9587,4496.5919,-45.6332,-1.0148,92533757.0,85710614.26
000905.SH,20240912,4496.5919,4518.9882,4568.7462,4496.5919,4514.9158,-18.3239,-0.4059,86654304.0,80916511.376
000905.SH,20240911,4514.9158,4490.1867,4529.3452,4479.0306,4507.7074,7.2084,0.1599,85206842.0,81707868.06
Expand Down Expand Up @@ -30606,6 +30609,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,20240918,4399.1332,4413.9028,4425.7918,4342.2087,4413.1872,-14.054,-0.3185,113552078.0,94168113.828
000852.SH,20240913,4413.1872,4471.9836,4478.2182,4413.1872,4468.7439,-55.5567,-1.2432,116827287.0,102975444.046
000852.SH,20240912,4468.7439,4490.5235,4542.2845,4468.7439,4486.0066,-17.2627,-0.3848,118731187.0,106135757.55
000852.SH,20240911,4486.0066,4469.0149,4500.683,4453.1996,4487.5755,-1.5689,-0.035,113953972.0,101974619.541
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,20240918,TS2412.CFX
TS.CFX,20240913,TS2412.CFX
TS.CFX,20240912,TS2412.CFX
TS.CFX,20240911,TS2412.CFX
Expand Down Expand Up @@ -1475,6 +1476,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20240918,TF2412.CFX
TF.CFX,20240913,TF2412.CFX
TF.CFX,20240912,TF2412.CFX
TF.CFX,20240911,TF2412.CFX
Expand Down Expand Up @@ -3836,6 +3838,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20240918,T2412.CFX
T.CFX,20240913,T2412.CFX
T.CFX,20240912,T2412.CFX
T.CFX,20240911,T2412.CFX
Expand Down Expand Up @@ -6148,6 +6151,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20240918,T2412.CFX
TL.CFX,20240913,T2409.CFX
TL.CFX,20240912,T2409.CFX
TL.CFX,20240911,T2409.CFX
Expand Down
1 change: 1 addition & 0 deletions data/yield.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4643,3 +4643,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-09-12,1.4,1.39,1.33,1.35,1.46,1.72,1.95,2.1,,,2.25,中债国债收益率曲线
2024-09-13,1.39,1.39,1.33,1.35,1.46,1.72,1.93,2.07,,,2.22,中债国债收益率曲线
2024-09-14,1.37,1.38,1.33,1.33,1.44,1.7,1.91,2.04,,,2.18,中债国债收益率曲线
2024-09-18,1.38,1.39,1.37,1.36,1.47,1.72,1.92,2.04,,,2.17,中债国债收益率曲线

0 comments on commit 30bf4bf

Please sign in to comment.