drinfernoo / homeassistant-binance

Home Assistant integration for retrieving account balances and exchange rates from Binance
Apache License 2.0
14 stars 5 forks source link

Native Balance always zero #6

Open konradwalsh opened 3 years ago

konradwalsh commented 3 years ago

I have tried with native currency commented out too as you can see This affects any coin but this example is DOGE

Native balance None USD Free *** DOGE Locked 0.00000000 DOGE


  name: My Binance
  domain: com
  #native_currency: USD
  api_key: ***
  api_secret: ///**
  balances:
    - EUR
    - DOGE
    - ZIL
    - USD
  exchanges:
    # - ZILBUSD
    # - ZILUSDT
Cattivellio commented 3 years ago

yes this happens to me also

martijnaikema commented 3 years ago

The attribute native balance is removed from the Binance API: https://developers.binance.com/docs/api/apis#api-4-get-user-asset-balance

In stead we should be able to use:

aotearoait commented 3 years ago

Having this issue too. Great addon through @drinfernoo

Cattivellio commented 2 years ago

The attribute native balance is removed from the Binance API: https://developers.binance.com/docs/api/apis#api-4-get-user-asset-balance

In stead we should be able to use:

  • btcValuation
  • fiatValuation

And can you please tell us how to implement this, if possible? thanks for helping!