Skip to content

Commit

Permalink
Update fetch.py
Browse files Browse the repository at this point in the history
Corrected spelling of dividends method
  • Loading branch information
AndrewRPorter authored Dec 17, 2017
1 parent ca8f3f6 commit 38d18c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yahoo_historical/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def getHistorical(self, events='history'):
"""Returns a list of historical price data from Yahoo Finance"""
return self.getData('history')

def getDividents(self):
"""Returns a list of historical dividents data from Yahoo Finance"""
def getDividends(self):
"""Returns a list of historical dividends data from Yahoo Finance"""
return self.getData('div')

def getSplits(self):
Expand Down

0 comments on commit 38d18c2

Please sign in to comment.