Supported Models
TD Ameritrade
Introduction
This page explains the default security-level models and markets of the TDAmeritradeBrokerageModel
.
SetBrokerageModel(BrokerageName.TDAmeritrade, AccountType.Cash); SetBrokerageModel(BrokerageName.TDAmeritrade, AccountType.Margin);
self.SetBrokerageModel(BrokerageName.TDAmeritrade, AccountType.Cash) self.SetBrokerageModel(BrokerageName.TDAmeritrade, AccountType.Margin)
To view the implementation of this model, see the LEAN GitHub repository.
Fills
The TDAmeritradeBrokerageModel
uses the EquityFillModel.
Slippage
The TDAmeritradeBrokerageModel
uses the ConstantSlippageModel with zero slippage.
Fees
The TDAmeritradeBrokerageModel
uses the TDAmeritradeFeeModel.
Settlement
The TDAmeritradeBrokerageModel
uses the ImmediateSettlementModel for margin accounts and the DelayedSettlementModel for cash accounts.
Margin Interest Rate
The TDAmeritradeBrokerageModel
uses the NullMarginInterestRateModel.