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 10, 2024
1 parent 62168ec commit 489e6e5
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,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
SPX,20241204,6069.39,6086.49,6089.84,6061.06,6049.88,36.61,0.61,0.48,2629947.0
Expand Down Expand Up @@ -3998,7 +3999,7 @@ 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,
SPX,20090115,840.45,843.74,851.59,817.04,842.62,1.12,0.13,4.1,
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
IXIC,20241204,19587.48,19735.12,19741.76,19575.4,19480.91,254.21,1.3,0.85,1272422.0
Expand Down Expand Up @@ -7998,4 +7999,3 @@ 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,
IXIC,20090116,1534.91,1529.33,1538.82,1490.35,1511.84,17.49,1.16,3.21,
5 changes: 3 additions & 2 deletions data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
000779.SZ,000779,甘咨询,甘肃,建筑工程,19970528,,L
000782.SZ,000782,恒申新材,广东,化纤,19970619,,L
000783.SZ,000783,长江证券,湖北,证券,19970731,,L
000785.SZ,000785,居然之家,湖北,百货,19970711,,L
000785.SZ,000785,居然智家,湖北,百货,19970711,,L
000786.SZ,000786,北新建材,北京,其他建材,19970606,,L
000788.SZ,000788,北大医药,重庆,化学制药,19970616,,L
000789.SZ,000789,万年青,江西,水泥,19970923,,L
Expand Down Expand Up @@ -1634,7 +1634,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
300162.SZ,300162,雷曼光电,深圳,元器件,20110113,,L
300163.SZ,300163,ST先锋,浙江,家居用品,20110113,,L
300164.SZ,300164,通源石油,陕西,石油开采,20110113,,L
300165.SZ,300165,天瑞仪器,江苏,电器仪表,20110125,,L
300165.SZ,300165,ST天瑞,江苏,电器仪表,20110125,,L
300166.SZ,300166,东方国信,北京,软件服务,20110125,,L
300167.SZ,300167,*ST迪威,深圳,软件服务,20110125,,L
300168.SZ,300168,万达信息,上海,软件服务,20110125,,L
Expand Down Expand Up @@ -2836,6 +2836,7 @@ 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
301618.SZ,301618,长联科技,广东,染料涂料,20240930,,L
301622.SZ,301622,C英思特,内蒙,矿物制品,20241204,,L
301626.SZ,301626,苏州天脉,江苏,元器件,20241024,,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,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
000001.SH,20241205,3368.8553,3353.0573,3377.055,3353.0573,3364.6498,4.2055,0.125,543885746.0,565551128.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,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
000001.SH,19920220,347.99,345.22,348.01,342.41,342.41,5.58,1.6296,10341.0,20004.752
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
399001.SZ,20241205,10634.489,10565.0274,10674.7702,10565.0274,10604.0121,30.4769,0.2874,844663661.0,933068980.4
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,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
399001.SZ,19920123,952.95,947.72,956.01,942.85,946.26,6.69,0.707,13793.0,17688.565
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
000016.SH,20241205,2635.5615,2637.627,2647.9841,2629.6309,2648.7554,-13.1939,-0.4981,33676521.0,60315067.352
Expand Down Expand Up @@ -21084,6 +21085,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,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
000300.SH,20241205,3921.5881,3916.5638,3936.3358,3910.0834,3930.5568,-8.9687,-0.2282,138534038.0,257716297.997
Expand Down Expand Up @@ -25926,6 +25928,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,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
000905.SH,20241205,5901.9859,5855.7419,5923.6243,5853.527,5879.2695,22.7164,0.3864,198542236.0,212251881.677
Expand Down Expand Up @@ -30768,6 +30771,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,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
000852.SH,20241205,6285.6007,6186.1227,6302.3554,6186.1227,6204.9448,80.6559,1.2999,288535617.0,340682850.435
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,20241210,TS2503.CFX
TS.CFX,20241209,TS2503.CFX
TS.CFX,20241206,TS2503.CFX
TS.CFX,20241205,TS2503.CFX
Expand Down Expand Up @@ -1529,6 +1530,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241210,TF2503.CFX
TF.CFX,20241209,TF2503.CFX
TF.CFX,20241206,TF2503.CFX
TF.CFX,20241205,TF2503.CFX
Expand Down Expand Up @@ -3944,6 +3946,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241210,T2503.CFX
T.CFX,20241209,T2503.CFX
T.CFX,20241206,T2503.CFX
T.CFX,20241205,T2503.CFX
Expand Down Expand Up @@ -6310,6 +6313,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241210,T2412.CFX
TL.CFX,20241209,T2412.CFX
TL.CFX,20241206,T2412.CFX
TL.CFX,20241205,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 @@ -4699,3 +4699,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-12-05,1.35,1.36,1.35,1.3,1.37,1.61,1.82,1.95,,,2.14,中债国债收益率曲线
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,中债国债收益率曲线

0 comments on commit 489e6e5

Please sign in to comment.