ccxt wavesexchange fetchBalance() not working
See original GitHub issueHi, Currently, I have tried to check wallet balance and to get market data throughout both ccxt and client library functions that are the client.fetch balance(params={“currency”: “BTC”}) and balances = waves_exchange.fetch_free_balance()
I have also updated the pip version
But again and again, I am getting this exception of please help me… Thanks in advance!
OS: Windows 10 Pro Programming Language version: python 3.8.5 CCXT version: 1.37.70 pip v== 21.0.1
Code:
import ccxt #print(dir(ccxt.wavesexchange)) #print(ccxt.exchanges) waves_exchange = ccxt.wavesexchange({ 'apiKey': 'Public_key', 'secret': 'Private_key', 'enableRateLimit': True, }) waves_exchange.load_markets() waves_exchange.verbose = True balances = waves_exchange.fetch_free_balance(params={"currency": "BTC"}) print(balances)
Output:
ccxt.base.errors.Authentication Error: Waves-exchange API-key must be a base58 encoded public key.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
The apiKey should be the public key from the settings page:
It should look like this
should be fixed in the current version of ccxt