PDF下载 下载

分红派息

阅读 2150

目前,掘金量化支持查询A股上市公司从上市以来的分红派息情况。

 

Python 数据接口

1.get_dividend - 查询分红送配

示例

获取“SHSE.600000”在2000-01-01 — 2017-12-31分红情况:

  1. get_dividend(symbol='SHSE.600000',start_date='2000-01-01', end_date='2017-12-31', df=True)

返回结果:

  1. symbol cash_div share_div_ratio ... allotment_ratio allotment_price created_at
  2. 0 SHSE.600000 0.150 0.0 ... 0.0 0.0 2000-07-06 00:00:00+08:00
  3. 1 SHSE.600000 0.200 0.0 ... 0.0 0.0 2002-08-22 00:00:00+08:00
  4. 2 SHSE.600000 0.100 0.0 ... 0.0 0.0 2003-06-23 00:00:00+08:00
  5. 3 SHSE.600000 0.110 0.0 ... 0.0 0.0 2004-05-20 00:00:00+08:00
  6. 4 SHSE.600000 0.120 0.0 ... 0.0 0.0 2005-05-12 00:00:00+08:00
  7. 5 SHSE.600000 0.130 0.0 ... 0.0 0.0 2006-05-25 00:00:00+08:00
  8. 6 SHSE.600000 0.150 0.0 ... 0.0 0.0 2007-07-18 00:00:00+08:00
  9. 7 SHSE.600000 0.160 0.3 ... 0.0 0.0 2008-04-24 00:00:00+08:00
  10. 8 SHSE.600000 0.230 0.4 ... 0.0 0.0 2009-06-09 00:00:00+08:00
  11. 9 SHSE.600000 0.150 0.3 ... 0.0 0.0 2010-06-10 00:00:00+08:00
  12. 10 SHSE.600000 0.160 0.3 ... 0.0 0.0 2011-06-03 00:00:00+08:00
  13. 11 SHSE.600000 0.300 0.0 ... 0.0 0.0 2012-06-26 00:00:00+08:00
  14. 12 SHSE.600000 0.550 0.0 ... 0.0 0.0 2013-06-03 00:00:00+08:00
  15. 13 SHSE.600000 0.660 0.0 ... 0.0 0.0 2014-06-24 00:00:00+08:00
  16. 14 SHSE.600000 0.757 0.0 ... 0.0 0.0 2015-06-23 00:00:00+08:00
  17. 15 SHSE.600000 0.515 0.0 ... 0.0 0.0 2016-06-23 00:00:00+08:00
  18. 16 SHSE.600000 0.200 0.0 ... 0.0 0.0 2017-05-25 00:00:00+08:00
0 篇笔记