Kraken Plugin

Kraken is a San Francisco based digital currency broker. It supports about 40 crypto currencies and allows trading with leverage and shorting. It offers a REST API and a Websocket API. For speed reasons the Kraken plugin uses Websocket whenever possible. Real mode and Demo mode is available, the latter for simulated trading only.

User Primary account currency, f.i. USD or XBT
Password PublicKey(space)PrivateKey

Accounts.csv example entry:

Name Server Account User Pass Assets CCY Real NFA Plugin
Kraken-XBT Kraken 0 XBT PublicKey PrivateKey AssetsKraken XBT.B8 1 14 Kraken.dll

Kraken asset symbols

The Kraken plugin requires symbols in the usual form XXX/YYY, where YYY is the counter currency and XXX the currency to trade.

Volume is per-bar volume in historical data, accumulated session volume in live data.

Supported broker commands

The Kraken plugin supports the brokerCommand function with the following commands:

The following additional custom commands are supported:

Usage of the custom commands in Zorro scripts:

#define GET_ALL_BALANCES 6000
#define DO_CANCEL_ALL_ORDERS 6001
typedef struct KRAKEN_BALANCE {
char sCurrency[8];
double vBalance;
} KRAKEN_BALANCE;
... KRAKEN_BALANCE KrakenBalances[100]; brokerCommand(GET_ALL_BALANCES,KrakenBalances);

Known Kraken API issues

See also:

Links, order, brokers, broker plugin, Binance

► latest version online