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)
 Retunrns a string message saying the type of the given security is not supported by the given brokerage More...
 
static string UnsupportedCrossZeroOrderUpdate (IBrokerageModel brokerageModel)
 Returns a string message saying the given brokerage does not support updating the quantity of Cross Zero orders More...
 
static string InvalidSecurityTypeToGetFillModel (IBrokerageModel brokerageModel, Securities.Security security)
 Returns a string message saying the type of the given security is invalid for the given brokerage GetFillModel() method More...
 
static string InvalidOrderQuantity (Securities.Security security, decimal quantity)
 Returns a string message saying the quantity given was invalid for the given security More...
 
static string InvalidOrderSize (Securities.Security security, decimal quantity, decimal price)
 Returns a string message saying the given order size (quantity * price) was invalid for the given security More...
 
static string UnsupportedOrderType (IBrokerageModel brokerageModel, Orders.Order order, IEnumerable< OrderType > supportedOrderTypes)
 Returns a string message saying the type of the given order is unsupported by the given brokerage model. It also mentions the supported order types More...
 
static string UnsupportedTimeInForce (IBrokerageModel brokerageModel, Orders.Order order)
 Returns a string message saying the Time In Force of the given order is unsupported by the given brokerage model More...
 
static string InvalidSecurityTypeForLeverage (Securities.Security security)
 Returns a string message saying the type of the given security is invalid More...
 
static string UnsupportedCrossZeroByOrderType (IBrokerageModel brokerageModel, OrderType orderType)
 Returns a message indicating that the specified order type is not supported for orders that cross the zero holdings threshold. More...
 
static string UnsupportedUpdateQuantityOrder (IBrokerageModel brokerageModel, OrderType orderType)
 Returns a message indicating that the specified order type cannot be updated quantity using the given brokerage model. More...
 

Static Public Attributes

static string UnsupportedMarketOnOpenOrdersForFuturesAndFutureOptions
 String message saying: MarketOnOpen orders are not supported for futures and future options More...
 
static string NoDataForSymbol
 String message saying: There is no data for this symbol yet More...
 
static string OrderUpdateNotSupported = "Brokerage does not support update. You must cancel and re-create instead."
 String message saying: Brokerage does not support update. You must cancel and re-create instead More...
 

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 Function Documentation

◆ UnsupportedSecurityType()

static string QuantConnect.Messages.DefaultBrokerageModel.UnsupportedSecurityType ( IBrokerageModel  brokerageModel,
Securities.Security  security 
)
static

Retunrns a string message saying the type of the given security is not supported by the given brokerage

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

Here is the caller graph for this function:

◆ UnsupportedCrossZeroOrderUpdate()

static string QuantConnect.Messages.DefaultBrokerageModel.UnsupportedCrossZeroOrderUpdate ( IBrokerageModel  brokerageModel)
static

Returns a string message saying the given brokerage does not support updating the quantity of Cross Zero orders

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

Here is the caller graph for this function:

◆ InvalidSecurityTypeToGetFillModel()

static string QuantConnect.Messages.DefaultBrokerageModel.InvalidSecurityTypeToGetFillModel ( IBrokerageModel  brokerageModel,
Securities.Security  security 
)
static

Returns a string message saying the type of the given security is invalid for the given brokerage GetFillModel() method

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

Here is the caller graph for this function:

◆ InvalidOrderQuantity()

static string QuantConnect.Messages.DefaultBrokerageModel.InvalidOrderQuantity ( Securities.Security  security,
decimal  quantity 
)
static

Returns a string message saying the quantity given was invalid for the given security

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

Here is the caller graph for this function:

◆ InvalidOrderSize()

static string QuantConnect.Messages.DefaultBrokerageModel.InvalidOrderSize ( Securities.Security  security,
decimal  quantity,
decimal  price 
)
static

Returns a string message saying the given order size (quantity * price) was invalid for the given security

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

Here is the caller graph for this function:

◆ UnsupportedOrderType()

static string QuantConnect.Messages.DefaultBrokerageModel.UnsupportedOrderType ( IBrokerageModel  brokerageModel,
Orders.Order  order,
IEnumerable< OrderType supportedOrderTypes 
)
static

Returns a string message saying the type of the given order is unsupported by the given brokerage model. It also mentions the supported order types

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

Here is the caller graph for this function:

◆ UnsupportedTimeInForce()

static string QuantConnect.Messages.DefaultBrokerageModel.UnsupportedTimeInForce ( IBrokerageModel  brokerageModel,
Orders.Order  order 
)
static

Returns a string message saying the Time In Force of the given order is unsupported by the given brokerage model

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

Here is the caller graph for this function:

◆ InvalidSecurityTypeForLeverage()

static string QuantConnect.Messages.DefaultBrokerageModel.InvalidSecurityTypeForLeverage ( Securities.Security  security)
static

Returns a string message saying the type of the given security is invalid

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

Here is the caller graph for this function:

◆ UnsupportedCrossZeroByOrderType()

static string QuantConnect.Messages.DefaultBrokerageModel.UnsupportedCrossZeroByOrderType ( IBrokerageModel  brokerageModel,
OrderType  orderType 
)
static

Returns a message indicating that the specified order type is not supported for orders that cross the zero holdings threshold.

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

Here is the caller graph for this function:

◆ UnsupportedUpdateQuantityOrder()

static string QuantConnect.Messages.DefaultBrokerageModel.UnsupportedUpdateQuantityOrder ( IBrokerageModel  brokerageModel,
OrderType  orderType 
)
static

Returns a message indicating that the specified order type cannot be updated quantity using the given brokerage model.

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

Here is the caller graph for this function:

Member Data Documentation

◆ UnsupportedMarketOnOpenOrdersForFuturesAndFutureOptions

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

String message saying: MarketOnOpen orders are not supported for futures and future options

Definition at line 42 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."

String message saying: There is no data for this symbol yet

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

◆ OrderUpdateNotSupported

string QuantConnect.Messages.DefaultBrokerageModel.OrderUpdateNotSupported = "Brokerage does not support update. You must cancel and re-create instead."
static

String message saying: Brokerage does not support update. You must cancel and re-create instead

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


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