Supported Models

Kraken

Introduction

This page explains the default security-level models and markets of the KrakenBrokerageModel.

SetBrokerageModel(BrokerageName.Kraken, AccountType.Cash);
SetBrokerageModel(BrokerageName.Kraken, AccountType.Margin);
self.SetBrokerageModel(BrokerageName.Kraken, AccountType.Cash)
self.SetBrokerageModel(BrokerageName.Kraken, AccountType.Margin)

To view the implementation of this model, see the LEAN GitHub repository.

Fills

The KrakenBrokerageModel uses the ImmediateFillModel.

Slippage

The KrakenBrokerageModel uses the ConstantSlippageModel with zero slippage.

Fees

The KrakenBrokerageModel uses the BitfinexFeeModel.

Buying Power

The KrakenBrokerageModel uses the CashBuyingPowerModel for cash accounts and the SecurityMarginModel for margin accounts.

If you have a margin account, the KrakenBrokerageModel allows 1x leverage for most Crypto pairs. The following table shows pairs that have additional leverage available:

Quote CurrencyBase CurrenciesLeverage
ADABTC, ETH, USD, EUR3
BCHBTC, USD, EUR2
BTCUSD, EUR
5
DASHBTC, USD, EUR3
EOSBTC, ETH, USD, EUR3
ETHBTC, USD, EUR5
LINKBTC, ETH, USD, EUR3
LTCBTC, USD, EUR3
REPBTC, ETH, USD, EUR2
TRXBTC, ETH, USD, EUR3
USDCUSD, EUR3
USDTUSD, EUR2
XMRBTC, USD, EUR2
XRPBTC, USD, EUR3
XTZBTC, ETH, USD, EUR2

Settlement

The KrakenBrokerageModel uses the ImmediateSettlementModel.

Default Markets

The default market of the KrakenBrokerageModel is Market.Kraken.

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: