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 12, 2024
1 parent abda914 commit 6a0e2ff
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
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,20241112,3421.9701,3469.8908,3489.4244,3402.0422,3470.0657,-48.0956,-1.386,817926524.0,1039600859.3
000001.SH,20241111,3470.0657,3432.3672,3471.1222,3416.7266,3452.2971,17.7686,0.5147,818025436.0,1024334899.5
000001.SH,20241108,3452.2971,3502.1331,3509.8182,3443.193,3470.6609,-18.3638,-0.5291,964034562.0,1107932295.6
000001.SH,20241107,3470.6609,3359.9851,3470.6609,3356.258,3383.8062,86.8547,2.5668,959556680.0,1048841306.1
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,19920123,308.53,308.53,308.53,307.95,307.95,0.58,0.1883,413.0,583.19
000001.SH,19920122,307.95,307.95,307.95,307.87,307.87,0.08,0.026,312.0,439.92
000001.SH,19920121,307.87,307.87,307.87,307.39,307.39,0.48,0.1562,534.0,650.501
000001.SH,19920120,307.39,307.38,307.39,307.38,307.38,0.01,0.0033,445.0,502.999
399001.SZ,20241112,11314.4586,11430.2208,11560.3548,11210.9546,11388.5668,-74.1082,-0.6507,1138974929.0,1511118660.2
399001.SZ,20241111,11388.5668,11087.4109,11390.479,11071.654,11161.7022,226.8646,2.0325,1121880893.0,1483392842.5
399001.SZ,20241108,11161.7022,11374.2005,11410.9798,11135.3285,11235.9208,-74.2186,-0.6605,1253432815.0,1573593148.9
399001.SZ,20241107,11235.9208,10852.1213,11235.9208,10839.9417,10968.142,267.7788,2.4414,1222513447.0,1456235718.2
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,19911230,953.42,967.87,970.5,947.3,965.55,-12.13,-1.2563,15104.0,20875.855
399001.SZ,19911227,944.38,930.97,946.0,925.94,930.27,14.11,1.5168,22182.0,30277.165
399001.SZ,19911226,930.27,958.18,959.11,921.71,959.07,-28.8,-3.0029,23948.0,31877.55
399001.SZ,19911225,959.07,962.46,992.55,950.12,962.97,-3.9,-0.405,29358.0,41415.92
000016.SH,20241112,2712.2651,2744.946,2778.8862,2701.6102,2753.7448,-41.4797,-1.5063,60114854.0,143127099.381
000016.SH,20241111,2753.7448,2736.8382,2754.9744,2711.7625,2765.5385,-11.7937,-0.4265,61338658.0,146466629.959
000016.SH,20241108,2765.5385,2825.9123,2833.07,2758.2136,2797.8602,-32.3217,-1.1552,67861757.0,167822297.611
000016.SH,20241107,2797.8602,2684.8126,2800.6123,2683.3174,2706.6145,91.2457,3.3712,67017244.0,154119319.357
Expand Down Expand Up @@ -21064,6 +21065,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,20241112,4085.743,4133.3528,4181.7096,4060.7936,4131.1312,-45.3882,-1.0987,297778086.0,660380524.821
000300.SH,20241111,4131.1312,4066.9336,4132.5111,4048.039,4104.047,27.0842,0.6599,289594227.0,625605935.91
000300.SH,20241108,4104.047,4192.0794,4200.908,4094.1631,4145.6952,-41.6482,-1.0046,332350385.0,688446559.772
000300.SH,20241107,4145.6952,3987.2665,4146.151,3984.6652,4024.2831,121.4121,3.017,341436414.0,658145920.948
Expand Down Expand Up @@ -25886,6 +25888,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,20241112,6263.883,6349.2295,6382.9784,6205.0988,6330.6152,-66.7322,-1.0541,332856919.0,452685440.809
000905.SH,20241111,6330.6152,6211.0328,6330.8046,6199.0563,6222.445,108.1702,1.7384,334096921.0,453328339.553
000905.SH,20241108,6222.445,6306.7986,6333.6792,6206.2949,6239.5598,-17.1148,-0.2743,385648347.0,470080201.609
000905.SH,20241107,6239.5598,6061.7349,6240.7574,6049.587,6125.7868,113.773,1.8573,418413323.0,465814955.829
Expand Down Expand Up @@ -30708,6 +30711,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,20241112,6491.9723,6593.822,6616.1571,6429.35,6579.0054,-87.0331,-1.3229,400715244.0,547396142.34
000852.SH,20241111,6579.0054,6416.1676,6580.5679,6412.5756,6423.1217,155.8837,2.4269,402436255.0,551137709.953
000852.SH,20241108,6423.1217,6470.0738,6526.6496,6400.0935,6403.9175,19.2042,0.2999,451796308.0,570702092.922
000852.SH,20241107,6403.9175,6238.6172,6403.9175,6229.4904,6293.1933,110.7242,1.7594,408571652.0,498495772.936
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,20241112,TS2412.CFX
TS.CFX,20241111,TS2412.CFX
TS.CFX,20241108,TS2412.CFX
TS.CFX,20241107,TS2412.CFX
Expand Down Expand Up @@ -1509,6 +1510,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241112,TF2412.CFX
TF.CFX,20241111,TF2412.CFX
TF.CFX,20241108,TF2412.CFX
TF.CFX,20241107,TF2412.CFX
Expand Down Expand Up @@ -3904,6 +3906,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241112,T2412.CFX
T.CFX,20241111,T2412.CFX
T.CFX,20241108,T2412.CFX
T.CFX,20241107,T2412.CFX
Expand Down Expand Up @@ -6250,6 +6253,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241112,T2412.CFX
TL.CFX,20241111,T2412.CFX
TL.CFX,20241108,T2412.CFX
TL.CFX,20241107,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 @@ -4678,4 +4678,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
2024-11-06,1.38,1.39,1.41,1.44,1.52,1.77,2.0,2.12,,,2.29,中债国债收益率曲线
2024-11-07,1.36,1.38,1.4,1.42,1.5,1.76,1.98,2.11,,,2.28,中债国债收益率曲线
2024-11-08,1.37,1.38,1.41,1.42,1.5,1.74,1.98,2.11,,,2.28,中债国债收益率曲线
2024-11-11,1.37,1.41,1.40,1.41,1.51,1.74,1.96,2.09,,,2.26,中债国债收益率曲线
2024-11-11,1.37,1.41,1.4,1.41,1.51,1.74,1.96,2.09,,,2.26,中债国债收益率曲线
2024-11-12,1.37,1.41,1.40,1.41,1.50,1.71,1.93,2.07,,,2.24,中债国债收益率曲线

0 comments on commit 6a0e2ff

Please sign in to comment.