-
Notifications
You must be signed in to change notification settings - Fork 2k
Kraken exchange broken on XXBT-ZUSD #2632
Comments
As dirty workarround you can edit exchange.js from kraken and edit this part here: change in your case 'XXBT': 'XBT' and 'ZUSD': 'USD', TO 'XXBT': 'XXBT' and 'ZUSD': 'ZUSD' until an update appears |
hey zaventh, the initial Problem is a inconsistency in the naming of the products on the kraken side this was the last solution d5d1f91 it reformatted the "small coins". The list on line 47 was incomplete so i figured out it needs to change into "var assetsToFix = ['AAVE', 'ADA', 'ALGO', 'ANT', 'ATOM', 'BAL', 'BAT', 'BCH', 'COMP', 'CRV', 'DAI', 'DOT', 'DASH', 'EOS', 'FIL', 'GNO', 'GRT', 'ICX', 'KAVA', 'KEEP', 'KNC', 'KSM', 'LINK', 'LSK', 'MANA', 'NANO', 'OMG', 'OXT', 'PAXG', 'QTUM', 'REPV2', 'SC', 'SNX', 'STORJ', 'TBTC', 'TRX', 'UNI', 'USDT', 'USDC', 'WAVES', 'XTZ', 'YFI']" to support all of this coins. best regards |
hey @zaventh , i have undone the last changes on the file ~/zenbot/extensions/exchanges/kraken/exchange.js and now XXBT works on my machine again - i will test it a bit and try to do a pull request tomorrow. |
@ChairmenMeow100 No worries. Can you describe what you were trying to fix initially? It looks like a problem with the |
hey @zaventh , thanks for the response. As far as i know all kraken names for currency starts with Z and asset start with X. The names consists of four letter, but at some point kraken has stopped to do so. Now we have products with three letters and products with four letters and i don´t know why but this causes trouble. So the solution is apparently to reformat one group, the earlier version was to change all of them into four letters (i guess) and it worked so i just added e few newer coins to get a fully support. The latest change just cut all products down to three letters but now you search for the "wrong product" at kraken and get an error cause they don´t have "ETH" they named it "XETH" |
Removes the need for manual mapping due to Kraken's inconsistent naming conventions for asset pairs. Resolves DeviaVir#2632
Removes the need for manual mapping due to Kraken's inconsistent naming conventions for asset pairs. Resolves #2632
System information
node zenbot balance kraken.XXBT-ZUSD
Describe the problem
All commands on selector
kraken.XXBT-ZUSD
fail with various errors.Source code / Error logs
This is because
Is returning
XBTUSD
after commit 574da60. However, Kraken API is returning:I'm not sure of the motivation behind #2629 but it appears the solution is more nuanced than remapping the symbols in every case. The unmodified concatenation
XXBTZUSD
is expected here.The text was updated successfully, but these errors were encountered: