Search code examples
yahoo-financegoogle-finance

stocks splitting api google or yahoo


I am looking for a way to get stock splitting information. Using the yahoo stock API I can get all types of info on any symbol but I don't think I can get the split ratio or even whether it split. Does anyone know of a way of getting this info?


Solution

  • This is how the quantmod R package does it. The split information is in the "Dividend Only" CSV:
    http://ichart.finance.yahoo.com/x?s=IBM&a=00&b=2&c=1962&d=04&e=25&f=2011&g=v&y=0&z=30000