I am using the coinbase 2.1.0 python api to pull prices. I have been able to pull BTC-USD prices but not ETH-BTC. My code is:

from coinbase.wallet.client import Client

api_key = "" api_secret = "" api_version = "2018-07-07" client = Client(api_key, api_secret) askBTC = client.get_buy_price(currency='USD', currency_pair = 'BTC-USD') eth = client.get_sell_price(currency='BTC', currency_pair = 'ETH')

The last line gives the error coinbase.wallet.error.NotFoundError: APIError(id=not_found): Not found


closed as off-topic by Badr Bellaj Jul 20 '18 at 18:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Customer support for a 3rd-party application/service is off-topic for Stack Exchange. Please contact them directly. https://meta.stackoverflow.com/questions/255745/why-were-not-customer-support-for-your-favorite-company" – Badr Bellaj
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.