Skip to content

Commit

Permalink
Fix ex-dividend and pay date mapping
Browse files Browse the repository at this point in the history
The dividend pay date was returned as the ex-dividend date. Map the
dividend pay date to the correct code, and add the code for the
ex-dividend date.

Thanks to Matias Andina for the report!

Fixes #287.
  • Loading branch information
joshuaulrich committed Nov 19, 2019
1 parent 59607ff commit 33d0dd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/getQuote.R
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ matrix(c(
#"Short Ratio", "Short Ratio", "s7",

# dividends / splits
"Ex-Dividend Date", "Ex-Dividend Date", "dividendDate",
#"Dividend Pay Date", "Dividend Pay Date", "r1",
"Ex-Dividend Date", "Ex-Dividend Date", "exDividendDate",
"Dividend Pay Date", "Dividend Pay Date", "dividendDate",
"Dividend/Share", "Dividend/Share", "trailingAnnualDividendRate",
"Dividend Yield", "Dividend Yield", "trailingAnnualDividendYield",

Expand Down

0 comments on commit 33d0dd0

Please sign in to comment.