Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

NOTE: Kraken requires "whitelisting" of wallets in their setup, which makes them unusable for these BUY strategies:

1  - coins cannot be sent directly to the customer!

3  - the fallback option is strategy #1 - which, as noted, won't work.

5  - coins cannot be sent directly to the customer!

Strategies 2 and 4 require you to send coin to the Hot Wallet - which CAN be whitelisted. You must add it as a permitted withdraw key (read below).

You must maintain funding in Kraken to use them in a BUY strategy!

Configuring the Kraken exchange in CAS:


1. Login to your Kraken account at https://www.kraken.com


2. Navigate to: “Security", then "API”:

Click here to navigate directly to the Kraken page, or:

Image Modified

3. Create a new API Key:

Image Modified

4. Create an API name, and enable all privileges:

Image Modified

5. Save the newly generated API keys:

Image Modified
Tip

Save them somewhere private & secure - they permit full access to your Kraken account!

Image Modified
Info

Your wallet MAY need to be funded for these keys to work as expected.


6. Navigate to Funding: Account balances.

Image Modified

7. Create a Withdrawal address (a whitelist address):

The Withdrawal address must be known & set in advance, which is the key reason that Kraken is unsuitable for BUY strategies that send coin directly to your customer. There’s no way you could know your customer’s wallet address in advance, so you must use a Hot Wallet when working with Kraken for BUYs.

Image Modified

Enter your Hot Wallet’s description & receiving wallet address:

Image Modified
  • Description is the "withdrawkey" parameter used in CAS for your Kraken Exchange.

Tip

Save the Withdraw whitelist address.


8. Enter the required information into CAS:

Image Modified

The CAS "Parameters" for the Kraken exchange is:

  1. USD, EUR, or USDT

  2. API Key

  3. API Private Key

  4. Withdraw Key

  5. Order Type (limit / market)

Entered in sequence, on one line, separated by a colon, it looks something like this:

Code Block
USD:2ooAIETUc93GGd61:gPu2W8bDJwC9gBrh56M4VzEZ0VIS0kEZ:Block.io:market
  • Always use the same rate source as the Exchange. 

  • Both Exchange BUY and Exchange SELL use the same parameters.


9. Save the crypto settings!

Image Modified

10. Now re-enter the Crypto Setting, and test what you just saved

...

.

Tip

Test your settings before deploying them.

  1. Save your setting first,

  2. return to the same Crypto Setting,

  3. run the test(s).

See: https://generalbytes.atlassian.net/l/cp/9Zdit1KP

Tip

If the Exchange test finished successfully, you configured the Kraken Exchange properly.

Warning

If the Exchange test fails: have you funded your wallet? The Kraken Exchange API may not work if there are zero coins in your selected wallet.

Note

Kraken (like all exchanges) requires a "minimum" transaction amount.  


You should now be able to successfully use the Kraken Exchange with CAS.

Note

Note:

 Kraken requires a "trade agreement" in certain countries (e.g. Germany).  If your Crypto Tests pass, but you cannot execute a trade, please follow their advice:

Code Block
Please try to navigate to the Trade-tab using the web interface,
and then to the New Order page and then select Advanced there.
You should be prompted with a trading agreement you have to accept.
Once you have accepted this agreement you should not be prompted
with this message.