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 Oct 22, 2024
1 parent 2911642 commit da74822
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,20241022,3285.8669,3263.8224,3294.9612,3255.1375,3268.11,17.7569,0.5433,574913781.0,698861461.3
000001.SH,20241021,3268.11,3276.0598,3300.664,3239.0965,3261.5633,6.5467,0.2007,668150299.0,855781454.0
000001.SH,20241018,3261.5633,3165.9745,3313.9784,3152.8213,3169.3843,92.179,2.9084,693014623.0,827948922.1
000001.SH,20241017,3169.3843,3220.7334,3241.5675,3169.3843,3202.948,-33.5637,-1.0479,528611772.0,557347351.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,19920102,293.75,293.74,293.75,292.76,292.75,1.0,0.3416,928.0,1339.598
000001.SH,19911231,292.75,292.48,292.75,291.71,291.71,1.04,0.3565,584.0,858.863
000001.SH,19911230,291.71,291.71,291.71,290.85,290.85,0.86,0.2957,1165.0,1881.075
000001.SH,19911227,290.85,290.65,290.85,288.03,288.03,2.82,0.9791,1551.0,1789.522
399001.SZ,20241022,10559.5095,10459.1559,10604.783,10409.6803,10470.9138,88.5957,0.8461,927985356.0,1213666459.4
399001.SZ,20241021,10470.9138,10441.8706,10636.1604,10331.7888,10357.6764,113.2374,1.0933,965002625.0,1328206164.1
399001.SZ,20241018,10357.6764,9868.8458,10607.808,9865.8745,9891.7627,465.9137,4.7101,953743093.0,1269726757.1
399001.SZ,20241017,9891.7627,10034.4142,10123.2248,9887.9409,9965.0241,-73.2614,-0.7352,759583000.0,933912619.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,19911209,911.79,902.8,916.92,896.83,902.66,9.13,1.0115,21782.0,28261.695
399001.SZ,19911206,893.58,880.0,897.52,868.81,879.01,14.57,1.6575,16804.0,21879.88
399001.SZ,19911205,879.01,912.74,913.13,869.25,911.56,-32.55,-3.5708,10708.0,14447.79
399001.SZ,19911204,911.56,912.01,929.5,902.58,909.47,2.09,0.2298,21711.0,30244.355
000016.SH,20241022,2692.6613,2672.8534,2704.3458,2672.4493,2681.0567,11.6046,0.4328,52208167.0,115193657.02
000016.SH,20241021,2681.0567,2694.9659,2701.3576,2659.665,2681.9116,-0.8549,-0.0319,72042226.0,157954092.781
000016.SH,20241018,2681.9116,2606.3767,2722.6463,2583.4892,2610.467,71.4446,2.7369,70198207.0,155844588.305
000016.SH,20241017,2610.467,2666.367,2680.0601,2610.467,2650.1756,-39.7086,-1.4983,49796854.0,94353946.568
Expand Down Expand Up @@ -21049,6 +21050,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,20241022,3957.7755,3923.7443,3965.9084,3917.5218,3935.1974,22.5781,0.5737,223433396.0,442881846.814
000300.SH,20241021,3935.1974,3946.9016,3979.2638,3896.165,3925.234,9.9634,0.2538,291185634.0,600109598.949
000300.SH,20241018,3925.234,3780.3143,3998.214,3765.1615,3788.2217,137.0123,3.6168,312958834.0,620673701.894
000300.SH,20241017,3788.2217,3853.841,3882.0733,3787.7498,3831.589,-43.3673,-1.1318,212313820.0,369170521.635
Expand Down Expand Up @@ -25856,6 +25858,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,20241022,5753.8497,5703.3196,5779.2983,5673.7901,5704.225,49.6247,0.87,237023624.0,312584329.12
000905.SH,20241021,5704.225,5680.5648,5797.8808,5631.2316,5640.0198,64.2052,1.1384,266885186.0,359965731.44
000905.SH,20241018,5640.0198,5416.0319,5774.1408,5404.2035,5418.9883,221.0315,4.0788,287114219.0,352062136.787
000905.SH,20241017,5418.9883,5499.7659,5541.0331,5417.881,5461.0877,-42.0994,-0.7709,202768685.0,234458932.483
Expand Down Expand Up @@ -30663,6 +30666,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,20241022,5888.8148,5866.7857,5940.3672,5814.2974,5860.5711,28.2437,0.4819,347298628.0,466594853.551
000852.SH,20241021,5860.5711,5797.0029,5954.4356,5767.7901,5749.4341,111.137,1.933,355061095.0,496180057.607
000852.SH,20241018,5749.4341,5495.196,5880.8958,5484.2353,5505.6149,243.8192,4.4286,359719039.0,468006517.576
000852.SH,20241017,5505.6149,5563.4645,5624.7937,5504.4852,5524.2546,-18.6397,-0.3374,276397486.0,351913540.302
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,20241022,TS2412.CFX
TS.CFX,20241021,TS2412.CFX
TS.CFX,20241018,TS2412.CFX
TS.CFX,20241017,TS2412.CFX
Expand Down Expand Up @@ -1494,6 +1495,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241022,TF2412.CFX
TF.CFX,20241021,TF2412.CFX
TF.CFX,20241018,TF2412.CFX
TF.CFX,20241017,TF2412.CFX
Expand Down Expand Up @@ -3874,6 +3876,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241022,T2412.CFX
T.CFX,20241021,T2412.CFX
T.CFX,20241018,T2412.CFX
T.CFX,20241017,T2412.CFX
Expand Down Expand Up @@ -6205,6 +6208,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241022,T2412.CFX
TL.CFX,20241021,T2412.CFX
TL.CFX,20241018,T2412.CFX
TL.CFX,20241017,T2412.CFX
Expand Down
1 change: 1 addition & 0 deletions data/yield.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4664,3 +4664,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-10-17,1.4,1.5,1.43,1.48,1.6,1.78,1.99,2.11,,,2.3,中债国债收益率曲线
2024-10-18,1.41,1.48,1.43,1.5,1.61,1.79,2.0,2.12,,,2.31,中债国债收益率曲线
2024-10-21,1.44,1.47,1.44,1.53,1.64,1.79,2.01,2.12,,,2.31,中债国债收益率曲线
2024-10-22,1.43,1.46,1.43,1.55,1.67,1.83,2.04,2.15,,,2.34,中债国债收益率曲线

0 comments on commit da74822

Please sign in to comment.