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 30, 2024
1 parent 494399b commit 536048d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 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,20240830,2842.2142,2819.6498,2867.9649,2817.0141,2823.106,19.1082,0.6769,397516975.0,384092892.1
000001.SH,20240829,2823.106,2829.4506,2831.4309,2815.3829,2837.4293,-14.3233,-0.5048,277510534.0,257644228.8
000001.SH,20240828,2837.4293,2844.3269,2852.5621,2830.9615,2848.7312,-11.3019,-0.3967,228730623.0,213862368.7
000001.SH,20240827,2848.7312,2850.8773,2853.7804,2843.1576,2855.5203,-6.7891,-0.2378,230693006.0,215686326.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,19911120,244.5,244.5,244.5,242.24,242.24,2.26,0.933,2325.0,1929.087
000001.SH,19911119,242.24,242.24,242.24,240.62,240.62,1.62,0.6733,2310.0,2040.941
000001.SH,19911118,240.62,240.04,240.62,238.25,238.25,2.37,0.9948,1885.0,1534.361
000001.SH,19911115,238.25,238.25,238.25,237.45,237.45,0.8,0.3369,2058.0,1914.795
399001.SZ,20240830,8348.4774,8152.8136,8453.6587,8152.8136,8154.4391,194.0383,2.3795,521026373.0,492495772.9
399001.SZ,20240829,8154.4391,8030.7407,8191.3694,8028.3665,8078.8194,75.6197,0.936,376828401.0,349603402.0
399001.SZ,20240828,8078.8194,8071.8636,8098.3133,8036.4016,8103.7591,-24.9397,-0.3078,328858698.0,282744362.2
399001.SZ,20240827,8103.7591,8161.6812,8168.0422,8084.037,8194.6452,-90.8861,-1.1091,336850151.0,295770774.4
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,19911025,675.11,674.29,676.89,669.27,672.97,2.14,0.318,19435.0,20569.37
399001.SZ,19911024,672.97,666.11,680.14,664.82,665.87,7.1,1.0663,23272.0,25200.745
399001.SZ,19911023,665.87,658.18,667.23,648.67,659.23,6.64,1.0072,22693.0,23376.985
399001.SZ,19911022,659.23,671.54,672.47,656.15,670.9,-11.67,-1.7395,19334.0,20178.005
000016.SH,20240830,2335.2146,2313.6095,2354.6274,2311.228,2317.6636,17.551,0.7573,63786046.0,87319585.886
000016.SH,20240829,2317.6636,2329.6623,2335.6749,2315.4868,2336.1475,-18.4839,-0.7912,44246295.0,54544179.743
000016.SH,20240828,2336.1475,2349.5198,2352.6952,2327.9241,2350.4141,-14.2666,-0.607,30092262.0,44898374.774
000016.SH,20240827,2350.4141,2348.5443,2355.5744,2345.3023,2352.2729,-1.8588,-0.079,30952524.0,40323563.656
Expand Down Expand Up @@ -21019,6 +21020,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,20240830,3321.4323,3273.7532,3351.6254,3273.6496,3277.6812,43.7511,1.3348,188695443.0,268376041.211
000300.SH,20240829,3277.6812,3273.541,3290.7857,3269.5288,3286.4956,-8.8144,-0.2682,130702333.0,174340106.393
000300.SH,20240828,3286.4956,3298.9089,3305.3496,3274.5881,3305.3338,-18.8382,-0.5699,92696650.0,135982310.965
000300.SH,20240827,3305.3338,3315.686,3320.5667,3299.5635,3324.2231,-18.8893,-0.5682,95808157.0,129755962.864
Expand Down Expand Up @@ -25796,6 +25798,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,20240830,4639.1144,4557.5014,4704.3407,4548.3827,4557.9006,81.2138,1.7818,151593361.0,144749168.233
000905.SH,20240829,4557.9006,4483.5534,4577.7919,4475.2228,4500.0088,57.8918,1.2865,103115562.0,96829969.885
000905.SH,20240828,4500.0088,4486.4311,4527.7686,4482.0324,4495.2856,4.7232,0.1051,82681199.0,74244549.233
000905.SH,20240827,4495.2856,4532.4861,4532.4861,4487.0915,4544.3594,-49.0738,-1.0799,82529205.0,78742868.645
Expand Down Expand Up @@ -30573,6 +30576,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,20240830,4629.3195,4539.9291,4691.0146,4534.0438,4542.4637,86.8558,1.9121,177838616.0,163027974.058
000852.SH,20240829,4542.4637,4453.4313,4558.9472,4443.9026,4470.5501,71.9136,1.6086,129788753.0,118136327.342
000852.SH,20240828,4470.5501,4449.7112,4506.3125,4437.5175,4459.6801,10.87,0.2437,107903177.0,92367714.621
000852.SH,20240827,4459.6801,4500.735,4501.0835,4449.2147,4512.893,-53.2129,-1.1791,113939520.0,100126840.569
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,20240830,TS2412.CFX
TS.CFX,20240829,TS2412.CFX
TS.CFX,20240828,TS2412.CFX
TS.CFX,20240827,TS2412.CFX
Expand Down Expand Up @@ -1464,6 +1465,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20240830,TF2412.CFX
TF.CFX,20240829,TF2412.CFX
TF.CFX,20240828,TF2412.CFX
TF.CFX,20240827,TF2412.CFX
Expand Down Expand Up @@ -3814,6 +3816,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20240830,T2412.CFX
T.CFX,20240829,T2412.CFX
T.CFX,20240828,T2412.CFX
T.CFX,20240827,T2412.CFX
Expand Down Expand Up @@ -6115,6 +6118,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20240830,T2409.CFX
TL.CFX,20240829,T2409.CFX
TL.CFX,20240828,T2409.CFX
TL.CFX,20240827,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 @@ -4631,3 +4631,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-08-27,1.52,1.54,1.51,1.55,1.69,1.87,2.1,2.19,,,2.38,中债国债收益率曲线
2024-08-28,1.51,1.51,1.5,1.54,1.7,1.86,2.07,2.17,,,2.36,中债国债收益率曲线
2024-08-29,1.49,1.51,1.49,1.53,1.68,1.87,2.08,2.17,,,2.37,中债国债收益率曲线
2024-08-30,1.47,1.49,1.49,1.52,1.67,1.85,2.08,2.17,,,2.37,中债国债收益率曲线

0 comments on commit 536048d

Please sign in to comment.