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 24, 2024
1 parent a9b1017 commit 7c14e86
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
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,20240924,2863.1255,2770.7543,2863.1519,2761.3717,2748.9177,114.2078,4.1546,477619545.0,442795296.9
000001.SH,20240923,2748.9177,2735.3895,2760.4799,2731.3571,2736.8139,12.1038,0.4423,257642154.0,235214505.9
000001.SH,20240920,2736.8139,2734.2277,2741.1552,2717.9451,2736.0222,0.7917,0.0289,285644627.0,255433329.9
000001.SH,20240919,2736.0222,2723.2053,2747.7402,2697.7756,2717.2813,18.7409,0.6897,315208389.0,280536046.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,19911211,273.71,273.53,273.71,272.91,272.91,0.8,0.2931,669.0,859.049
000001.SH,19911210,272.91,270.27,272.91,270.27,270.27,2.64,0.9768,516.0,665.483
000001.SH,19911209,270.27,270.27,270.27,269.35,269.35,0.92,0.3416,1631.0,1648.764
000001.SH,19911206,269.35,269.34,269.35,266.66,266.66,2.69,1.0088,1613.0,1798.852
399001.SZ,20240924,8435.7041,8148.1742,8435.7058,8083.3046,8083.3819,352.3222,4.3586,586812555.0,528547322.7
399001.SZ,20240923,8083.3819,8071.9931,8163.1045,8054.5923,8075.1416,8.2403,0.102,365656009.0,315787407.9
399001.SZ,20240920,8075.1416,8079.7608,8092.4962,8014.5047,8087.6044,-12.4628,-0.1541,383370727.0,319314897.3
399001.SZ,20240919,8087.6044,8015.3936,8161.2219,7950.7025,7992.2527,95.3517,1.1931,413701487.0,346464780.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,19911118,917.6,1109.55,1109.55,895.86,1111.52,-193.92,-17.4464,40537.0,59338.375
399001.SZ,19911115,1142.06,1185.23,1202.38,1136.1,1186.84,-44.78,-3.773,49917.0,93843.37
399001.SZ,19911114,1186.84,1152.56,1206.32,1149.7,1149.97,36.87,3.2062,49357.0,89229.695
399001.SZ,19911113,1149.97,1124.42,1192.05,1124.42,1122.72,27.25,2.4271,58786.0,110415.865
000016.SH,20240924,2352.1449,2270.3562,2352.3178,2257.2882,2243.0249,109.12,4.8649,60159105.0,101050490.178
000016.SH,20240923,2243.0249,2233.8583,2254.1614,2232.2822,2233.2565,9.7684,0.4374,27207257.0,45700293.896
000016.SH,20240920,2233.2565,2227.3519,2237.9802,2212.5224,2229.8053,3.4512,0.1548,36902087.0,55566735.871
000016.SH,20240919,2229.8053,2224.2625,2239.9843,2199.4486,2218.6562,11.1491,0.5025,34968379.0,58318265.337
Expand Down Expand Up @@ -21034,6 +21035,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,20240924,3351.909,3244.6468,3351.9684,3222.4885,3212.7639,139.1451,4.331,204072217.0,307879526.848
000300.SH,20240923,3212.7639,3200.8678,3230.1613,3198.0248,3201.0497,11.7142,0.3659,95344855.0,143876166.861
000300.SH,20240920,3201.0497,3192.4322,3207.9875,3173.2238,3196.0357,5.014,0.1569,118064098.0,163985054.957
000300.SH,20240919,3196.0357,3178.3959,3213.8378,3149.7925,3171.0102,25.0255,0.7892,125439272.0,181785109.713
Expand Down Expand Up @@ -25826,6 +25828,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,20240924,4689.5964,4524.2214,4690.5736,4503.1245,4494.6878,194.9086,4.3364,177144703.0,159947071.683
000905.SH,20240923,4494.6878,4495.7805,4545.5411,4483.13,4498.3901,-3.7023,-0.0823,89935227.0,85104838.086
000905.SH,20240920,4498.3901,4514.9598,4515.8064,4471.9438,4520.3939,-22.0038,-0.4868,94312044.0,89084435.755
000905.SH,20240919,4520.3939,4481.4635,4565.3899,4437.5363,4462.8701,57.5238,1.2889,115611868.0,105405904.205
Expand Down Expand Up @@ -30618,6 +30621,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,20240924,4642.5577,4489.4922,4642.5577,4466.3364,4469.1326,173.4251,3.8805,215782531.0,186154173.396
000852.SH,20240923,4469.1326,4462.7166,4513.9695,4445.9898,4463.3561,5.7765,0.1294,124945066.0,113678187.175
000852.SH,20240920,4463.3561,4484.1751,4487.0758,4428.1654,4482.2746,-18.9185,-0.4221,127480177.0,110050423.362
000852.SH,20240919,4482.2746,4418.7844,4527.6125,4385.4861,4399.1332,83.1414,1.8899,145747160.0,122312275.719
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,20240924,TS2412.CFX
TS.CFX,20240923,TS2412.CFX
TS.CFX,20240920,TS2412.CFX
TS.CFX,20240919,TS2412.CFX
Expand Down Expand Up @@ -1479,6 +1480,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20240924,TF2412.CFX
TF.CFX,20240923,TF2412.CFX
TF.CFX,20240920,TF2412.CFX
TF.CFX,20240919,TF2412.CFX
Expand Down Expand Up @@ -3844,6 +3846,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20240924,T2412.CFX
T.CFX,20240923,T2412.CFX
T.CFX,20240920,T2412.CFX
T.CFX,20240919,T2412.CFX
Expand Down Expand Up @@ -6160,6 +6163,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20240924,T2412.CFX
TL.CFX,20240923,T2412.CFX
TL.CFX,20240920,T2412.CFX
TL.CFX,20240919,T2412.CFX
Expand Down
3 changes: 2 additions & 1 deletion data/yield.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4646,4 +4646,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-09-18,1.38,1.39,1.37,1.36,1.47,1.72,1.92,2.04,,,2.17,中债国债收益率曲线
2024-09-19,1.4,1.42,1.39,1.39,1.5,1.74,1.93,2.05,,,2.17,中债国债收益率曲线
2024-09-20,1.4,1.43,1.39,1.38,1.5,1.73,1.91,2.04,,,2.15,中债国债收益率曲线
2024-09-23,1.40,1.43,1.39,1.39,1.50,1.73,1.90,2.04,,,2.14,中债国债收益率曲线
2024-09-23,1.4,1.43,1.39,1.39,1.5,1.73,1.9,2.04,,,2.14,中债国债收益率曲线
2024-09-24,1.39,1.42,1.42,1.42,1.52,1.75,1.94,2.07,,,2.19,中债国债收益率曲线

0 comments on commit 7c14e86

Please sign in to comment.