Username: Password:

Author Topic: Error: Kraken API returned error: API:Invalid nonce (Patch Fixes #2021 - v3.2 )  (Read 21522 times)

Offline hardis1729

  • Rookie
  • *
  • Posts: 22
  • Russian - native language
    • View Profile

Offline hardis1729

  • Rookie
  • *
  • Posts: 22
  • Russian - native language
    • View Profile
some thing new



and after all this mistakes it continues to show process like a normal:



Offline hardis1729

  • Rookie
  • *
  • Posts: 22
  • Russian - native language
    • View Profile

Offline cw

  • Rookie
  • *
  • Banned!
  • Posts: 57
    • View Profile
    • Gunbot University
I just started my Kraken bot.  I'm running 11 pairs.  With a sleep delay of 30/35 (randomized), I hit an API rate limit after a while. ALo get a few invalid nonce. I raised the delay to 60/65 and stopped getting the API rate limit but get both the socket timed out and the invalid nonce.

Code: [Select]
++2017/05/18 01:41:42 Error: Kraken API returned error: API:Invalid nonce

Code: [Select]
[ --2017/05/18 01:39:25--kraken--BTC_DASH  --  Gunbot v3.2 cycle #4 --------------- ]
::::: collecting market data...
++2017/05/18 01:39:31 Error: Error in server response: {"code":"ESOCKETTIMEDOUT","connect":false}
!!! Cycle 5 failed. Will repeat in 77.5974041783731s

Code: [Select]

[ --2017/05/18 01:39:55--kraken--BTC_REP  --  Gunbot v3.2 cycle #4 --------------- ]
::::: collecting market data...
+++2017/05/18 01:40:01 Error: Error: Kraken API returned error: API:Invalid nonce
!!! Cycle 5 failed. Will repeat in 83.44198344883314s
[ --2017/05/18 01:41:24--kraken--BTC_REP  --  Gunbot v3.2 cycle #5 --------------- ]
::::: collecting market data...
++++
LP 0.008461  Bal.XXBT 0.4995  Bal.XREP 0
No open orders
boughtPrice undefined
price  grows (1)
PriceToBuy 81.3345 priceToSell --not set--
LP 84.6100000 > prBuy 81.3345000  secMargin 0.000813345  grows yes
no altcoins: 0
price to buy: 0.00813345
last price is too high
Gunbot callback at 2017/05/18 01:41:29 cycle # 5
Callback:
---------
price too high
need faster: no
need slower: no

next delay will be 59.90952002802223s

[ --2017/05/18 01:42:28--kraken--BTC_REP  --  Gunbot v3.2 cycle #6 --------------- ]
::::: collecting market data...
+++2017/05/18 01:42:37 Error: Error: Kraken API returned error: API:Invalid nonce
!!! Cycle 7 failed. Will repeat in 83.44198344883314s

And then here is a string of nonce, then working, then nonce, then rate limit exceeded

[code]
[ --2017/05/18 01:39:25--kraken--BTC_XLM  --  Gunbot v3.2 cycle #4 --------------- ]
::::: collecting market data...
++2017/05/18 01:39:30 Error: Kraken API returned error: API:Invalid nonce
!!! Cycle 5 failed. Will repeat in 76.51786052340645s
[ --2017/05/18 01:40:47--kraken--BTC_XLM  --  Gunbot v3.2 cycle #5 --------------- ]
::::: collecting market data...
++++
LP 0.00002376  Bal.XXBT 0.4995  Bal.XXLM 0
No open orders
boughtPrice undefined
price  steady (0)
PriceToBuy 0.2339 priceToSell --not set--
LP 0.2376000 > prBuy 0.2339317  secMargin 0.0000023393166666666665  grows yes
no altcoins: 0
price to buy: 0.000023393166666666665
last price is too high
Gunbot callback at 2017/05/18 01:40:50 cycle # 5
Callback:
---------
price too high
need faster: no
need slower: no

next delay will be 48.752599041955065s


[ --2017/05/18 01:41:39--kraken--BTC_XLM  --  Gunbot v3.2 cycle #6 --------------- ]
::::: collecting market data...
++2017/05/18 01:41:42 Error: Kraken API returned error: API:Invalid nonce
!!! Cycle 7 failed. Will repeat in 76.51786052340645s
[ --2017/05/18 01:42:59--kraken--BTC_XLM  --  Gunbot v3.2 cycle #7 --------------- ]
::::: collecting market data...
++2017/05/18 01:43:03 Error: Error: Kraken API returned error: API:Rate limit exceeded
!!! Cycle 8 failed. Will repeat in 76.51786052340645s
[ --2017/05/18 01:44:20--kraken--BTC_XLM  --  Gunbot v3.2 cycle #8 --------------- ]
::::: collecting market data...
++2017/05/18 01:44:25 Error: Kraken API returned error: API:Invalid nonce
!!! Cycle 9 failed. Will repeat in 76.51786052340645s


Looks like I need to increase my delays further.  On this one, I don't have the tier 3 validation yet.  My other kraken account has Tier 3 validation (higher API limits) but that account has balances in all the coins already, so it's not good for gunbot trading.
[/code]




Cointracking affiliate link (10% discount for you) https://cointracking.info?ref=C937652