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

Market does not exist for this coin pair #12

Open
dCosminn opened this issue Oct 18, 2018 · 0 comments · May be fixed by #13
Open

Market does not exist for this coin pair #12

dCosminn opened this issue Oct 18, 2018 · 0 comments · May be fixed by #13

Comments

@dCosminn
Copy link

When trying to get the data for two currencies, if one is not available will return a error:
Shouldn't at least return one out of two? Like on Binance there isn't a (ETH-USD) but there is (ETH-BTC) and would be nice if it would return that.

Example:

currency = ["BTC", "USD"]
data = price.get_current_price("ETH", currency, e="Binance", full=True, format="Display")
print(data)

{'Response': 'Error', 'Message': 'Binance market does not exist for this coin pair (ETH-USD)', 'Type': 1, 'Aggregated': False, 'Data': []}

@rpesche rpesche linked a pull request May 16, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant