Coinbase Python API - 无法更改货币(EUR / LTC)

时间:2017-09-16 12:56:01

标签: python coinbase-api

我可能错过了一些非常愚蠢的东西,但我在更改client.get_exchange_rates()和get_spot_price()方法中的货币时遇到了麻烦

如此处所定义, https://developers.coinbase.com/api/v2?python#exchange-rates

应该如此简单:

rates_BTC = client.get_exchange_rates(currency='BTC')
print(rates_BTC)

但它总是以美元返回

{
  "currency": "USD",
  "rates": {
    "AED": "3.67",
    "AFN": "68.66",
    "ALL": "111.94",
...

我错过了什么?

0 个答案:

没有答案