Lean  $LEAN_TAG$
QuantConnect.Messages.SecurityIdentifier Class Reference

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

Static Public Member Functions

static string InvalidSecurityType (string parameterName)
 
static string InvalidOptionRight (string parameterName)
 
static string InvalidStrikePrice (decimal strikePrice)
 
static string ErrorParsingSecurityIdentifier (string value, Exception exception)
 
static string MarketNotFound (string market)
 

Static Public Attributes

static string NoUnderlyingForIdentifier
 
static string DateNotSupportedBySecurityType
 
static string StrikePriceNotSupportedBySecurityType
 
static string OptionRightNotSupportedBySecurityType
 
static string OptionStyleNotSupportedBySecurityType
 
static string NullSymbol = "SecurityIdentifier requires a non-null string 'symbol'"
 
static string SymbolWithInvalidCharacters = "Symbol must not contain the characters '|' or ' '."
 
static string PropertiesDoNotMatchAnySecurityType = $"The provided properties do not match with a valid {nameof(SecurityType)}"
 
static string StringIsNotSplittable = "The string must be splittable on space into two parts."
 
static string UnexpectedTypeToCompareTo = $"Object must be of type {nameof(SecurityIdentifier)}"
 

Detailed Description

Provides user-facing messages for the QuantConnect.SecurityIdentifier class and its consumers or related classes

Definition at line 418 of file Messages.QuantConnect.cs.

Member Data Documentation

◆ NoUnderlyingForIdentifier

string QuantConnect.Messages.SecurityIdentifier.NoUnderlyingForIdentifier
static
Initial value:
=
"No underlying specified for this identifier. Check that HasUnderlying is true before accessing the Underlying property."

Definition at line 420 of file Messages.QuantConnect.cs.

◆ DateNotSupportedBySecurityType

string QuantConnect.Messages.SecurityIdentifier.DateNotSupportedBySecurityType
static
Initial value:
=
"Date is only defined for SecurityType.Equity, SecurityType.Option, SecurityType.Future, SecurityType.FutureOption, SecurityType.IndexOption, and SecurityType.Base"

Definition at line 423 of file Messages.QuantConnect.cs.

◆ StrikePriceNotSupportedBySecurityType

string QuantConnect.Messages.SecurityIdentifier.StrikePriceNotSupportedBySecurityType
static
Initial value:
=
"StrikePrice is only defined for SecurityType.Option, SecurityType.FutureOption, and SecurityType.IndexOption"

Definition at line 426 of file Messages.QuantConnect.cs.

◆ OptionRightNotSupportedBySecurityType

string QuantConnect.Messages.SecurityIdentifier.OptionRightNotSupportedBySecurityType
static
Initial value:
=
"OptionRight is only defined for SecurityType.Option, SecurityType.FutureOption, and SecurityType.IndexOption"

Definition at line 429 of file Messages.QuantConnect.cs.

◆ OptionStyleNotSupportedBySecurityType

string QuantConnect.Messages.SecurityIdentifier.OptionStyleNotSupportedBySecurityType
static
Initial value:
=
"OptionStyle is only defined for SecurityType.Option, SecurityType.FutureOption, and SecurityType.IndexOption"

Definition at line 432 of file Messages.QuantConnect.cs.


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