雅虎财经的股息历史
Dividend history from Yahoo finance
有没有方便的方法从雅虎财经获取指定公司的股息历史记录API?比如历史数据可以通过以下link获取,条件可变
https://query1.finance.yahoo.com/v7/finance/download/code_name?period1=from&period2=to&interval=1d&events=history
满足这些条件后,看起来像:
给出的数据为 Date Open High Low Close AdjClose Volume
。我想得到的就是这个,不过是为了分红。 IE。 Date Amount
在指定时间段内。
您可以使用 R 轻松获取股息信息。
如果您想要来自 Yahoo 的信息,请使用 quantmod
库。要使用的函数是getDividends("CBA.AX")
library(quantmod)
getDividends("CBA.AX")
您可以使用此查询获取过去的股息,例如 Apple
要获取 csv 文件,请将其用于 Apple
以 Apple 为例再次尝试去年的股息
有没有方便的方法从雅虎财经获取指定公司的股息历史记录API?比如历史数据可以通过以下link获取,条件可变
https://query1.finance.yahoo.com/v7/finance/download/code_name?period1=from&period2=to&interval=1d&events=history
满足这些条件后,看起来像:
给出的数据为 Date Open High Low Close AdjClose Volume
。我想得到的就是这个,不过是为了分红。 IE。 Date Amount
在指定时间段内。
您可以使用 R 轻松获取股息信息。
如果您想要来自 Yahoo 的信息,请使用 quantmod
库。要使用的函数是getDividends("CBA.AX")
library(quantmod)
getDividends("CBA.AX")
您可以使用此查询获取过去的股息,例如 Apple
要获取 csv 文件,请将其用于 Apple
以 Apple 为例再次尝试去年的股息