Lean  $LEAN_TAG$
QuantConnect.Messages.OrderResponse Class Reference

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

Static Public Member Functions

static string ToString (Orders.OrderResponse response)
 Parses the given order response into a string message containing basic information about it More...
 
static string InvalidStatus (Orders.OrderRequest request, Orders.Order order)
 Returns a string message saying it was impossible to udpate the order with the id from the given request because it already had the status of the given order More...
 
static string InvalidNewStatus (Orders.OrderRequest request, Orders.Order order)
 Returns a string message saying it was impossible to update or cancel the order with the id from the given request because the submit confirmation had not been received yet More...
 
static string UnableToFindOrder (Orders.OrderRequest request)
 Returns a string message saying it was impossible to locate the order with the id from the given request More...
 
static string ZeroQuantity (Orders.OrderRequest request)
 Returns a string message saying it was impossible to process the given order request that has zero quantity More...
 
static string MissingSecurity (Orders.SubmitOrderRequest request)
 Returns a string message saying the user has not requested data for the symbol of the given request. It also advises the user on how to add this data More...
 
static string WarmingUp (Orders.OrderRequest request)
 Returns a string message saying the given order request operation is not allowed in Initialize or during warm up. It also advises the user on where it is allowed to make it More...
 

Static Public Attributes

static string DefaultErrorMessage = "An unexpected error occurred."
 String message saying: An unexpected error occurred More...
 
static string UnprocessedOrderResponseErrorMessage = "The request has not yet been processed."
 String message saying: The request has not yet been processed More...
 

Detailed Description

Provides user-facing messages for the Orders.OrderResponse class and its consumers or related classes

Definition at line 276 of file Messages.Orders.cs.

Member Function Documentation

◆ ToString()

static string QuantConnect.Messages.OrderResponse.ToString ( Orders.OrderResponse  response)
static

Parses the given order response into a string message containing basic information about it

Definition at line 292 of file Messages.Orders.cs.

Here is the caller graph for this function:

◆ InvalidStatus()

static string QuantConnect.Messages.OrderResponse.InvalidStatus ( Orders.OrderRequest  request,
Orders.Order  order 
)
static

Returns a string message saying it was impossible to udpate the order with the id from the given request because it already had the status of the given order

Definition at line 312 of file Messages.Orders.cs.

Here is the caller graph for this function:

◆ InvalidNewStatus()

static string QuantConnect.Messages.OrderResponse.InvalidNewStatus ( Orders.OrderRequest  request,
Orders.Order  order 
)
static

Returns a string message saying it was impossible to update or cancel the order with the id from the given request because the submit confirmation had not been received yet

Definition at line 322 of file Messages.Orders.cs.

Here is the caller graph for this function:

◆ UnableToFindOrder()

static string QuantConnect.Messages.OrderResponse.UnableToFindOrder ( Orders.OrderRequest  request)
static

Returns a string message saying it was impossible to locate the order with the id from the given request

Definition at line 333 of file Messages.Orders.cs.

Here is the caller graph for this function:

◆ ZeroQuantity()

static string QuantConnect.Messages.OrderResponse.ZeroQuantity ( Orders.OrderRequest  request)
static

Returns a string message saying it was impossible to process the given order request that has zero quantity

Definition at line 343 of file Messages.Orders.cs.

Here is the caller graph for this function:

◆ MissingSecurity()

static string QuantConnect.Messages.OrderResponse.MissingSecurity ( Orders.SubmitOrderRequest  request)
static

Returns a string message saying the user has not requested data for the symbol of the given request. It also advises the user on how to add this data

Parameters
request
Returns

Definition at line 355 of file Messages.Orders.cs.

Here is the caller graph for this function:

◆ WarmingUp()

static string QuantConnect.Messages.OrderResponse.WarmingUp ( Orders.OrderRequest  request)
static

Returns a string message saying the given order request operation is not allowed in Initialize or during warm up. It also advises the user on where it is allowed to make it

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

Here is the caller graph for this function:

Member Data Documentation

◆ DefaultErrorMessage

string QuantConnect.Messages.OrderResponse.DefaultErrorMessage = "An unexpected error occurred."
static

String message saying: An unexpected error occurred

Definition at line 281 of file Messages.Orders.cs.

◆ UnprocessedOrderResponseErrorMessage

string QuantConnect.Messages.OrderResponse.UnprocessedOrderResponseErrorMessage = "The request has not yet been processed."
static

String message saying: The request has not yet been processed

Definition at line 286 of file Messages.Orders.cs.


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