Skip to content

Commit f7b5757

Browse files
author
afan
committed
daily update tushare data
1 parent a7a3c9d commit f7b5757

5 files changed

Lines changed: 16 additions & 7 deletions

File tree

data/global_index.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ts_code,trade_date,open,close,high,low,pre_close,change,pct_chg,swing,vol
2+
SPX,20250730,6381.23,6362.9,6396.54,6336.38,6370.86,-7.96,-0.12,0.94,3318617.0
23
SPX,20250729,6405.62,6370.86,6409.26,6363.92,6389.77,-18.91,-0.3,0.71,3249724.0
34
SPX,20250728,6397.69,6389.77,6401.07,6375.79,6388.64,1.13,0.02,0.4,2850714.0
45
SPX,20250725,6370.01,6388.64,6395.82,6368.53,6363.35,25.29,0.4,0.43,2992173.0
@@ -3998,7 +3999,7 @@ SPX,20090909,1025.36,1033.37,1036.34,1023.97,1025.39,7.99,0.78,1.21,
39983999
SPX,20090908,1018.67,1025.39,1026.06,1018.67,1016.4,8.98,0.88,0.73,
39994000
SPX,20090904,1003.19,1016.4,1016.48,1001.65,1003.24,13.17,1.31,1.48,
40004001
SPX,20090903,996.12,1003.24,1003.43,992.25,994.75,8.48,0.85,1.12,
4001-
SPX,20090902,996.07,994.75,1000.34,991.97,998.04,-3.29,-0.33,0.84,
4002+
IXIC,20250729,,21098.29,21303.96,21081.69,21178.58,-80.29,-0.38,1.05,
40024003
IXIC,20250728,,21178.58,21202.18,21122.12,21108.32,70.26,0.33,0.38,
40034004
IXIC,20250725,,21108.32,21159.8,21036.85,21057.96,50.36,0.24,0.58,
40044005
IXIC,20250724,,21057.96,21113.1,21001.68,21020.02,37.94,0.18,0.53,
@@ -7998,4 +7999,3 @@ IXIC,20090908,2034.74,2037.77,2038.63,2023.03,2018.78,18.99,0.94,0.77,
79987999
IXIC,20090904,1986.98,2018.78,2018.92,1982.05,1983.2,35.58,1.79,1.86,
79998000
IXIC,20090903,1975.85,1983.2,1983.37,1958.04,1967.07,16.13,0.82,1.29,
80008001
IXIC,20090902,1960.07,1967.07,1976.35,1958.51,1968.89,-1.82,-0.09,0.91,
8001-
IXIC,20090901,2001.3,1968.89,2034.78,1965.48,2009.06,-40.17,-2.0,3.45,

data/stock_basic.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
432432
001217.SZ,001217,华尔泰,安徽,化工原料,20210929,,L
433433
001218.SZ,001218,丽臣实业,湖南,化工原料,20211015,,L
434434
001219.SZ,001219,青岛食品,山东,食品,20211021,,L
435-
001221.SZ,001221,N悍高,广东,家居用品,20250730,,L
435+
001221.SZ,001221,C悍高,广东,家居用品,20250730,,L
436436
001222.SZ,001222,源飞宠物,浙江,文教休闲,20220818,,L
437437
001223.SZ,001223,欧克科技,江西,专用机械,20221212,,L
438438
001225.SZ,001225,和泰机电,浙江,专用机械,20230222,,L
@@ -5391,7 +5391,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
53915391
873806.BJ,873806,云星宇,北京,软件服务,20240111,,L
53925392
873833.BJ,873833,美心翼申,重庆,汽车配件,20231108,,L
53935393
920002.BJ,920002,万达轴承,江苏,工程机械,20240530,,L
5394-
920005.BJ,920005,鼎佳精密,江苏,元器件,20250731,,L
5394+
920005.BJ,920005,N鼎佳,江苏,元器件,20250731,,L
53955395
920008.BJ,920008,成电光信,四川,通信设备,20240829,,L
53965396
920016.BJ,920016,中草香料,安徽,日用化工,20240913,,L
53975397
920019.BJ,920019,铜冠矿建,安徽,建筑工程,20241011,,L

data/stock_index.csv

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
2+
000001.SH,20250731,3573.2082,3604.6959,3606.3744,3562.6072,3615.7167,-42.5085,-1.1757,654509349.0,845893058.1
23
000001.SH,20250730,3615.7167,3608.354,3636.1664,3593.7338,3609.7113,6.0054,0.1664,637221916.0,819627949.1
34
000001.SH,20250729,3609.7113,3595.8099,3611.3532,3585.9435,3597.9369,11.7744,0.3273,610642058.0,793606423.7
45
000001.SH,20250728,3597.9369,3594.2313,3606.2742,3582.1489,3593.6553,4.2816,0.1191,594187877.0,761265438.4
@@ -7998,7 +7999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
79987999
000001.SH,19920930,702.32,703.63,710.63,698.91,710.63,-8.31,-1.1694,89778.0,96512.331
79998000
000001.SH,19920929,710.63,719.99,728.42,707.82,724.7,-14.07,-1.9415,64830.0,82381.424
80008001
000001.SH,19920928,724.7,724.45,729.79,721.19,729.79,-5.09,-0.6975,42557.0,40798.092
8001-
000001.SH,19920925,729.79,730.28,735.75,723.56,730.57,-0.78,-0.1068,76536.0,76255.512
8002+
399001.SZ,20250731,11009.7685,11208.4596,11223.6411,10976.2129,11203.0295,-193.261,-1.7251,741311343.0,1090142295.6
80028003
399001.SZ,20250730,11203.0295,11262.9764,11307.6201,11126.9987,11289.4059,-86.3764,-0.7651,713948129.0,1024651537.6
80038004
399001.SZ,20250729,11289.4059,11199.626,11289.4203,11136.276,11217.5814,71.8245,0.6403,687782458.0,1009564173.3
80048005
399001.SZ,20250728,11217.5814,11176.3927,11226.1825,11114.925,11168.1414,49.44,0.4427,684039261.0,981041846.8
@@ -15998,7 +15999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
1599815999
399001.SZ,19920909,2478.13,2406.46,2483.31,2354.18,2393.49,84.64,3.5363,122234.0,315878.08
1599916000
399001.SZ,19920908,2393.49,2239.18,2414.46,2198.71,2251.65,141.84,6.2994,100563.0,252401.83
1600016001
399001.SZ,19920907,2251.65,2346.07,2346.29,2235.72,2360.53,-108.88,-4.6125,87177.0,215220.125
16001-
399001.SZ,19920904,2360.53,2451.54,2453.82,2350.37,2460.09,-99.56,-4.047,87275.0,218471.565
16002+
000016.SH,20250731,2775.9935,2807.3049,2807.9397,2766.929,2819.3508,-43.3573,-1.5378,61515847.0,131852396.938
1600216003
000016.SH,20250730,2819.3508,2809.4365,2842.474,2802.7397,2808.5917,10.7591,0.3831,52185198.0,112596979.711
1600316004
000016.SH,20250729,2808.5917,2802.7753,2813.7412,2795.5995,2802.7674,5.8243,0.2078,47051664.0,111954405.495
1600416005
000016.SH,20250728,2802.7674,2799.2638,2811.2446,2788.0197,2795.5127,7.2547,0.2595,49737265.0,114570541.888
@@ -21239,6 +21240,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
2123921240
000016.SH,20040106,1075.656,1059.141,1086.694,1059.095,1060.801,14.855,1.4004,16991334.0,12416997.345
2124021241
000016.SH,20040105,1060.801,1008.279,1060.898,1008.279,1011.347,49.454,4.8899,14468180.0,10706463.941
2124121242
000016.SH,20040102,1011.347,996.996,1021.568,993.892,1000.0,11.347,1.1347,8064653.0,5742758.967
21243+
000300.SH,20250731,4075.5912,4141.5612,4141.8243,4063.6662,4151.2379,-75.6467,-1.8223,267087406.0,492142571.739
2124221244
000300.SH,20250730,4151.2379,4148.9405,4185.2064,4127.4301,4152.0247,-0.7868,-0.0189,249853048.0,445168467.668
2124321245
000300.SH,20250729,4152.0247,4132.6833,4153.3307,4117.5772,4135.8242,16.2005,0.3917,230807880.0,428764310.974
2124421246
000300.SH,20250728,4135.8242,4128.1993,4146.12,4112.9677,4127.1634,8.6608,0.2098,222759815.0,406792873.973
@@ -26236,6 +26238,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
2623626238
000300.SH,20050106,983.174,993.331,993.788,980.33,992.564,-9.39,-0.946,6288029.05,3921015.42
2623726239
000300.SH,20050105,992.564,981.577,997.323,979.877,982.794,9.77,0.9941,7119108.98,4529208.214
2623826240
000300.SH,20050104,982.794,994.769,994.769,980.658,1000.0,-17.206,-1.7206,7412868.94,4431977.418
26241+
000905.SH,20250731,6226.3432,6297.9122,6322.0651,6206.1902,6314.6873,-88.3441,-1.399,224214237.0,322273638.102
2623926242
000905.SH,20250730,6314.6873,6345.3737,6368.2693,6269.5128,6356.1327,-41.4454,-0.6521,212128411.0,304778465.292
2624026243
000905.SH,20250729,6356.1327,6308.1228,6356.1497,6272.3139,6323.4198,32.7129,0.5173,201757629.0,292526917.596
2624126244
000905.SH,20250728,6323.4198,6305.2247,6329.0304,6271.93,6299.5908,23.829,0.3783,214448267.0,305210098.011
@@ -31233,6 +31236,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
3123331236
000905.SH,20050106,994.595,1003.49,1003.49,990.792,1003.633,-9.038,-0.9005,2933905.59,1629216.031
3123431237
000905.SH,20050105,1003.633,986.57,1008.855,985.677,986.927,16.706,1.6927,3486101.13,1919861.791
3123531238
000905.SH,20050104,986.927,996.682,996.682,984.795,1000.0,-13.073,-1.3073,2323762.03,1329187.122
31239+
000852.SH,20250731,6661.1862,6701.156,6750.0775,6639.1227,6718.4819,-57.2957,-0.8528,270138677.0,401821827.245
3123631240
000852.SH,20250730,6718.4819,6758.3273,6770.8825,6662.9057,6773.8843,-55.4024,-0.8179,268179559.0,392675091.206
3123731241
000852.SH,20250729,6773.8843,6724.315,6773.8843,6684.158,6729.979,43.9053,0.6524,259261236.0,383703631.544
3123831242
000852.SH,20250728,6729.979,6713.8176,6736.0794,6679.2113,6706.6098,23.3692,0.3485,252742904.0,359575849.641

data/tf_continuous.csv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ts_code,trade_date,mapping_ts_code
2+
TS.CFX,20250731,TS2509.CFX
23
TS.CFX,20250730,TS2509.CFX
34
TS.CFX,20250729,TS2509.CFX
45
TS.CFX,20250728,TS2509.CFX
@@ -1684,6 +1685,7 @@ TS.CFX,20180822,TS1812.CFX
16841685
TS.CFX,20180821,TS1812.CFX
16851686
TS.CFX,20180820,TS1812.CFX
16861687
TS.CFX,20180817,TS1812.CFX
1688+
TF.CFX,20250731,TF2509.CFX
16871689
TF.CFX,20250730,TF2509.CFX
16881690
TF.CFX,20250729,TF2509.CFX
16891691
TF.CFX,20250728,TF2509.CFX
@@ -4254,6 +4256,7 @@ TF.CFX,20150108,TF1503.CFX
42544256
TF.CFX,20150107,TF1503.CFX
42554257
TF.CFX,20150106,TF1503.CFX
42564258
TF.CFX,20150105,TF1503.CFX
4259+
T.CFX,20250731,T2509.CFX
42574260
T.CFX,20250730,T2509.CFX
42584261
T.CFX,20250729,T2509.CFX
42594262
T.CFX,20250728,T2509.CFX
@@ -6775,6 +6778,7 @@ T.CFX,20150325,T1509.CFX
67756778
T.CFX,20150324,T1509.CFX
67766779
T.CFX,20150323,T1509.CFX
67776780
T.CFX,20150320,T1509.CFX
6781+
TL.CFX,20250731,T2509.CFX
67786782
TL.CFX,20250730,T2509.CFX
67796783
TL.CFX,20250729,T2509.CFX
67806784
TL.CFX,20250728,T2509.CFX

data/yield.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4856,4 +4856,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
48564856
2025-07-25,1.3,1.37,1.38,1.44,1.48,1.6,1.69,1.73,,,1.97,中债国债收益率曲线
48574857
2025-07-28,1.34,1.37,1.36,1.42,1.46,1.58,1.68,1.71,,,1.95,中债国债收益率曲线
48584858
2025-07-29,1.36,1.38,1.41,1.44,1.48,1.61,1.71,1.75,,,2.0,中债国债收益率曲线
4859-
2025-07-30,1.33,1.39,1.40,1.43,1.46,1.59,1.70,1.72,,,1.96,中债国债收益率曲线
4859+
2025-07-30,1.33,1.39,1.4,1.43,1.46,1.59,1.7,1.72,,,1.96,中债国债收益率曲线
4860+
2025-07-31,1.33,1.38,1.38,1.42,1.44,1.57,1.68,1.70,,,1.95,中债国债收益率曲线

0 commit comments

Comments
 (0)