QuantConnect Lean Algorithmic Trading Engine
Fields  Properties  Methods 


QuantConnect Namespace : Symbol Class
Symbol Class Members

The following tables list the members exposed by Symbol.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the Symbol class  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic) Represents an unassigned symbol. This is intended to be used as an uninitialized, default value  
Top
Public Properties
 NameDescription
Public PropertyGets whether or not this Symbol is a derivative, that is, it has a valid Underlying property  
Public Property Gets the security identifier for this symbol  
Public Property Gets the security type of the symbol  
Public Property Gets the security underlying symbol, if any  
Public Property Gets the current symbol for this ticker  
Top
Public Methods
 NameDescription
Public Method Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.  
Public Method  
Public Methodstatic (Shared in Visual Basic) Provides a convience method for creating a Symbol for most security types. This method currently does not support Option, Commodity, and Future  
Public Methodstatic (Shared in Visual Basic) Provides a convenience method for creating a future Symbol.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Provides a convenience method for creating an option Symbol.  
Public Method  
Public MethodOverloaded. Determines whether the specified object is equal to the current object.  
Public MethodServes as the default hash function.  
Public Method Method returns true, if symbol is a derivative canonical symbol  
Public Method  
Public Method  
Public MethodReturns a string that represents the current object.  
Public Method  
Public Method Creates new symbol with updated mapped symbol. Symbol Mapping: When symbols change over time (e.g. CHASE-> JPM) need to update the symbol requested. Method returns newly created symbol  
Top
Public Operators
Equals operator
Overloaded.  Returns the symbol's string ticker
Not equals operator
Top
See Also