数据来源:
https://quote.eastmoney.com/center/gridlist.html#hs_a_board
代码:
import akshare as ak
import pandas as pd
pd.set_option('display.max_columns', None)
pd.set_option('display.max_rows', None)
pd.set_option('display.width', 1000)stock_zh_a_spot_em = ak.stock_zh_a_spot_em()
print(stock_zh_a_spot_em)
输出:
5587 5588 600381 青海春天 5.84 -4.89 -0.30 660149.0 3.838004e+08 3.42 5.93 5.72 5.79 6.14 1.87 11.24 -36.56 2.34 3.428435e+09 3.428435e+09 -0.51 -0.51 -24.74 -24.45
5588 5589 000620 *ST新联 1.75 -4.89 -0.09 527479.0 9.284826e+07 2.72 1.80 1.75 1.79 1.84 2.10 1.27 -4.38 0.61 1.027568e+10 7.253835e+09 0.00 0.00 0.00 -7.41
5589 5590 301157 华塑科技 38.67 -4.89 -1.99 27013.0 1.044009e+08 4.97 39.97 37.95 39.05 40.66 0.86 13.08 89.31 2.23 2.320200e+09 7.989243e+08 0.00 -0.05 -8.58 -9.65
5590 5591 600306 *ST商城 5.22 -4.92 -0.27 53870.0 2.831488e+07 3.64 5.42 5.22 5.33 5.49 0.45 1.44 -4.64 2.49 2.236319e+09 1.953905e+09 0.00 0.00 -34.99 -47.27
5591 5592 430556 雅达股份 5.92 -4.98 -0.31 97297.0 5.830731e+07 7.06 6.28 5.84 6.15 6.23 0.60 12.29 24.93 1.78 9.549860e+08 4.688158e+08 0.00 0.17 -8.78 -8.92
5592 5593 600117 *ST西钢 3.04 -5.00 -0.16 43704.0 1.328602e+07 0.00 3.04 3.04 3.04 3.20 0.43 0.13 5.87 1.84 9.895549e+09 9.895549e+09 0.00 0.00 4.11 -8.71
5593 5594 603007 ST花王 5.49 -5.02 -0.29 192464.0 1.069057e+08 4.50 5.75 5.49 5.71 5.78 1.62 4.73 -48.78 7.28 2.233590e+09 2.233590e+09 0.00 0.00 13.90 0.37
5594 5595 002586 *ST围海 3.02 -5.03 -0.16 228631.0 6.933814e+07 1.89 3.08 3.02 3.02 3.18 6.53 2.55 -29.77 0.93 3.455556e+09 2.708814e+09 -0.33 -0.66 -8.21 -18.16
5595 5596 688326 经纬恒润-W 79.03 -5.15 -4.29 32038.0 2.540330e+08 5.96 83.00 78.03 81.97 83.32 1.84 4.07 -43.34 1.91 9.483600e+09 6.222059e+09 0.09 0.25 -34.25 -31.90
5596 5597 688695 中创股份 42.15 -5.22 -2.32 53722.0 2.291752e+08 4.72 44.22 42.12 44.16 44.47 0.72 29.87 53.78 4.52 3.584916e+09 7.580705e+08 0.00 -0.35 87.92 87.92
5597 5598 301041 金百泽 27.25 -5.32 -1.53 142841.0 3.894344e+08 4.86 27.90 26.50 26.60 28.78 1.05 23.20 80.74 4.44 2.907030e+09 1.677556e+09 0.00 0.55 3.61 0.85
5598 5599 837212 智新电子 10.05 -8.55 -0.94 116362.0 1.201915e+08 9.92 11.09 10.00 10.49 10.99 2.83 22.30 58.75 2.65 1.066305e+09 5.243738e+08 0.20 -0.59 7.37 -23.52
5599 5600 301246 宏源药业 20.02 -10.55 -2.36 243723.0 4.790901e+08 5.76 20.20 18.91 19.00 22.38 22.61 16.41 62.37 1.83 8.008136e+09 2.972999e+09 0.05 0.10 -22.40 -22.94