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 13, 2024
1 parent 6a0e2ff commit d1c2d2c
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,20241113,3439.2778,3406.9164,3442.2983,3404.5254,3421.9701,17.3077,0.5058,673662348.0,829435317.0
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
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,19920124,309.05,309.05,309.05,308.53,308.53,0.52,0.1685,722.0,1004.033
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
399001.SZ,20241113,11359.2889,11231.7273,11380.4959,11143.3368,11314.4586,44.8303,0.3962,911863787.0,1179810560.6
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
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,19911231,963.57,953.23,966.92,950.31,953.42,10.15,1.0646,10940.0,14585.62
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
000016.SH,20241113,2728.2286,2697.1864,2737.5042,2696.6886,2712.2651,15.9635,0.5886,62644077.0,119899020.459
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
Expand Down Expand Up @@ -21065,6 +21066,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,20241113,4110.8901,4059.5898,4121.0735,4059.5898,4085.743,25.1471,0.6155,240484099.0,512734303.119
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
Expand Down Expand Up @@ -25888,6 +25890,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,20241113,6259.8412,6234.1577,6282.2777,6162.8979,6263.883,-4.0418,-0.0645,260400673.0,347812976.327
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
Expand Down Expand Up @@ -30711,6 +30714,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,20241113,6474.3941,6453.864,6512.5971,6357.5563,6491.9723,-17.5782,-0.2708,317485928.0,420386937.349
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
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,20241113,TS2412.CFX
TS.CFX,20241112,TS2412.CFX
TS.CFX,20241111,TS2412.CFX
TS.CFX,20241108,TS2412.CFX
Expand Down Expand Up @@ -1510,6 +1511,7 @@ TS.CFX,20180822,TS1812.CFX
TS.CFX,20180821,TS1812.CFX
TS.CFX,20180820,TS1812.CFX
TS.CFX,20180817,TS1812.CFX
TF.CFX,20241113,TF2412.CFX
TF.CFX,20241112,TF2412.CFX
TF.CFX,20241111,TF2412.CFX
TF.CFX,20241108,TF2412.CFX
Expand Down Expand Up @@ -3906,6 +3908,7 @@ TF.CFX,20150108,TF1503.CFX
TF.CFX,20150107,TF1503.CFX
TF.CFX,20150106,TF1503.CFX
TF.CFX,20150105,TF1503.CFX
T.CFX,20241113,T2412.CFX
T.CFX,20241112,T2412.CFX
T.CFX,20241111,T2412.CFX
T.CFX,20241108,T2412.CFX
Expand Down Expand Up @@ -6253,6 +6256,7 @@ T.CFX,20150325,T1509.CFX
T.CFX,20150324,T1509.CFX
T.CFX,20150323,T1509.CFX
T.CFX,20150320,T1509.CFX
TL.CFX,20241113,T2412.CFX
TL.CFX,20241112,T2412.CFX
TL.CFX,20241111,T2412.CFX
TL.CFX,20241108,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 @@ -4679,4 +4679,5 @@ workTime,threeMonth,sixMonth,oneYear,twoYear,threeYear,fiveYear,sevenYear,tenYea
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.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,中债国债收益率曲线
2024-11-12,1.37,1.41,1.4,1.41,1.5,1.71,1.93,2.07,,,2.24,中债国债收益率曲线
2024-11-13,1.36,1.39,1.40,1.42,1.50,1.72,1.95,2.09,,,2.26,中债国债收益率曲线

0 comments on commit d1c2d2c

Please sign in to comment.