Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exchange param in search_assets has unexpected behaviour #37

Open
alvarobartt opened this issue Oct 14, 2022 Discussed in #33 · 1 comment
Open

exchange param in search_assets has unexpected behaviour #37

alvarobartt opened this issue Oct 14, 2022 Discussed in #33 · 1 comment
Assignees
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@alvarobartt
Copy link
Owner

Discussed in #33

Originally posted by longlie1109 October 12, 2022
Is there a way to get the "exchange" in search_assets function ?
NASDAQ works fine but other market isn't work out for me

So as the discussion says, it seems that the results provided by search_assets contain a field named exchange which doesn't seem to be matching the actual filter for the search, which means that if the results contain e.g. exchange="RANDOM_EXCHANGE", if you use that filter in a next call to search_assets using the exchange param, it won't work, as the printed exchange is not the same one as the one used by the filter, even though those refer to the same.

Note that something similar happens with the type parameter, which was already solved at 8cf3e0e

@alvarobartt alvarobartt added bug Something isn't working invalid This doesn't seem right labels Oct 14, 2022
@alvarobartt alvarobartt self-assigned this Oct 14, 2022
@alvarobartt
Copy link
Owner Author

Related to #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant