You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The alpha vantage documentation says that for currency exchanges both can be a crypto. However, I get an error when market is crypto: data, meta_data = cc.get_digital_currency_daily(symbol='BTC', market='ETH')
/usr/local/lib/python3.6/dist-packages/alpha_vantage/alphavantage.py in _handle_api_call(self, url)
335 'Error getting data from the api, no return was given.')
336 elif "Error Message" in json_response:
--> 337 raise ValueError(json_response["Error Message"])
338 elif "Information" in json_response and self.treat_info_as_error:
339 raise ValueError(json_response["Information"])
ValueError: Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for DIGITAL_CURRENCY_DAILY.
The function of your choice. In this case, function=CURRENCY_EXCHANGE_RATE
❚ Required: from_currency
The currency you would like to get the exchange rate for. It can either be a physical currency or digital/crypto currency. For example: from_currency=USD or from_currency=BTC
The text was updated successfully, but these errors were encountered:
The alpha vantage documentation says that for currency exchanges both can be a crypto. However, I get an error when market is crypto:
data, meta_data = cc.get_digital_currency_daily(symbol='BTC', market='ETH')
Documentation from https://www.alphavantage.co/documentation/:
❚ Required: function
The function of your choice. In this case, function=CURRENCY_EXCHANGE_RATE
❚ Required: from_currency
The currency you would like to get the exchange rate for. It can either be a physical currency or digital/crypto currency. For example: from_currency=USD or from_currency=BTC
The text was updated successfully, but these errors were encountered: