Skip to content

Commit 498a727

Browse files
author
afan
committed
daily update tushare data
1 parent 3a4cbcb commit 498a727

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

data/global_index.csv

Lines changed: 1 addition & 1 deletion
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,20250623,5969.67,6025.17,6028.77,5943.23,5967.84,57.33,0.96,1.43,3240747.0
23
SPX,20250620,5999.67,5967.84,6018.2,5952.56,5980.87,-13.03,-0.22,1.1,5166023.0
34
SPX,20250618,5987.93,5980.87,6018.25,5971.89,5982.72,-1.85,-0.03,0.77,2941500.0
45
SPX,20250617,6012.15,5982.72,6023.25,5974.8,6033.11,-50.39,-0.84,0.8,2830518.0
@@ -3998,7 +3999,6 @@ SPX,20090803,987.48,1002.63,1003.61,990.22,987.48,15.15,1.53,1.36,
39983999
SPX,20090731,986.8,987.48,993.18,982.85,986.75,0.72,0.07,1.05,
39994000
SPX,20090730,976.01,986.75,996.68,976.01,975.15,11.61,1.19,2.12,
40004001
SPX,20090729,979.5,975.15,977.76,968.65,979.62,-4.48,-0.46,0.93,
4001-
SPX,20090728,981.48,979.62,982.35,969.35,982.18,-2.55,-0.26,1.32,
40024002
IXIC,20250620,,19447.41,19696.11,19380.58,19546.27,-98.86,-0.51,1.61,
40034003
IXIC,20250618,,19546.27,19660.77,19489.56,19521.09,25.18,0.13,0.88,
40044004
IXIC,20250617,,19521.09,19666.56,19485.44,19701.21,-180.12,-0.91,0.92,

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,20250624,3420.566,3380.08,3423.7835,3380.08,3381.5816,38.9844,1.1528,460963800.0,544882077.6
23
000001.SH,20250623,3381.5816,3349.4603,3389.4524,3347.6508,3359.8954,21.6862,0.6454,384561397.0,442789178.5
34
000001.SH,20250620,3359.8954,3358.9128,3370.7984,3357.7061,3362.1082,-2.2128,-0.0658,350223662.0,410873272.6
45
000001.SH,20250619,3362.1082,3384.2932,3386.9194,3353.9355,3388.8086,-26.7004,-0.7879,415327655.0,473258595.4
@@ -7998,7 +7999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
79987999
000001.SH,19920824,884.1,888.95,920.85,881.33,916.25,-32.15,-3.5089,99347.0,155058.343
79998000
000001.SH,19920821,916.25,916.99,938.37,912.89,932.32,-16.07,-1.7237,170567.0,189594.667
80008001
000001.SH,19920820,932.32,930.7,946.73,918.65,939.51,-7.19,-0.7653,160565.0,177488.02
8001-
000001.SH,19920819,939.51,920.66,951.16,888.23,933.44,6.07,0.6503,75952.0,131836.239
8002+
399001.SZ,20250624,10217.6287,10074.2725,10224.1216,10074.2725,10048.3935,169.2352,1.6842,666588581.0,869699635.3
80028003
399001.SZ,20250623,10048.3935,9950.1389,10064.7523,9950.1389,10005.0319,43.3616,0.4334,537795224.0,679817325.7
80038004
399001.SZ,20250620,10005.0319,10039.0008,10084.1007,9998.4983,10051.9655,-46.9336,-0.4669,514811214.0,656812805.4
80048005
399001.SZ,20250619,10051.9655,10156.1742,10181.9707,10027.3253,10175.5883,-123.6228,-1.2149,610114878.0,777365311.0
@@ -15998,7 +15999,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
1599815999
399001.SZ,19920803,2678.57,2827.05,2830.68,2670.04,2821.77,-143.2,-5.0748,89492.0,241830.95
1599916000
399001.SZ,19920731,2821.77,2854.42,2888.6,2799.72,2843.78,-22.01,-0.774,80429.0,223654.005
1600016001
399001.SZ,19920730,2843.78,2822.82,2857.55,2808.6,2823.29,20.49,0.7257,82178.0,224195.555
16001-
399001.SZ,19920729,2823.29,2811.7,2840.13,2780.11,2814.89,8.4,0.2984,92205.0,262327.01
16002+
000016.SH,20250624,2715.9216,2685.8526,2731.1765,2685.8526,2684.7761,31.1455,1.1601,49028263.0,89075122.241
1600216003
000016.SH,20250623,2684.7761,2664.6357,2692.9099,2656.6776,2673.7191,11.057,0.4135,42959546.0,72036348.371
1600316004
000016.SH,20250620,2673.7191,2661.2098,2681.5256,2661.2098,2665.5197,8.1994,0.3076,36316506.0,63162236.214
1600416005
000016.SH,20250619,2665.5197,2678.3561,2680.867,2658.4927,2679.9218,-14.4021,-0.5374,37645030.0,64020626.58
@@ -21212,6 +21213,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
2121221213
000016.SH,20040106,1075.656,1059.141,1086.694,1059.095,1060.801,14.855,1.4004,16991334.0,12416997.345
2121321214
000016.SH,20040105,1060.801,1008.279,1060.898,1008.279,1011.347,49.454,4.8899,14468180.0,10706463.941
2121421215
000016.SH,20040102,1011.347,996.996,1021.568,993.892,1000.0,11.347,1.1347,8064653.0,5742758.967
21216+
000300.SH,20250624,3904.0342,3862.3876,3914.1579,3862.3876,3857.9016,46.1326,1.1958,163656188.0,294228720.613
2121521217
000300.SH,20250623,3857.9016,3831.1703,3867.5896,3827.0829,3846.6443,11.2573,0.2927,133800892.0,232482215.85
2121621218
000300.SH,20250620,3846.6443,3839.7833,3856.4799,3839.7833,3843.0912,3.5531,0.0925,118151020.0,213522822.875
2121721219
000300.SH,20250619,3843.0912,3870.049,3872.9425,3834.9512,3874.9708,-31.8796,-0.8227,130280658.0,234840180.806
@@ -26182,6 +26184,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
2618226184
000300.SH,20050106,983.174,993.331,993.788,980.33,992.564,-9.39,-0.946,6288029.05,3921015.42
2618326185
000300.SH,20050105,992.564,981.577,997.323,979.877,982.794,9.77,0.9941,7119108.98,4529208.214
2618426186
000300.SH,20050104,982.794,994.769,994.769,980.658,1000.0,-17.206,-1.7206,7412868.94,4431977.418
26187+
000905.SH,20250624,5765.8373,5683.4622,5766.0189,5683.4622,5674.1704,91.6669,1.6155,142082256.0,191935453.605
2618526188
000905.SH,20250623,5674.1704,5613.2813,5684.3973,5613.2813,5639.513,34.6574,0.6145,111601802.0,146034994.435
2618626189
000905.SH,20250620,5639.513,5669.0901,5688.7362,5636.7846,5676.8317,-37.3187,-0.6574,101794766.0,135042595.006
2618726190
000905.SH,20250619,5676.8317,5733.8068,5750.4643,5660.0504,5745.8714,-69.0397,-1.2016,125531134.0,162657974.788
@@ -31152,6 +31155,7 @@ ts_code,trade_date,close,open,high,low,pre_close,change,pct_chg,vol,amount
3115231155
000905.SH,20050106,994.595,1003.49,1003.49,990.792,1003.633,-9.038,-0.9005,2933905.59,1629216.031
3115331156
000905.SH,20050105,1003.633,986.57,1008.855,985.677,986.927,16.706,1.6927,3486101.13,1919861.791
3115431157
000905.SH,20050104,986.927,996.682,996.682,984.795,1000.0,-13.073,-1.3073,2323762.03,1329187.122
31158+
000852.SH,20250624,6194.666,6082.7439,6194.666,6082.7439,6078.2224,116.4436,1.9158,233453403.0,303658275.674
3115531159
000852.SH,20250623,6078.2224,5966.4954,6083.5271,5965.6633,5999.5914,78.631,1.3106,193558490.0,239995084.576
3115631160
000852.SH,20250620,5999.5914,6039.9913,6061.8405,5997.5898,6048.2243,-48.6329,-0.8041,180857342.0,226531986.435
3115731161
000852.SH,20250619,6048.2243,6127.9379,6146.6422,6028.7167,6135.3858,-87.1615,-1.4206,212217336.0,270827079.699

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,20250624,TS2509.CFX
23
TS.CFX,20250623,TS2509.CFX
34
TS.CFX,20250620,TS2509.CFX
45
TS.CFX,20250619,TS2509.CFX
@@ -1657,6 +1658,7 @@ TS.CFX,20180822,TS1812.CFX
16571658
TS.CFX,20180821,TS1812.CFX
16581659
TS.CFX,20180820,TS1812.CFX
16591660
TS.CFX,20180817,TS1812.CFX
1661+
TF.CFX,20250624,TF2509.CFX
16601662
TF.CFX,20250623,TF2509.CFX
16611663
TF.CFX,20250620,TF2509.CFX
16621664
TF.CFX,20250619,TF2509.CFX
@@ -4200,6 +4202,7 @@ TF.CFX,20150108,TF1503.CFX
42004202
TF.CFX,20150107,TF1503.CFX
42014203
TF.CFX,20150106,TF1503.CFX
42024204
TF.CFX,20150105,TF1503.CFX
4205+
T.CFX,20250624,T2509.CFX
42034206
T.CFX,20250623,T2509.CFX
42044207
T.CFX,20250620,T2509.CFX
42054208
T.CFX,20250619,T2509.CFX
@@ -6694,6 +6697,7 @@ T.CFX,20150325,T1509.CFX
66946697
T.CFX,20150324,T1509.CFX
66956698
T.CFX,20150323,T1509.CFX
66966699
T.CFX,20150320,T1509.CFX
6700+
TL.CFX,20250624,T2509.CFX
66976701
TL.CFX,20250623,T2509.CFX
66986702
TL.CFX,20250620,T2509.CFX
66996703
TL.CFX,20250619,T2509.CFX

data/yield.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4829,4 +4829,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
48294829
2025-06-18,1.35,1.37,1.36,1.37,1.39,1.51,1.58,1.64,,,1.85,中债国债收益率曲线
48304830
2025-06-19,1.35,1.36,1.36,1.37,1.4,1.51,1.58,1.64,,,1.84,中债国债收益率曲线
48314831
2025-06-20,1.34,1.36,1.36,1.37,1.4,1.5,1.57,1.64,,,1.84,中债国债收益率曲线
4832-
2025-06-23,1.34,1.37,1.36,1.37,1.40,1.50,1.58,1.64,,,1.84,中债国债收益率曲线
4832+
2025-06-23,1.34,1.37,1.36,1.37,1.4,1.5,1.58,1.64,,,1.84,中债国债收益率曲线
4833+
2025-06-24,1.33,1.35,1.36,1.37,1.41,1.51,1.59,1.65,,,1.85,中债国债收益率曲线

0 commit comments

Comments
 (0)