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 Dec 11, 2024
1 parent 489e6e5 commit d5dae3b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions data/global_index.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ts_code,trade_date,open,close,high,low,pre_close,change,pct_chg,swing,vol
SPX,20241210,6057.59,6034.91,6065.4,6029.89,6052.85,-17.94,-0.3,0.59,2778369.0
SPX,20241209,6083.01,6052.85,6088.51,6048.63,6090.27,-37.42,-0.61,0.65,2924094.0
SPX,20241206,6081.38,6090.27,6099.97,6079.98,6075.11,15.16,0.25,0.33,2494916.0
SPX,20241205,6089.03,6075.11,6094.55,6072.9,6086.49,-11.38,-0.19,0.36,2638049.0
Expand Down Expand Up @@ -3998,7 +3999,7 @@ SPX,20090123,808.8,831.95,838.61,806.07,827.5,4.46,0.54,3.93,
SPX,20090122,840.22,827.5,839.74,811.29,840.24,-12.75,-1.52,3.39,
SPX,20090121,818.63,840.24,841.72,804.3,805.22,35.02,4.35,4.65,
SPX,20090120,849.64,805.22,849.64,804.47,850.12,-44.9,-5.28,5.31,
SPX,20090116,844.45,850.12,858.13,830.66,843.74,6.38,0.76,3.26,
IXIC,20241210,19796.39,19687.24,19887.08,19641.34,19736.69,-49.45,-0.25,1.25,1279580.0
IXIC,20241209,19824.09,19736.69,19872.79,19698.05,19859.77,-123.08,-0.62,0.88,1462932.0
IXIC,20241206,19743.96,19859.77,19863.14,19734.42,19700.72,159.05,0.81,0.65,1234627.0
IXIC,20241205,19756.4,19700.72,19790.03,19688.59,19735.12,-34.4,-0.17,0.51,1269469.0
Expand Down Expand Up @@ -7998,4 +7999,3 @@ IXIC,20090126,1479.23,1489.46,1514.38,1470.81,1477.29,12.17,0.82,2.95,
IXIC,20090123,1441.5,1477.29,1495.27,1434.08,1465.49,11.8,0.81,4.18,
IXIC,20090122,1469.04,1465.49,1492.47,1444.08,1507.07,-41.58,-2.76,3.21,
IXIC,20090121,1464.33,1507.07,1507.52,1444.9,1440.86,66.21,4.6,4.35,
IXIC,20090120,1518.07,1440.86,1521.85,1440.86,1529.33,-88.47,-5.78,5.3,
5 changes: 3 additions & 2 deletions data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2836,9 +2836,9 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
301608.SZ,301608,博实结,深圳,通信设备,20240801,,L
301611.SZ,301611,珂玛科技,江苏,半导体,20240816,,L
301613.SZ,301613,新铝时代,重庆,汽车配件,20241025,,L
301617.SZ,301617,博苑股份,山东,化工原料,20241211,,L
301617.SZ,301617,N博苑,山东,化工原料,20241211,,L
301618.SZ,301618,长联科技,广东,染料涂料,20240930,,L
301622.SZ,301622,C英思特,内蒙,矿物制品,20241204,,L
301622.SZ,301622,英思特,内蒙,矿物制品,20241204,,L
301626.SZ,301626,苏州天脉,江苏,元器件,20241024,,L
301628.SZ,301628,强达电路,深圳,元器件,20241031,,L
301631.SZ,301631,壹连科技,深圳,元器件,20241122,,L
Expand Down Expand Up @@ -5022,6 +5022,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
688601.SH,688601,力芯微,江苏,半导体,20210628,,L
688602.SH,688602,康鹏科技,上海,化工原料,20230720,,L
688603.SH,688603,天承科技,广东,化工原料,20230710,,L
688605.SH,688605,先锋精科,江苏,半导体,20241212,,L
688606.SH,688606,奥泰生物,浙江,医疗保健,20210325,,L
688607.SH,688607,康众医疗,江苏,医疗保健,20210201,,L
688608.SH,688608,恒玄科技,上海,半导体,20201216,,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,20241211,3432.4902,3416.0874,3437.8103,3416.0874,3422.6607,9.8295,0.2872,681544610.0,692929618.7
000001.SH,20241210,3422.6607,3490.2892,3494.8669,3417.7654,3402.5343,20.1264,0.5915,794668034.0,860483994.8
000001.SH,20241209,3402.5343,3402.6288,3426.6451,3385.9588,3404.0764,-1.5421,-0.0453,694905205.0,649443191.3
000001.SH,20241206,3404.0764,3370.9405,3418.2608,3364.2061,3368.8553,35.2211,1.0455,698186572.0,685981058.1
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,19920226,360.1,359.85,360.76,359.27,360.37,-0.27,-0.0749,5753.0,8082.674
000001.SH,19920225,360.37,359.66,361.29,357.07,360.5,-0.13,-0.0361,4862.0,8037.606
000001.SH,19920224,360.5,361.11,361.62,359.59,359.59,0.91,0.2531,30157.0,18038.445
000001.SH,19920221,359.59,358.91,359.93,347.99,347.99,11.6,3.3334,11582.0,19254.248
399001.SZ,20241211,10848.4228,10781.0965,10884.06,10781.0835,10812.5838,35.839,0.3315,1012272834.0,1083447077.1
399001.SZ,20241210,10812.5838,11124.7822,11134.5527,10792.0148,10731.6589,80.9249,0.7541,1171388026.0,1339737614.6
399001.SZ,20241209,10731.6589,10780.9842,10821.5056,10668.331,10791.339,-59.6801,-0.553,955155947.0,985064287.4
399001.SZ,20241206,10791.339,10642.8921,10860.2458,10618.7608,10634.489,156.85,1.4749,1029340329.0,1102866354.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,19920129,970.9,959.34,976.6,957.39,959.59,11.31,1.1786,14022.0,21232.005
399001.SZ,19920128,959.59,957.65,960.83,954.1,955.26,4.33,0.4533,13409.0,20250.135
399001.SZ,19920127,955.26,960.35,963.67,951.1,962.69,-7.43,-0.7718,19608.0,26887.03
399001.SZ,19920124,962.69,953.72,967.16,950.09,952.95,9.74,1.0221,14284.0,20658.9
000016.SH,20241211,2676.5518,2684.5906,2696.0071,2671.5218,2689.3292,-12.7774,-0.4751,40802387.0,74840666.598
000016.SH,20241210,2689.3292,2741.7509,2747.0734,2684.7165,2667.5924,21.7368,0.8148,59443899.0,124161995.388
000016.SH,20241209,2667.5924,2666.2892,2686.5153,2658.4311,2665.4281,2.1643,0.0812,45926353.0,79459146.106
000016.SH,20241206,2665.4281,2636.6066,2682.6891,2636.6066,2635.5615,29.8666,1.1332,43894491.0,85427061.368
Expand Down Expand Up @@ -21085,6 +21086,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,20241211,3988.8308,3988.0179,4005.3253,3977.3522,3995.6369,-6.8061,-0.1703,177252846.0,310713317.895
000300.SH,20241210,3995.6369,4094.05,4098.3804,3988.9676,3966.5708,29.0661,0.7328,253463795.0,487278042.807
000300.SH,20241209,3966.5708,3970.6628,3995.5116,3948.4206,3973.1405,-6.5697,-0.1654,175959958.0,308227216.703
000300.SH,20241206,3973.1405,3923.8954,3995.1168,3923.8954,3921.5881,51.5524,1.3146,192057907.0,351751735.425
Expand Down Expand Up @@ -25928,6 +25930,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,20241211,6047.105,5973.326,6051.4718,5972.2696,5992.0937,55.0113,0.9181,253883941.0,250011474.489
000905.SH,20241210,5992.0937,6132.291,6141.0655,5982.5833,5947.1089,44.9848,0.7564,320527823.0,324711288.431
000905.SH,20241209,5947.1089,5983.3343,6004.2343,5911.3619,5979.197,-32.0881,-0.5367,284462209.0,237294662.392
000905.SH,20241206,5979.197,5903.4988,6011.7691,5877.0434,5901.9859,77.2111,1.3082,265329536.0,255600553.068
Expand Down Expand Up @@ -30771,6 +30774,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,20241211,6447.3744,6343.7811,6454.9713,6343.7811,6362.0203,85.3541,1.3416,331351956.0,392600350.436
000852.SH,20241210,6362.0203,6493.5374,6497.8893,6352.762,6303.2721,58.7482,0.932,374209206.0,453736859.985
000852.SH,20241209,6303.2721,6346.5948,6371.098,6257.5422,6349.6211,-46.349,-0.7299,293773287.0,336347274.096
000852.SH,20241206,6349.6211,6291.3019,6384.6567,6229.2124,6285.6007,64.0204,1.0185,349030963.0,392887681.462
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,20241211,TS2503.CFX
TS.CFX,20241210,TS2503.CFX
TS.CFX,20241209,TS2503.CFX
TS.CFX,20241206,TS2503.CFX
Expand Down Expand Up @@ -1530,6 +1531,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241211,TF2503.CFX
TF.CFX,20241210,TF2503.CFX
TF.CFX,20241209,TF2503.CFX
TF.CFX,20241206,TF2503.CFX
Expand Down Expand Up @@ -3946,6 +3948,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241211,T2503.CFX
T.CFX,20241210,T2503.CFX
T.CFX,20241209,T2503.CFX
T.CFX,20241206,T2503.CFX
Expand Down Expand Up @@ -6313,6 +6316,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241211,T2412.CFX
TL.CFX,20241210,T2412.CFX
TL.CFX,20241209,T2412.CFX
TL.CFX,20241206,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 @@ -4700,3 +4700,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-12-06,1.35,1.36,1.35,1.32,1.38,1.61,1.82,1.95,,,2.16,中债国债收益率曲线
2024-12-09,1.35,1.35,1.35,1.32,1.38,1.59,1.79,1.92,,,2.12,中债国债收益率曲线
2024-12-10,1.34,1.33,1.31,1.26,1.34,1.55,1.73,1.85,,,2.06,中债国债收益率曲线
2024-12-11,1.33,1.33,1.28,1.26,1.33,1.53,1.71,1.82,,,2.04,中债国债收益率曲线

0 comments on commit d5dae3b

Please sign in to comment.