Lean  $LEAN_TAG$
QuantConnect.Messages.DefaultBrokerageModel Class Reference

Provides user-facing messages for the Brokerages.DefaultBrokerageModel class and its consumers or related classes More...

Static Public Member Functions

static string UnsupportedSecurityType (IBrokerageModel brokerageModel, Securities.Security security)
 
static string InvalidSecurityTypeToGetFillModel (IBrokerageModel brokerageModel, Securities.Security security)
 
static string InvalidOrderQuantity (Securities.Security security, decimal quantity)
 
static string InvalidOrderSize (Securities.Security security, decimal quantity, decimal price)
 
static string UnsupportedOrderType (IBrokerageModel brokerageModel, Orders.Order order, IEnumerable< OrderType > supportedOrderTypes)
 
static string UnsupportedTimeInForce (IBrokerageModel brokerageModel, Orders.Order order)
 
static string InvalidSecurityTypeForLeverage (Securities.Security security)
 

Static Public Attributes

static string UnsupportedMarketOnOpenOrdersForFuturesAndFutureOptions
 
static string NoDataForSymbol
 
static string OrderUpdateNotSupported = "Brokerage does not support update. You must cancel and re-create instead."
 

Detailed Description

Provides user-facing messages for the Brokerages.DefaultBrokerageModel class and its consumers or related classes

Definition at line 37 of file Messages.Brokerages.cs.

Member Data Documentation

◆ UnsupportedMarketOnOpenOrdersForFuturesAndFutureOptions

string QuantConnect.Messages.DefaultBrokerageModel.UnsupportedMarketOnOpenOrdersForFuturesAndFutureOptions
static
Initial value:
=
"MarketOnOpen orders are not supported for futures and future options."

Definition at line 39 of file Messages.Brokerages.cs.

◆ NoDataForSymbol

string QuantConnect.Messages.DefaultBrokerageModel.NoDataForSymbol
static
Initial value:
=
"There is no data for this symbol yet, please check the security.HasData flag to ensure there is at least one data point."

Definition at line 42 of file Messages.Brokerages.cs.


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