Supported Models

Tradier

Introduction

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

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

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

Fills

The TradierBrokerageModel uses the EquityFillModel for Equity trades and the ImmediateFillModel for Option trades.

Slippage

The TradierBrokerageModel uses the ConstantSlippageModel with zero slippage.

Fees

The TradierBrokerageModel uses the ConstantFeeModel with zero fees.

Buying Power

The TradierBrokerageModel uses the OptionMarginModel for Option trades. If you trade Equities with a cash account, the brokerage uses the CashBuyingPowerModel. Otherwise, it uses the SecurityMarginModel.

If you have a margin account, the TradierBrokerageModel allows 2x leverage for Equities.

Settlement

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

Default Markets

The default market of the TradierBrokerageModel is Market.USA.

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: