Severe Kraken API issue makes it flaky

(Last Updated On: October 17, 2019)
Learn the Secret

Get  our 2 Free Books

Get these now which land directly to their inbox.
Invalid email address

It seems this exception is very common on Kraken. It works once minute and next day, it throws this. It seems quite a problem as according to these problems since the Kraken API and exchange are flaky on response time. Should this exchange be trusted on the exchange level?

One solution is to generate new API key. No script can keep doing that dynamically. Here are the exceptions

 File "", line 58, in <module>
    kraken.create_order('BCH/BTC', 'market', 'sell', 0.000002, None)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ccxt/", line 801, in create_order
    response = self.privatePostAddOrder(self.extend(order, params))
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ccxt/base/", line 404, in inner
    return entry(_self, **inner_kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ccxt/base/", line 433, in request
    return self.fetch2(path, api, method, params, headers, body)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ccxt/base/", line 429, in fetch2
    return self.fetch(request['url'], request['method'], request['headers'], request['body'])
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ccxt/base/", line 532, in fetch
    self.handle_errors(response.status_code, response.reason, url, method, headers, http_response, json_response)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ccxt/", line 1302, in handle_errors
    raise InvalidNonce( + ' ' + body)
ccxt.base.errors.InvalidNonce: kraken {"error":["EAPI:Invalid nonce"]}

If it is like this with Kraken flakiness, should I just go back to the Binance non USA exchange. I had no problems there. Let me know what you think.

If i switch back to an exchange Americans have no access to, they can stick with Binance USA, Coinbase, , and many others supported by ccxt. I have tested with a new API key which works with Binance Asia. Now I need to analyze what are the best coin pairs to use for testing at a minimum cost.

Also note this on the above links for ccxt developer:

Lags are well-known, those are on Kraken side. Most users report the same (not only ccxt users, but most of Kraken users).

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
This entry was posted in Bitcoin Crypto Currency, Quant Development on by .

About caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at