From f44e6eea2f8dde24b355a2d0c7335f3c472aeb2f Mon Sep 17 00:00:00 2001 From: Daniel Cook Date: Tue, 16 Oct 2018 08:58:32 +0100 Subject: [PATCH] Fix dividends return --- iex/stocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iex/stocks.py b/iex/stocks.py index 1a2dc5a..4ad5d8c 100644 --- a/iex/stocks.py +++ b/iex/stocks.py @@ -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)