Lean  $LEAN_TAG$
QuantConnect.Brokerages.BrokerageModel Class Reference

Provides factory method for creating an IBrokerageModel from the BrokerageName enum More...

Static Public Member Functions

static IBrokerageModel Create (IOrderProvider orderProvider, BrokerageName brokerage, AccountType accountType)
 Creates a new IBrokerageModel for the specified BrokerageName More...
 
static BrokerageName GetBrokerageName (IBrokerageModel brokerageModel)
 Gets the corresponding BrokerageName for the specified IBrokerageModel More...
 

Detailed Description

Provides factory method for creating an IBrokerageModel from the BrokerageName enum

Definition at line 184 of file IBrokerageModel.cs.

Member Function Documentation

◆ Create()

static IBrokerageModel QuantConnect.Brokerages.BrokerageModel.Create ( IOrderProvider  orderProvider,
BrokerageName  brokerage,
AccountType  accountType 
)
static

Creates a new IBrokerageModel for the specified BrokerageName

Parameters
orderProviderThe order provider
brokerageThe name of the brokerage
accountTypeThe account type
Returns
The model for the specified brokerage

Definition at line 193 of file IBrokerageModel.cs.

◆ GetBrokerageName()

static BrokerageName QuantConnect.Brokerages.BrokerageModel.GetBrokerageName ( IBrokerageModel  brokerageModel)
static

Gets the corresponding BrokerageName for the specified IBrokerageModel

Parameters
brokerageModelThe brokerage model
Returns
The BrokerageName for the specified brokerage model

Definition at line 286 of file IBrokerageModel.cs.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: