Skip to content

Market does not exist for this coin pair #12

@dCosminn

Description

@dCosminn

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': []}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions