Kraken

Kraken is a centralized exchange based in San Francisco, CA, founded in 2011. Users can trade several cryptocurrencies and various fiat currencies such as USD, CAD, EUR, GBP, CHF, and JPY.

It was the first bitcoin exchange to display its market data on the Bloomberg Terminal, the first to pass a cryptographically verifiable proof-of-reserves audit, and one of the first exchanges to offer leveraged bitcoin margin trading.

Using the connector

Because Kraken is a centralized exchange, you will need to generate and provide your API keys to trade using Hummingbot.

1
2
Enter your Kraken API key >>>
Enter your Kraken secret key >>>

Private keys and API keys are stored locally for the operation of the Hummingbot client only. At no point will private or API keys be shared to CoinAlpha or be used in any way other than to authorize transactions required for the operation of Hummingbot.

Tip

For copying and pasting into Hummingbot, see this page.

Creating Kraken API keys

The article below in their documentation shows step-by-step instructions on how to create API keys in the Kraken exchange.

Take note that for your API keys to work with Hummingbot, set the Nonce Window to at least 10.

kraken

Warning

For API key permissions, we recommend using only Orders & Trades enabled API keys; enabling withdraw, transfer, or the equivalent is unnecessary for current Hummingbot strategies.

Shows nonce reminder when adding API keys to Kraken.

kraken

Also, note that your account must have funds to avoid getting this error when connecting your Kraken API on Hummingbot.

1
2
3
4
Failed connections:                                                                                      |
    kraken: {'error': {'error': []}}

10:12:24 - kraken_market - Error received from https://api.kraken.com/0/private/Balance. Response is {'error': []}.

Asset codes

Kraken uses asset codes in front of some pairs as a classification system. Asset codes starting with 'X' represent cryptocurrencies, though this is no longer followed for the newest coins. Asset codes starting with 'Z' represent fiat currencies.

BTC is represented as XBT in this exchange. Therefore trading on this pair is viewed as XXBT, e.g., XXBT-USDT. However, Hummingbot uses symbol conversion so that it will be entered as BTC-USDT. For e.g. kraken

This article shows the complete list of assets and their corresponding asset codes.

Miscellaneous info

Minimum order sizes

Kraken's minimum order volume is denominated in base currency. Refer to their article below for the minimum order size per market.

Transaction fees

Kraken charges 0.16% on maker fees and 0.26% on taker orders for almost all of their cryptocurrency pairs. At the same time, they charge 0.20% on both maker and taker orders if trading on fiat and stablecoin base currency pairs.

Users who trade high volumes can receive more discounts on trading fees. Read through below for more information.

Hummingbot users can override the default fees by editing conf_fee_overrides.yml.