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 2, 2024
1 parent 258a4bc commit e5f5c2b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/stock_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4916,7 +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,N联芸,浙江,半导体,20241129,,L
688449.SH,688449,C联芸,浙江,半导体,20241129,,L
688450.SH,688450,光格科技,江苏,电器仪表,20230724,,L
688455.SH,688455,科捷智能,山东,机械基件,20220915,,L
688456.SH,688456,有研粉材,北京,铜,20210317,,L
Expand Down Expand Up @@ -5369,7 +5369,7 @@ ts_code,symbol,name,area,industry,list_date,delist_date,status
920099.BJ,920099,瑞华技术,,,20240925,,L
920111.BJ,920111,聚星科技,,,20241111,,L
920118.BJ,920118,太湖远大,,,20240822,,L
920128.BJ,920128,N胜业,,,20241129,,L
920128.BJ,920128,胜业电气,,,20241129,,L
689009.SH,689009,九号公司-WD,北京,摩托车,20201029,,L
000003.SZ,000003,PT金田A(退),,,19910703,20020614,D
000005.SZ,000005,ST星源(退),,,19901210,20240426,D
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,20241202,3363.9823,3328.482,3369.3032,3323.0091,3326.4557,37.5266,1.1281,668477762.0,709509517.8
000001.SH,20241129,3326.4557,3295.2096,3357.5013,3293.6899,3295.6983,30.7574,0.9333,580227102.0,663851511.0
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
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,19920217,319.77,319.77,319.77,319.68,319.68,0.09,0.0282,6369.0,13782.082
000001.SH,19920214,319.68,319.45,319.68,317.04,317.04,2.64,0.8327,457.0,770.875
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
399001.SZ,20241202,10756.5476,10595.4731,10777.6937,10583.7206,10611.719,144.8286,1.3648,937523184.0,1077203653.4
399001.SZ,20241129,10611.719,10406.079,10727.0831,10406.079,10432.5399,179.1791,1.7175,892157878.0,1044492312.3
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
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,19920120,958.36,945.57,965.92,943.74,945.36,13.0,1.3751,17192.0,20357.865
399001.SZ,19920117,945.36,935.64,947.58,917.37,937.31,8.05,0.8588,11587.0,16137.94
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
000016.SH,20241202,2639.0408,2621.1436,2643.8665,2613.6159,2624.9558,14.085,0.5366,44608836.0,84570831.621
000016.SH,20241129,2624.9558,2612.2337,2660.3932,2610.7148,2610.1214,14.8344,0.5683,43001561.0,86826616.313
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
Expand Down Expand Up @@ -21078,6 +21079,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,20241202,3947.632,3909.7029,3955.1252,3902.1697,3916.5832,31.0488,0.7928,197289784.0,368591235.991
000300.SH,20241129,3916.5832,3869.8903,3962.7002,3869.8903,3872.5505,44.0327,1.137,187656713.0,375262017.919
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
Expand Down Expand Up @@ -25914,6 +25916,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,20241202,5943.6245,5853.7053,5956.5981,5848.4235,5851.9385,91.686,1.5668,236181308.0,257212815.525
000905.SH,20241129,5851.9385,5748.1665,5899.873,5736.4093,5757.5965,94.342,1.6386,204255544.0,243571196.944
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
Expand Down Expand Up @@ -30750,6 +30753,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,20241202,6313.6077,6188.8016,6325.8604,6188.8016,6189.1276,124.4801,2.0113,354028066.0,408649278.002
000852.SH,20241129,6189.1276,6066.7135,6246.1979,6039.8317,6086.0852,103.0424,1.6931,324762691.0,387695670.29
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
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,20241202,TS2503.CFX
TS.CFX,20241129,TS2503.CFX
TS.CFX,20241128,TS2503.CFX
TS.CFX,20241127,TS2503.CFX
Expand Down Expand Up @@ -1523,6 +1524,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241202,TF2503.CFX
TF.CFX,20241129,TF2503.CFX
TF.CFX,20241128,TF2503.CFX
TF.CFX,20241127,TF2503.CFX
Expand Down Expand Up @@ -3932,6 +3934,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241202,T2503.CFX
T.CFX,20241129,T2503.CFX
T.CFX,20241128,T2503.CFX
T.CFX,20241127,T2503.CFX
Expand Down Expand Up @@ -6292,6 +6295,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241202,T2412.CFX
TL.CFX,20241129,T2412.CFX
TL.CFX,20241128,T2412.CFX
TL.CFX,20241127,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 @@ -4693,3 +4693,4 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
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,中债国债收益率曲线
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,中债国债收益率曲线

0 comments on commit e5f5c2b

Please sign in to comment.