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 21, 2024
1 parent 1af33a3 commit 2911642
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
300439.SZ,300439,美康生物,浙江,医疗保健,20150422,,L
300440.SZ,300440,运达科技,四川,软件服务,20150423,,L
300441.SZ,300441,鲍斯股份,浙江,机床制造,20150423,,L
300442.SZ,300442,润泽科技,上海,软件服务,20150424,,L
300442.SZ,300442,润泽科技,河北,软件服务,20150424,,L
300443.SZ,300443,金雷股份,山东,电气设备,20150422,,L
300444.SZ,300444,双杰电气,北京,电气设备,20150423,,L
300445.SZ,300445,康斯特,北京,电器仪表,20150424,,L
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,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
000001.SH,20241016,3202.948,3169.1685,3236.848,3167.7364,3201.2919,1.6561,0.0517,515813997.0,533062408.9
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,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
000001.SH,19911226,288.03,288.03,288.03,287.15,287.15,0.88,0.3065,1168.0,1422.421
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
399001.SZ,20241016,9965.0241,9898.1265,10112.7882,9890.8971,10066.5168,-101.4927,-1.0082,701238164.0,842310229.8
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,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
399001.SZ,19911203,909.47,871.52,918.36,865.48,873.26,36.21,4.1465,21802.0,30593.125
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
000016.SH,20241016,2650.1756,2629.2419,2677.2195,2628.9539,2655.1159,-4.9403,-0.1861,56259713.0,102204384.793
Expand Down Expand Up @@ -21048,6 +21049,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,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
000300.SH,20241016,3831.589,3806.1373,3877.7483,3805.0868,3855.9949,-24.4059,-0.6329,218866407.0,377301324.426
Expand Down Expand Up @@ -25854,6 +25856,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,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
000905.SH,20241016,5461.0877,5393.6657,5546.1764,5393.6657,5472.56,-11.4723,-0.2096,205450926.0,222425749.319
Expand Down Expand Up @@ -30660,6 +30663,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,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
000852.SH,20241016,5524.2546,5425.4315,5598.8351,5424.3934,5507.1758,17.0788,0.3101,248520319.0,306601622.534
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,20241021,TS2412.CFX
TS.CFX,20241018,TS2412.CFX
TS.CFX,20241017,TS2412.CFX
TS.CFX,20241016,TS2412.CFX
Expand Down Expand Up @@ -1493,6 +1494,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241021,TF2412.CFX
TF.CFX,20241018,TF2412.CFX
TF.CFX,20241017,TF2412.CFX
TF.CFX,20241016,TF2412.CFX
Expand Down Expand Up @@ -3872,6 +3874,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241021,T2412.CFX
T.CFX,20241018,T2412.CFX
T.CFX,20241017,T2412.CFX
T.CFX,20241016,T2412.CFX
Expand Down Expand Up @@ -6202,6 +6205,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241021,T2412.CFX
TL.CFX,20241018,T2412.CFX
TL.CFX,20241017,T2412.CFX
TL.CFX,20241016,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 @@ -4663,3 +4663,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-10-16,1.43,1.53,1.45,1.55,1.65,1.82,2.02,2.13,,,2.33,中债国债收益率曲线
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,中债国债收益率曲线

0 comments on commit 2911642

Please sign in to comment.