更多精彩内容详见个人量化交易专辑索引
数据示例:
code | date | main_inflow | small_inflow | middle_inflow | big_inflow | huge_inflow | main_inflow_rate | small_inflow_rate | middle_inflow_rate | big_inflow_rate | huge_inflow_rate |
7 | 2022/12/30 | 612096 | -1881600 | 1269500 | 612096 | 0 | 3.16 | -9.72 | 6.56 | 3.16 | 0 |
23 | 2022/12/30 | -8663160 | 5226930 | 3436230 | -5209730 | -3453430 | -12.17 | 7.34 | 4.83 | -7.32 | -4.85 |
38 | 2022/12/1 | -6877640 | 4969530 | 1908110 | -4744840 | -2132800 | -22.99 | 16.61 | 6.38 | -15.86 | -7.13 |
38 | 2022/12/2 | -612662 | -332640 | 945302 | -810617 | 197955 | -2.21 | -1.2 | 3.41 | -2.92 | 0.71 |
38 | 2022/12/5 | 578287 | -327405 | -250882 | 1671450 | -1093160 | 2.37 | -1.34 | -1.03 | 6.86 | -4.49 |
38 | 2022/12/6 | 3026280 | 1383300 | -4409570 | 1968350 | 1057930 | 7.44 | 3.4 | -10.84 | 4.84 | 2.6 |
38 | 2022/12/7 | -3923480 | 3559450 | 364036 | -2661910 | -1261580 | -13.2 | 11.97 | 1.22 | -8.95 | -4.24 |
38 | 2022/12/8 | -2290880 | 2057580 | 233305 | -2290880 | 0 | -9.24 | 8.3 | 0.94 | -9.24 | 0 |
38 | 2022/12/9 | -4011960 | 1997000 | 2014960 | -4011960 | 0 | -14.98 | 7.45 | 7.52 | -14.98 | 0 |
38 | 2022/12/12 | -142554 | -86705 | 229259 | -142554 | 0 | -0.94 | -0.57 | 1.5 | -0.94 | 0 |
38 | 2022/12/13 | 864133 | -535728 | -328405 | 864133 | 0 | 5.32 | -3.3 | -2.02 | 5.32 | 0 |
代码示例:
import akshare as ak
df = ak.stock_individual_fund_flow(stock="600094", market="sh")
df.to_csv('data.csv', header=True, index=False)
更多历史数据下载: