Supported Models

Wolverine

Introduction

This page explains WolverineBrokerageModel, including the asset classes it supports, its default security-level models, and it's default markets.

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

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

Asset Classes

The WolverineBrokerageModel supports trading US Equities.

Orders

The WolverineBrokerageModel supports one order type, but doesn't support order updates or extended market hours trading.

Order Types

The WolverineBrokerageModel supports market orders.

Updates

The WolverineBrokerageModel doesn't support order updates.

Extended Market Hours

The WolverineBrokerageModel doesn't support extended market hours trading. If you place an order outside of regular trading hours, the order is invalid.

Fills

The WolverineBrokerageModel uses the EquityFillModel for Equity trades.

Slippage

The WolverineBrokerageModel uses the ConstantSlippageModel with zero slippage.

security.SetSlippageModel(new ConstantSlippageModel(0));
security.SetSlippageModel(ConstantSlippageModel(0))

Fees

The WolverineBrokerageModel uses the WolverineFeeModel.

Buying Power

The WolverineBrokerageModel uses the SecurityMarginModel. If you have a margin account, the WolverineBrokerageModel allows up to 2x leverage.

Settlement

The WolverineBrokerageModel uses the ImmediateSettlementModel for margin accounts and the DelayedSettlementModel with the default settlement rules for cash accounts.

// For cash accounts:
security.SettlementModel = new DelayedSettlementModel(Equity.DefaultSettlementDays, Equity.DefaultSettlementTime);

// For margin accounts:
security.SettlementModel = new ImmediateSettlementModel();
# For cash accounts:
security.SettlementModel = DelayedSettlementModel(Equity.DefaultSettlementDays, Equity.DefaultSettlementTime)

# For margin accounts:
security.SettlementModel = ImmediateSettlementModel()

Margin Interest Rate

The WolverineBrokerageModel uses the NullMarginInterestRateModel.

Default Markets

The default market of the WolverineBrokerageModel 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: