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 5, 2024
1 parent 1c9c77d commit 0cd17af
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 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,20241204,6069.39,6086.49,6089.84,6061.06,6049.88,36.61,0.61,0.48,2629947.0
SPX,20241203,6042.97,6049.88,6052.07,6033.39,6047.15,2.73,0.05,0.31,2631960.0
SPX,20241202,6040.11,6047.15,6053.58,6035.33,6032.38,14.77,0.24,0.3,2724891.0
SPX,20241129,6003.98,6032.38,6044.17,6003.98,5998.74,33.64,0.56,0.67,1446140.0
Expand Down Expand Up @@ -3998,7 +3999,7 @@ 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,
SPX,20090114,867.28,842.62,867.28,836.93,871.79,-29.17,-3.35,3.48,
SPX,20090113,867.39,871.79,877.02,862.02,870.26,1.52,0.18,1.72,
SPX,20090112,888.53,870.26,890.4,864.32,890.35,-20.09,-2.26,2.93,
IXIC,20241204,19587.48,19735.12,19741.76,19575.4,19480.91,254.21,1.3,0.85,1272422.0
IXIC,20241203,19364.34,19480.91,19486.15,19340.41,19403.95,76.96,0.4,0.75,1125268.0
IXIC,20241202,19255.43,19403.95,19436.92,19255.42,19218.17,185.78,0.97,0.94,1246606.0
IXIC,20241129,19087.47,19218.17,19245.49,19066.52,19060.48,157.69,0.83,0.94,797077.19
Expand Down Expand Up @@ -7998,4 +7999,3 @@ 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,
IXIC,20090115,1485.66,1511.84,1521.58,1456.72,1489.64,22.2,1.49,4.35,
IXIC,20090114,1521.33,1489.64,1528.65,1485.26,1546.46,-56.82,-3.67,2.81,
IXIC,20090113,1535.15,1546.46,1557.95,1527.47,1538.79,7.67,0.5,1.98,
6 changes: 3 additions & 3 deletions data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2837,7 +2837,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
301611.SZ,301611,珂玛科技,江苏,半导体,20240816,,L
301613.SZ,301613,新铝时代,重庆,汽车配件,20241025,,L
301618.SZ,301618,长联科技,广东,染料涂料,20240930,,L
301622.SZ,301622,N英思特,内蒙,矿物制品,20241204,,L
301622.SZ,301622,C英思特,内蒙,矿物制品,20241204,,L
301626.SZ,301626,苏州天脉,江苏,元器件,20241024,,L
301628.SZ,301628,强达电路,深圳,元器件,20241031,,L
301631.SZ,301631,壹连科技,深圳,元器件,20241122,,L
Expand Down Expand Up @@ -5094,7 +5094,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
688701.SH,688701,卓锦股份,浙江,环境保护,20210916,,L
688702.SH,688702,盛科通信-U,江苏,半导体,20230914,,L
688707.SH,688707,振华新材,贵州,电气设备,20210914,,L
688708.SH,688708,佳驰科技,四川,化工原料,20241205,,L
688708.SH,688708,N佳驰,四川,化工原料,20241205,,L
688709.SH,688709,成都华微,四川,半导体,20240207,,L
688710.SH,688710,益诺思,上海,生物制药,20240903,,L
688711.SH,688711,宏微科技,江苏,半导体,20210901,,L
Expand Down Expand Up @@ -5368,7 +5368,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
920060.BJ,920060,万源通,,,20241119,,L
920066.BJ,920066,科拜尔,,,20241031,,L
920088.BJ,920088,科力股份,,,20241029,,L
920098.BJ,920098,科隆新材,,,20241205,,L
920098.BJ,920098,N科隆,,,20241205,,L
920099.BJ,920099,瑞华技术,,,20240925,,L
920111.BJ,920111,聚星科技,,,20241111,,L
920118.BJ,920118,太湖远大,,,20240822,,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,20241205,3368.8553,3353.0573,3377.055,3353.0573,3364.6498,4.2055,0.125,543885746.0,565551128.3
000001.SH,20241204,3364.6498,3376.5715,3388.0241,3352.9434,3378.8063,-14.1565,-0.419,621028862.0,653467546.7
000001.SH,20241203,3378.8063,3366.2853,3386.6176,3348.3742,3363.9823,14.824,0.4407,663030139.0,683982592.8
000001.SH,20241202,3363.9823,3328.482,3369.3032,3323.0091,3326.4557,37.5266,1.1281,668477762.0,709509517.8
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,19920220,347.99,345.22,348.01,342.41,342.41,5.58,1.6296,10341.0,20004.752
000001.SH,19920219,342.41,340.5,342.41,337.11,337.11,5.3,1.5722,9401.0,16501.609
000001.SH,19920218,337.11,338.98,339.16,319.77,319.77,17.34,5.4226,7407.0,12655.298
000001.SH,19920217,319.77,319.77,319.77,319.68,319.68,0.09,0.0282,6369.0,13782.082
399001.SZ,20241205,10634.489,10565.0274,10674.7702,10565.0274,10604.0121,30.4769,0.2874,844663661.0,933068980.4
399001.SZ,20241204,10604.0121,10700.0579,10717.5592,10556.6013,10713.5785,-109.5664,-1.0227,930816502.0,1009658111.0
399001.SZ,20241203,10713.5785,10757.4936,10761.4414,10625.4756,10756.5476,-42.9691,-0.3995,939709022.0,1031925156.8
399001.SZ,20241202,10756.5476,10595.4731,10777.6937,10583.7206,10611.719,144.8286,1.3648,937523184.0,1077203653.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,19920123,952.95,947.72,956.01,942.85,946.26,6.69,0.707,13793.0,17688.565
399001.SZ,19920122,946.26,947.9,953.23,938.88,949.69,-3.43,-0.3612,15505.0,19712.085
399001.SZ,19920121,949.69,958.88,964.56,945.6,958.36,-8.67,-0.9047,9758.0,14561.22
399001.SZ,19920120,958.36,945.57,965.92,943.74,945.36,13.0,1.3751,17192.0,20357.865
000016.SH,20241205,2635.5615,2637.627,2647.9841,2629.6309,2648.7554,-13.1939,-0.4981,33676521.0,60315067.352
000016.SH,20241204,2648.7554,2651.785,2660.8018,2638.113,2652.8982,-4.1428,-0.1562,48088171.0,84381105.671
000016.SH,20241203,2652.8982,2638.8056,2658.1522,2626.208,2639.0408,13.8574,0.5251,47373156.0,82863138.221
000016.SH,20241202,2639.0408,2621.1436,2643.8665,2613.6159,2624.9558,14.085,0.5366,44608836.0,84570831.621
Expand Down Expand Up @@ -21081,6 +21082,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,20241205,3921.5881,3916.5638,3936.3358,3910.0834,3930.5568,-8.9687,-0.2282,138534038.0,257716297.997
000300.SH,20241204,3930.5568,3948.13,3957.365,3917.7467,3951.8912,-21.3344,-0.5399,174626318.0,312040419.082
000300.SH,20241203,3951.8912,3946.7034,3963.9474,3922.8425,3947.632,4.2592,0.1079,182496867.0,327295048.701
000300.SH,20241202,3947.632,3909.7029,3955.1252,3902.1697,3916.5832,31.0488,0.7928,197289784.0,368591235.991
Expand Down Expand Up @@ -25920,6 +25922,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,20241205,5901.9859,5855.7419,5923.6243,5853.527,5879.2695,22.7164,0.3864,198542236.0,212251881.677
000905.SH,20241204,5879.2695,5929.4763,5940.8545,5850.9094,5932.1207,-52.8512,-0.8909,215991634.0,234212942.759
000905.SH,20241203,5932.1207,5946.7352,5954.6607,5877.8012,5943.6245,-11.5038,-0.1935,209870509.0,229346951.927
000905.SH,20241202,5943.6245,5853.7053,5956.5981,5848.4235,5851.9385,91.686,1.5668,236181308.0,257212815.525
Expand Down Expand Up @@ -30759,6 +30762,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,20241205,6285.6007,6186.1227,6302.3554,6186.1227,6204.9448,80.6559,1.2999,288535617.0,340682850.435
000852.SH,20241204,6204.9448,6301.0479,6303.5046,6175.8385,6303.2758,-98.331,-1.56,299202098.0,351416845.598
000852.SH,20241203,6303.2758,6318.966,6342.3568,6239.4398,6313.6077,-10.3319,-0.1636,326652363.0,377825590.965
000852.SH,20241202,6313.6077,6188.8016,6325.8604,6188.8016,6189.1276,124.4801,2.0113,354028066.0,408649278.002
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,20241205,TS2503.CFX
TS.CFX,20241204,TS2503.CFX
TS.CFX,20241203,TS2503.CFX
TS.CFX,20241202,TS2503.CFX
Expand Down Expand Up @@ -1526,6 +1527,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241205,TF2503.CFX
TF.CFX,20241204,TF2503.CFX
TF.CFX,20241203,TF2503.CFX
TF.CFX,20241202,TF2503.CFX
Expand Down Expand Up @@ -3938,6 +3940,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241205,T2503.CFX
T.CFX,20241204,T2503.CFX
T.CFX,20241203,T2503.CFX
T.CFX,20241202,T2503.CFX
Expand Down Expand Up @@ -6301,6 +6304,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241205,T2412.CFX
TL.CFX,20241204,T2412.CFX
TL.CFX,20241203,T2412.CFX
TL.CFX,20241202,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 @@ -4695,4 +4695,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-11-29,1.37,1.37,1.37,1.37,1.41,1.66,1.88,2.02,,,2.2,中债国债收益率曲线
2024-12-02,1.34,1.35,1.35,1.32,1.38,1.62,1.83,1.98,,,2.17,中债国债收益率曲线
2024-12-03,1.35,1.35,1.35,1.33,1.39,1.63,1.84,1.99,,,2.17,中债国债收益率曲线
2024-12-04,1.35,1.35,1.34,1.30,1.38,1.60,1.82,1.96,,,2.14,中债国债收益率曲线
2024-12-04,1.35,1.35,1.34,1.3,1.38,1.6,1.82,1.96,,,2.14,中债国债收益率曲线
2024-12-05,1.35,1.36,1.35,1.30,1.37,1.61,1.82,1.95,,,2.14,中债国债收益率曲线

0 comments on commit 0cd17af

Please sign in to comment.