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 9, 2024
1 parent 080c4d6 commit 689bcce
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 @@ -3009,7 +3009,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
600203.SH,600203,福日电子,福建,元器件,19990514,,L
600206.SH,600206,有研新材,北京,半导体,19990319,,L
600207.SH,600207,安彩高科,河南,电气设备,19990714,,L
600208.SH,600208,新湖中宝,浙江,全国地产,19990623,,L
600208.SH,600208,衢州发展,浙江,全国地产,19990623,,L
600210.SH,600210,紫江企业,上海,广告包装,19990824,,L
600211.SH,600211,西藏药业,西藏,生物制药,19990721,,L
600212.SH,600212,绿能慧充,山东,电气设备,19990817,,L
Expand Down Expand Up @@ -5460,7 +5460,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
002473.SZ,002473,圣莱退(退),,,20100910,20220622,D
002477.SZ,002477,雏鹰退(退),,,20100915,20191016,D
002499.SZ,002499,科林退(退),,,20101109,20230418,D
002502.SZ,002502,ST鼎龙(退),广东,互联网,20101117,20240905,D
002502.SZ,002502,ST鼎龙(退),,,20101117,20240905,D
002503.SZ,002503,*ST搜特(退),,,20101117,20230811,D
002504.SZ,002504,*ST弘高(退),,,20101118,20230821,D
002505.SZ,002505,鹏都农牧(退),,,20101118,20240830,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,20240909,2736.4876,2754.7237,2756.556,2726.9667,2765.8066,-29.319,-1.0601,261468847.0,236605848.5
000001.SH,20240906,2765.8066,2791.7645,2804.0932,2765.6394,2788.3141,-22.5075,-0.8072,253645375.0,228570135.0
000001.SH,20240905,2788.3141,2785.2635,2796.0186,2777.471,2784.2783,4.0358,0.1449,242040948.0,227514507.2
000001.SH,20240904,2784.2783,2786.5046,2800.6065,2781.9352,2802.9787,-18.7004,-0.6672,257453500.0,234711697.3
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,19911128,257.35,257.28,257.35,255.45,255.45,1.9,0.7438,2502.0,2251.847
000001.SH,19911127,255.45,255.27,255.45,252.97,252.97,2.48,0.9804,2120.0,1756.893
000001.SH,19911126,252.97,252.9,252.97,250.85,250.85,2.12,0.8451,2454.0,2326.565
000001.SH,19911125,250.85,250.84,250.85,248.53,248.53,2.32,0.9335,2331.0,1963.992
399001.SZ,20240909,8063.2693,8086.2816,8129.5397,8023.3745,8130.7698,-67.5005,-0.8302,331119432.0,282030698.2
399001.SZ,20240906,8130.7698,8252.0062,8260.6909,8128.7666,8249.6588,-118.889,-1.4411,363787771.0,314062277.0
399001.SZ,20240905,8249.6588,8224.509,8297.9387,8220.5526,8226.2415,23.4173,0.2847,347575087.0,307323902.5
399001.SZ,20240904,8226.2415,8207.2799,8297.82,8189.5263,8268.0499,-41.8084,-0.5057,362368388.0,324668079.6
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,19911104,918.11,840.56,925.97,839.92,838.7,79.41,9.4682,56557.0,74690.56
399001.SZ,19911101,833.8,783.42,854.63,783.42,779.81,53.99,6.9235,46833.0,55593.245
399001.SZ,19911031,779.81,736.81,788.95,735.63,733.7,46.11,6.2846,46058.0,48284.895
399001.SZ,19911030,733.7,727.45,738.45,721.87,725.95,7.75,1.0676,43214.0,42670.415
000016.SH,20240909,2232.9593,2252.3035,2256.0017,2226.6269,2263.5629,-30.6036,-1.352,34250688.0,47798368.916
000016.SH,20240906,2263.5629,2276.5398,2288.9266,2263.321,2275.1177,-11.5548,-0.5079,25886004.0,34524514.997
000016.SH,20240905,2275.1177,2272.9816,2281.5278,2267.3312,2271.8069,3.3108,0.1457,30352561.0,39145533.094
000016.SH,20240904,2271.8069,2279.4765,2289.3898,2268.2104,2291.1775,-19.3706,-0.8454,35482469.0,42801802.355
Expand Down Expand Up @@ -21025,6 +21026,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,20240909,3192.9516,3214.7996,3222.9278,3180.9277,3231.3457,-38.3941,-1.1882,108673069.0,146516054.461
000300.SH,20240906,3231.3457,3261.1542,3274.8144,3231.0685,3257.7578,-26.4121,-0.8107,88400417.0,121541545.906
000300.SH,20240905,3257.7578,3252.96,3266.882,3247.1725,3252.1649,5.5929,0.172,97109450.0,134618198.894
000300.SH,20240904,3252.1649,3253.898,3272.9861,3249.9809,3273.4282,-21.2633,-0.6496,104832482.0,140070063.077
Expand Down Expand Up @@ -25808,6 +25810,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,20240909,4507.1866,4517.5658,4541.7935,4487.8427,4537.4544,-30.2678,-0.6671,91944608.0,81907584.835
000905.SH,20240906,4537.4544,4609.3419,4613.3097,4535.3486,4601.0911,-63.6367,-1.3831,90147596.0,80215749.103
000905.SH,20240905,4601.0911,4585.1677,4630.6388,4582.0535,4582.084,19.0071,0.4148,80583723.0,80148632.781
000905.SH,20240904,4582.084,4567.6858,4623.3782,4552.3037,4596.4819,-14.3979,-0.3132,92435685.0,88646018.095
Expand Down Expand Up @@ -30591,6 +30594,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,20240909,4475.5315,4490.9896,4523.3656,4459.1258,4508.2281,-32.6966,-0.7253,113284927.0,100227926.911
000852.SH,20240906,4508.2281,4588.9276,4595.6966,4506.3869,4586.7813,-78.5532,-1.7126,127217733.0,115580272.235
000852.SH,20240905,4586.7813,4554.5184,4614.7524,4554.5184,4550.7697,36.0116,0.7913,121209194.0,108293303.464
000852.SH,20240904,4550.7697,4542.9049,4594.4387,4529.3384,4572.397,-21.6273,-0.473,122871657.0,113470304.818
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,20240909,TS2412.CFX
TS.CFX,20240906,TS2412.CFX
TS.CFX,20240905,TS2412.CFX
TS.CFX,20240904,TS2412.CFX
Expand Down Expand Up @@ -1470,6 +1471,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20240909,TF2412.CFX
TF.CFX,20240906,TF2412.CFX
TF.CFX,20240905,TF2412.CFX
TF.CFX,20240904,TF2412.CFX
Expand Down Expand Up @@ -3826,6 +3828,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20240909,T2412.CFX
T.CFX,20240906,T2412.CFX
T.CFX,20240905,T2412.CFX
T.CFX,20240904,T2412.CFX
Expand Down Expand Up @@ -6133,6 +6136,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20240909,T2409.CFX
TL.CFX,20240906,T2409.CFX
TL.CFX,20240905,T2409.CFX
TL.CFX,20240904,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 @@ -4637,3 +4637,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-09-04,1.43,1.47,1.46,1.46,1.57,1.78,2.02,2.13,,,2.32,中债国债收益率曲线
2024-09-05,1.42,1.47,1.45,1.45,1.55,1.78,2.01,2.13,,,2.31,中债国债收益率曲线
2024-09-06,1.42,1.47,1.44,1.44,1.55,1.78,2.01,2.14,,,2.31,中债国债收益率曲线
2024-09-09,1.45,1.46,1.42,1.42,1.54,1.77,1.98,2.13,,,2.29,中债国债收益率曲线

0 comments on commit 689bcce

Please sign in to comment.