question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ccxt wavesexchange fetchBalance() not working

See original GitHub issue

Hi, 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:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
frosty00commented, Feb 26, 2021

The apiKey should be the public key from the settings page:

It should look like this

import ccxt

waves = ccxt.wavesexchange({
    "apiKey": "AXXn8nBX4XfLQF7hLqiSm12kxvehjizBXW1TanxSZ1gF",
    "secret": "21Q9Uxmq1mrrzY6bxmGfXbx9h35JxBv91xd5axhWksxP"
})

print(waves.fetch_balance())

Screenshot 2021-02-26 at 13 43 01

0reactions
frosty00commented, Nov 7, 2021

should be fixed in the current version of ccxt

Read more comments on GitHub >

github_iconTop Results From Across the Web

CCXT for WX.Network - Waves.Exchange
CCXT (CryptoCurrency eXchange Trading) is a JavaScript/Python/PHP library for ... (trading pairs) and currencies by calling the loadMarkets() method.
Read more >
ccxt - npm
A JavaScript / Python / PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.
Read more >
teatien-ccxt - CryptoCurrency eXchange Trading Library - PyPI
id name ver doc acx ACX 2 API anxpro ANXPro * API aofex AOFEX * API
Read more >
ccxt/README.md - UNPKG
The CDN for ccxt. ... Exchange](https://waves.exchange) ... make sure it is [not excluded](https://github.com/ccxt/ccxt/issues/225#issuecomment-331905178) ...
Read more >
Error Messages, by Exakat
Message File Line $this‑>id . ' allows limit orders only' /php/itbit.php 566 $this‑>id . ' returned ' . $this‑>json($response) /php/cex.php 1234 /php/cex.php 581
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found