ystockquote
ystockquote copied to clipboard
Pip install not compatible with master (examples don't work when installed with pip)
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.
Agreed. Using pip install yields a much older version of the API.