ystockquote icon indicating copy to clipboard operation
ystockquote copied to clipboard

Pip install not compatible with master (examples don't work when installed with pip)

Open daniel-levin opened this issue 11 years ago • 1 comments

Hi there,

I installed ystockquote with pip and tried running:

>>> import ystockquote
>>> print(ystockquote.get_price_book('GOOG'))

but it doesn't work, instead printing:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'get_price_book'

However, after I cloned and installed the master branch, the examples started working. This suggests that pip's version of ystockquote is not the same as master.

daniel-levin avatar Oct 24 '13 20:10 daniel-levin

Agreed. Using pip install yields a much older version of the API.

pglomski avatar Jan 15 '14 17:01 pglomski