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 Nov 28, 2024
1 parent 5d9780f commit 7e61614
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
6 changes: 3 additions & 3 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,20241127,6014.11,5998.74,6020.16,5984.87,6021.63,-22.89,-0.38,0.59,2090790.0
SPX,20241126,6000.03,6021.63,6025.42,5992.27,5987.37,34.26,0.57,0.55,2416828.0
SPX,20241125,5992.28,5987.37,6020.75,5963.91,5969.34,18.03,0.3,0.95,3948305.0
SPX,20241122,5944.36,5969.34,5972.9,5944.36,5948.71,20.63,0.35,0.48,2609740.0
Expand Down Expand Up @@ -3998,8 +3999,8 @@ SPX,20090112,888.53,870.26,890.4,864.32,890.35,-20.09,-2.26,2.93,
SPX,20090109,909.91,890.35,911.93,888.31,909.73,-19.38,-2.13,2.6,
SPX,20090108,905.73,909.73,910.0,896.81,906.65,3.09,0.34,1.45,
SPX,20090107,917.87,906.65,927.45,902.37,934.7,-28.05,-3.0,2.68,
SPX,20090106,931.17,934.7,943.85,927.28,927.45,7.25,0.78,1.79,
IXIC,20241126,19109.08,19174.3,19184.4,19100.73,19054.84,119.46,0.63,0.44,1120801.0
IXIC,20241127,19132.99,19060.48,19133.11,18937.2,19175.58,-115.1,-0.6,1.02,1031440.2
IXIC,20241126,19109.08,19175.58,19184.4,19100.73,19054.84,120.74,0.63,0.44,1120801.0
IXIC,20241125,19140.59,19054.84,19208.68,18969.35,19003.65,51.19,0.27,1.26,1908343.0
IXIC,20241122,18966.32,19003.65,19025.77,18899.48,18972.42,31.23,0.16,0.67,1185268.0
IXIC,20241121,19072.78,18972.42,19110.89,18714.06,18966.14,6.28,0.03,2.09,1258117.0
Expand Down Expand Up @@ -7998,4 +7999,3 @@ IXIC,20090113,1535.15,1546.46,1557.95,1527.47,1538.79,7.67,0.5,1.98,
IXIC,20090112,1572.41,1538.79,1573.46,1528.0,1571.59,-32.8,-2.09,2.89,
IXIC,20090109,1617.05,1571.59,1617.26,1569.87,1617.01,-45.42,-2.81,2.93,
IXIC,20090108,1592.44,1617.01,1617.01,1584.28,1599.06,17.95,1.12,2.05,
IXIC,20090107,1622.38,1599.06,1625.37,1588.2,1652.38,-53.32,-3.23,2.25,
1 change: 1 addition & 0 deletions data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4916,6 +4916,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
688439.SH,688439,振华风光,贵州,元器件,20220826,,L
688443.SH,688443,智翔金泰-U,重庆,生物制药,20230620,,L
688448.SH,688448,磁谷科技,江苏,专用机械,20220921,,L
688449.SH,688449,联芸科技,浙江,半导体,20241129,,L
688450.SH,688450,光格科技,江苏,电器仪表,20230724,,L
688455.SH,688455,科捷智能,山东,机械基件,20220915,,L
688456.SH,688456,有研粉材,北京,铜,20210317,,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,20241128,3295.6983,3308.2797,3319.2559,3290.3641,3309.7789,-14.0806,-0.4254,511953047.0,558164131.7
000001.SH,20241127,3309.7789,3250.591,3309.8805,3227.3553,3259.7572,50.0217,1.5345,511202303.0,571617596.0
000001.SH,20241126,3259.7572,3256.8576,3285.3281,3252.8661,3263.7597,-4.0025,-0.1226,472219304.0,509490596.3
000001.SH,20241125,3263.7597,3274.884,3285.4555,3232.9178,3267.1916,-3.4319,-0.105,538897390.0,596502088.3
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,19920213,317.04,317.24,317.57,317.04,316.44,0.6,0.1896,1020.0,1686.917
000001.SH,19920212,316.44,316.43,316.44,316.43,316.43,0.01,0.0032,270.0,397.279
000001.SH,19920211,316.43,316.12,316.43,315.56,315.56,0.87,0.2757,296.0,460.159
000001.SH,19920210,315.56,315.55,315.56,314.72,314.72,0.84,0.2669,354.0,586.553
399001.SZ,20241128,10432.5399,10560.4099,10581.5937,10416.3309,10566.1006,-133.5607,-1.264,850887876.0,932295840.5
399001.SZ,20241127,10566.1006,10284.7208,10566.1006,10202.226,10333.2251,232.8755,2.2537,795571296.0,887125205.6
399001.SZ,20241126,10333.2251,10387.0049,10480.9569,10330.4543,10420.5207,-87.2956,-0.8377,711832134.0,795484175.9
399001.SZ,20241125,10420.5207,10462.44,10505.2396,10282.4973,10438.7215,-18.2008,-0.1744,770226266.0,893690967.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,19920116,937.31,953.65,953.95,929.4,954.01,-16.7,-1.7505,12331.0,16785.535
399001.SZ,19920115,954.01,963.73,968.66,949.87,962.72,-8.71,-0.9047,23748.0,29335.36
399001.SZ,19920114,962.72,976.22,977.07,958.02,976.56,-13.84,-1.4172,9367.0,12985.105
399001.SZ,19920113,976.56,986.68,986.94,973.34,985.67,-9.11,-0.9242,10388.0,16375.66
000016.SH,20241128,2610.1214,2625.5067,2630.8034,2598.7484,2625.7605,-15.6391,-0.5956,34308739.0,63685958.938
000016.SH,20241127,2625.7605,2588.8885,2626.3255,2583.4665,2592.7374,33.0231,1.2737,41079054.0,75602282.983
000016.SH,20241126,2592.7374,2576.8092,2607.1247,2573.9661,2582.0536,10.6838,0.4138,39931653.0,64830132.9
000016.SH,20241125,2582.0536,2610.9605,2620.0303,2568.9547,2601.5573,-19.5037,-0.7497,45593530.0,86542885.244
Expand Down Expand Up @@ -21076,6 +21077,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,20241128,3872.5505,3904.2525,3908.3918,3866.0136,3907.0447,-34.4942,-0.8829,150117291.0,286432871.224
000300.SH,20241127,3907.0447,3829.3442,3907.164,3817.9125,3840.1847,66.86,1.7411,174136096.0,320632355.477
000300.SH,20241126,3840.1847,3836.259,3875.229,3833.2842,3848.0909,-7.9062,-0.2055,149892441.0,264403254.8
000300.SH,20241125,3848.0909,3875.6126,3889.7069,3812.3179,3865.6989,-17.608,-0.4555,190702953.0,349006773.18
Expand Down Expand Up @@ -25910,6 +25912,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,20241128,5757.5965,5802.797,5826.4882,5749.2874,5804.9368,-47.3403,-0.8155,172183537.0,204358289.211
000905.SH,20241127,5804.9368,5669.5549,5805.635,5603.9955,5690.4792,114.4576,2.0114,175313302.0,204528721.581
000905.SH,20241126,5690.4792,5727.3734,5773.3559,5688.5764,5735.6493,-45.1701,-0.7875,147562865.0,170186745.3
000905.SH,20241125,5735.6493,5754.5473,5774.8166,5662.0946,5750.2457,-14.5964,-0.2538,186005060.0,215261571.671
Expand Down Expand Up @@ -30744,6 +30747,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,20241128,6086.0852,6121.6778,6170.1336,6077.6009,6118.6636,-32.5784,-0.5324,301235560.0,352731886.173
000852.SH,20241127,6118.6636,5942.5332,6119.011,5856.9973,5981.5699,137.0937,2.2919,290946267.0,337553542.213
000852.SH,20241126,5981.5699,6036.6375,6093.3708,5979.3916,6052.1287,-70.5588,-1.1659,244404112.0,293810759.3
000852.SH,20241125,6052.1287,6047.9384,6076.1906,5937.9052,6030.4882,21.6405,0.3589,277646776.0,336016461.451
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,20241128,TS2503.CFX
TS.CFX,20241127,TS2503.CFX
TS.CFX,20241126,TS2503.CFX
TS.CFX,20241125,TS2503.CFX
Expand Down Expand Up @@ -1521,6 +1522,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241128,TF2503.CFX
TF.CFX,20241127,TF2503.CFX
TF.CFX,20241126,TF2503.CFX
TF.CFX,20241125,TF2412.CFX
Expand Down Expand Up @@ -3928,6 +3930,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241128,T2503.CFX
T.CFX,20241127,T2503.CFX
T.CFX,20241126,T2503.CFX
T.CFX,20241125,T2503.CFX
Expand Down Expand Up @@ -6286,6 +6289,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241128,T2412.CFX
TL.CFX,20241127,T2412.CFX
TL.CFX,20241126,T2412.CFX
TL.CFX,20241125,T2412.CFX
Expand Down
3 changes: 2 additions & 1 deletion data/yield.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4690,4 +4690,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-11-22,1.37,1.38,1.35,1.39,1.45,1.7,1.92,2.08,,,2.27,中债国债收益率曲线
2024-11-25,1.38,1.39,1.36,1.39,1.45,1.69,1.9,2.07,,,2.24,中债国债收益率曲线
2024-11-26,1.38,1.39,1.39,1.39,1.46,1.7,1.9,2.07,,,2.25,中债国债收益率曲线
2024-11-27,1.38,1.38,1.38,1.39,1.45,1.70,1.90,2.06,,,2.25,中债国债收益率曲线
2024-11-27,1.38,1.38,1.38,1.39,1.45,1.7,1.9,2.06,,,2.25,中债国债收益率曲线
2024-11-28,1.38,1.38,1.38,1.39,1.44,1.68,1.88,2.03,,,2.22,中债国债收益率曲线

0 comments on commit 7e61614

Please sign in to comment.