Lean  $LEAN_TAG$
QuantConnect.Messages.FxcmBrokerageModel Class Reference

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

Static Public Member Functions

static string InvalidOrderQuantityForLotSize (Securities.Security security)
 Returns a string message saying the order quantity must be a multiple of LotSize. It also contains the security's Lot Size More...
 
static string PriceOutOfRange (OrderType orderType, OrderDirection orderDirection, decimal orderPrice, decimal currentPrice)
 Returns a string message saying the order price is too far from the current market price More...
 

Static Public Attributes

static string InvalidOrderPrice
 String message saying: Limit Buy orders and Stop Sell orders must be below market, Limit Sell orders and Stop Buy orders must be above market More...
 

Detailed Description

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

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

Member Function Documentation

◆ InvalidOrderQuantityForLotSize()

static string QuantConnect.Messages.FxcmBrokerageModel.InvalidOrderQuantityForLotSize ( Securities.Security  security)
static

Returns a string message saying the order quantity must be a multiple of LotSize. It also contains the security's Lot Size

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

Here is the caller graph for this function:

◆ PriceOutOfRange()

static string QuantConnect.Messages.FxcmBrokerageModel.PriceOutOfRange ( OrderType  orderType,
OrderDirection  orderDirection,
decimal  orderPrice,
decimal  currentPrice 
)
static

Returns a string message saying the order price is too far from the current market price

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

Member Data Documentation

◆ InvalidOrderPrice

string QuantConnect.Messages.FxcmBrokerageModel.InvalidOrderPrice
static
Initial value:
=
"Limit Buy orders and Stop Sell orders must be below market, Limit Sell orders and Stop Buy orders must be above market."

String message saying: Limit Buy orders and Stop Sell orders must be below market, Limit Sell orders and Stop Buy orders must be above market

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


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