Skip to content

Commit

Permalink
Fixed issue with input interval in Fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRPorter committed Jul 20, 2017
1 parent bb43805 commit 89e7c9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ Usage
optional arguments:
end End day in form [Year,Month,Day]
interval Interval for EOD prices, valid intervals: 1d, 1wk, 1mo
Usage Examples:

.. code::
>>>from yahoo_historical import Fetcher
>>>data = Fetcher("AAPL", [2007,1,1], [2017,1,1], interval="1d")
>>>data = Fetcher("AAPL", [2007,1,1], [2017,1,1])
>>>print(data.getHistorical())
Date Open High Low Close Adj Close Volume
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
setup(
name='yahoo_historical',
packages=['yahoo_historical'],
version='0.1.3',
version='0.1.4',
description='Fetches historical EOD (end of day) prices from yahoo finance',
author='Andrew Porter',
author_email='[email protected]',
Expand Down

0 comments on commit 89e7c9b

Please sign in to comment.