Supported Models



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

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

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


The ZerodhaBrokerageModel uses the EquityFillModel.


The ZerodhaBrokerageModel uses the ConstantSlippageModel with zero slippage.


The ZerodhaBrokerageModel uses the ZerodhaFeeModel.

Buying Power

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

If you have a margin account, the ZerodhaBrokerageModel allows 5x leverage.


The ZerodhaBrokerageModel uses the ImmediateSettlementModel for margin accounts and the DelayedSettlementModel for cash accounts.

Default Markets

The default market of the ZerodhaBrokerageModel is Market.India.

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: