Lean  $LEAN_TAG$
QuantConnect.Messages.TrailingStopOrder Class Reference

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

Static Public Member Functions

static string Tag (Orders.TrailingStopOrder order)
 Returns a tag message for the given TrailingStopOrder More...
 
static string ToString (Orders.TrailingStopOrder order)
 Parses a TrailingStopOrder into a string More...
 
static string TrailingAmount (Orders.TrailingStopOrder order)
 Returns a TrailingAmount string representation for the given TrailingStopOrder More...
 
static string TrailingAmount (decimal trailingAmount, bool trailingAsPercentage, string priceCurrency)
 Returns a message for the given TrailingAmount and PriceCurrency values taking into account if the trailing is as percentage More...
 

Detailed Description

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

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

Member Function Documentation

◆ Tag()

static string QuantConnect.Messages.TrailingStopOrder.Tag ( Orders.TrailingStopOrder  order)
static

Returns a tag message for the given TrailingStopOrder

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

Here is the caller graph for this function:

◆ ToString()

static string QuantConnect.Messages.TrailingStopOrder.ToString ( Orders.TrailingStopOrder  order)
static

Parses a TrailingStopOrder into a string

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TrailingAmount() [1/2]

static string QuantConnect.Messages.TrailingStopOrder.TrailingAmount ( Orders.TrailingStopOrder  order)
static

Returns a TrailingAmount string representation for the given TrailingStopOrder

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TrailingAmount() [2/2]

static string QuantConnect.Messages.TrailingStopOrder.TrailingAmount ( decimal  trailingAmount,
bool  trailingAsPercentage,
string  priceCurrency 
)
static

Returns a message for the given TrailingAmount and PriceCurrency values taking into account if the trailing is as percentage

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


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