Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
slawek87 committed Dec 26, 2014
1 parent cfdfbce commit a7e4265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yql/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class YQL(object):
"""yql-finance is simple and fast https://developer.yahoo.com/yql/console/ python API.
API returns fetched stock closing prices for current period of time and current stock ticker/symbol (i.e. APPL, GOOGL).
You can use it to fetch data one of two ways::
You can use it to fetch data in one of two ways::
- yql = YQL('AAPL', '2011-01-01', '2014-12-31')
or
- yql = YQL()
Expand Down Expand Up @@ -96,4 +96,4 @@ def clean(self, data):
date = datetime.datetime.strptime(item['Date'], '%Y-%m-%d').date()
cleaned_data.append(dict(price=item['Adj_Close'], date=date))

return cleaned_data
return cleaned_data

0 comments on commit a7e4265

Please sign in to comment.