Freqtrade: Kraken: EUR zero balance, BTC unknown format

Created on 4 Sep 2019  路  4Comments  路  Source: freqtrade/freqtrade

Step 1: Have you search for this issue before posting it?

Yes, I am done my research. I found what I believe was a similar issue that was resolved but has not resurfaced --> #1840

Step 2: Describe your environment

  • Operating system: Ubuntu 19.04
  • Python Version: Python 3.7.3
  • CCXT version: ccxt==1.18.1085
  • Branch: Master
  • Last Commit ID: a7e45c5a732c60e2815bfd7bd3f2cb4cb24faf56

Step 3: Describe the problem:

I am wanting to use Kraken as my exchange. when using BTC I receive the below error:

*File "/home/sgarc90/freqtrade/freqtrade/rpc/telegram.py", line 52, in wrapper
return command_handler(self, *args, *
kwargs)
File "/home/sgarc90/freqtrade/freqtrade/rpc/telegram.py", line 336, in _balance

"\tEst. BTC: {est_btc: .8f}\n".format(currency)

When I change to EUR. a zero balance is returned.

WARNING - Unable to create trade: Available balance(0 EUR) is lower than stake amount(19 EUR)
Explain the problem you have encountered

Steps to reproduce:

once you start up freqtrade using Kraken. from within telegram send the balance button and watch the screen is a short time the telegram request will error out.

I just happened to see the EUR error appear on the screen when freqtrade tried to place an order

Bug CCXT

Most helpful comment

according to the answer from ccxt, the API does not return free balance - so ccxt can't either (which is understandable).

However, without knowing free balance, we cannot trade kraken - so i've added Kraken to the list of disabled exchanges for now (until we have a workaround for this ...).

All 4 comments

The problem here is the return from ccxt - which does only contain "total" - but not "available", nor "free" per pair.

i know this worked before since I tested kraken in the past.

Maybe it's simply a bug in ccxt, or the exchange did change how / what they return.

In the latter case, this will land kraken on the blocked list, since freqtrade cannot operate if it does not know how much free balance is available.

Related ccxt issue: https://github.com/ccxt/ccxt/issues/5776

according to the answer from ccxt, the API does not return free balance - so ccxt can't either (which is understandable).

However, without knowing free balance, we cannot trade kraken - so i've added Kraken to the list of disabled exchanges for now (until we have a workaround for this ...).

Yeah, I've seen that issue in ccxt repo...

Thank you, all, for running this down so quickly. Unless there are objections, I am going to consider this matter closed and close this thread.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cgw-9527 picture cgw-9527  路  3Comments

issamBD picture issamBD  路  4Comments

Andi1990 picture Andi1990  路  4Comments

konstantin-doncov picture konstantin-doncov  路  4Comments

King-Techno picture King-Techno  路  3Comments