Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

internationalSymbols() doesn't work on exchange #71

Closed
martin-niklasson opened this issue Jul 7, 2019 · 0 comments
Closed

internationalSymbols() doesn't work on exchange #71

martin-niklasson opened this issue Jul 7, 2019 · 0 comments

Comments

@martin-niklasson
Copy link

How to reproduce:

In [1]: import pyEX
In [2]: client = pyEX.client.Client()
In [3]: client.internationalSymbols(exchange='LON')
[...]
PyEXception: ('Response 404 - ', 'Not Found')

There is an incorrect endpoint in refdata.py, Line 314
return _getJson('ref-data/exchange/{exchange}/exchange'.format(exchange=exchange), token, version, filter)
should be
return _getJson('ref-data/exchange/{exchange}/symbols'.format(exchange=exchange), token, version, filter)

timkpaine added a commit that referenced this issue Jul 8, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Development

No branches or pull requests

1 participant