Closed ghost closed 6 years ago
@chaica you've specified your currency_pair
parameter as currency_pay
. It'll default to currency_pair='BTC-USD'
in this case. Your request should instead be: client.get_buy_price(currency_pair='BTC-EUR')
However, this still won't work as of version 2.0.6. But, a fix was in f9ed2249865c2012e3b86106dad5f8c6068366ed I'd expect this in the next release.
Note: bugfix mentioned here: https://github.com/coinbase/coinbase-python/issues/32
This default behavior of returning a USD/BTC or EUR/BTC rate is dangerous. Why is an error not returned instead?
Hi,
When the next release fixing this issue is planned ? Style no patch since 16/08/01
result is:
Regards, Carl Chenet