Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
The example in readme cannot work now, have to use 'GOOGL' after the split in January. GOOG only stands for C share, and yahoo.com does not have historical information of 'GOOG' anymore, use 'GOOGL' instead.

still other queries for 'GOOG' works NOW.(but only till June 20,2014 I believe, then NASDAQ-100 will remove 'GOOG' and use 'GOOGL' after then)
  • Loading branch information
GaZ3ll3 committed Jun 11, 2014
1 parent dfe6e04 commit e7e1d71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -42,17 +42,17 @@ Example Usage
.. code:: python
>>> import ystockquote
>>> print(ystockquote.get_price_book('GOOG'))
>>> print(ystockquote.get_price_book('GOOGL'))
'51.18'
>>> print(ystockquote.get_bid_realtime('GOOG'))
>>> print(ystockquote.get_bid_realtime('GOOGL'))
'904.77'
>>>
.. code:: python
>>> import ystockquote
>>> from pprint import pprint
>>> pprint(ystockquote.get_historical_prices('GOOG', '2013-01-03', '2013-01-08'))
>>> pprint(ystockquote.get_historical_prices('GOOGL', '2013-01-03', '2013-01-08'))
{'2013-01-03': {'Adj Close': '723.67',
'Close': '723.67',
'High': '731.93',
Expand Down

0 comments on commit e7e1d71

Please sign in to comment.