Skip to content

Commit

Permalink
Fix dividends return
Browse files Browse the repository at this point in the history
  • Loading branch information
danielecook committed Oct 16, 2018
1 parent 0be652c commit f44e6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iex/stocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def dividends(self, range='1m'):
'DIVIDEND_RANGES' has possible values in addition to a date.
"""
validate_range_set(range, RANGES)
return self._get(f"chart/{range}")
return self._get(f"dividends/{range}")

def dividends_table(self, range='1m'):
dividends_data = self.dividends(range)
Expand Down

0 comments on commit f44e6ee

Please sign in to comment.