Supported Models



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

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

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


The BitfinexBrokerageModel uses the ImmediateFillModel.


The BitfinexBrokerageModel uses the ConstantSlippageModel with zero slippage.


The BitfinexBrokerageModel uses the BitfinexFeeModel.

Buying Power

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

If you have a margin account, the BitfinexBrokerageModel allows 3.3x leverage.


The BitfinexBrokerageModel uses the ImmediateSettlementModel.

Default Markets

The default market of the BitfinexBrokerageModel is Market.Bitfinex.

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: