Lean  $LEAN_TAG$
QuantConnect.Data.Fundamental.MultiPeriodFieldLong Class Reference

Abstract class for multi-period fields long More...

Inheritance diagram for QuantConnect.Data.Fundamental.MultiPeriodFieldLong:
[legend]

Static Public Member Functions

static implicit operator decimal (MultiPeriodFieldLong instance)
 Returns the default value for the field More...
 
- Static Public Member Functions inherited from QuantConnect.Data.Fundamental.MultiPeriodField< long >
static implicit operator T (MultiPeriodField< T > instance)
 Returns the default value for the field More...
 
static implicit operator decimal (MultiPeriodField instance)
 Returns the default value for the field More...
 

Protected Member Functions

 MultiPeriodFieldLong ()
 Creates an empty instance More...
 
 MultiPeriodFieldLong (ITimeProvider timeProvider, SecurityIdentifier securityIdentifier)
 Creates a new instance More...
 
- Protected Member Functions inherited from QuantConnect.Data.Fundamental.MultiPeriodField< long >
 MultiPeriodField ()
 Creates an empty instance More...
 
 MultiPeriodField (ITimeProvider timeProvider, SecurityIdentifier securityIdentifier)
 Creates a new instance More...
 
 MultiPeriodField ()
 Creates an empty instance More...
 
 MultiPeriodField (ITimeProvider timeProvider, SecurityIdentifier securityIdentifier)
 Creates a new instance More...
 
string ConvertPeriod (string period)
 Returns a string that represents the current object. More...
 

Additional Inherited Members

- Public Member Functions inherited from QuantConnect.Data.Fundamental.MultiPeriodField< long >
abstract IReadOnlyDictionary< string, T > GetPeriodValues ()
 Gets a dictionary of period names and values for the field More...
 
virtual bool HasPeriodValue (string period)
 Returns true if the field contains a value for the requested period More...
 
abstract T GetPeriodValue (string period)
 Gets the value of the field for the requested period More...
 
IEnumerable< string > GetPeriodNames ()
 Gets the list of available period names for the field More...
 
bool HasValues ()
 Returns true if the field has at least one value for one period More...
 
override string ToString ()
 Returns a string that represents the current object. More...
 
- Public Attributes inherited from QuantConnect.Data.Fundamental.MultiPeriodField< long >
virtual T Value
 Returns the default value for the field More...
 
- Properties inherited from QuantConnect.Data.Fundamental.MultiPeriodField< long >
static T NoValue [get]
 No Value More...
 
ITimeProvider TimeProvider [get]
 The time provider instance to use More...
 
abstract string DefaultPeriod [get]
 The default period More...
 
SecurityIdentifier SecurityIdentifier [get, set]
 The target security identifier More...
 
abstract bool HasValue [get]
 Returns true if the field contains a value for the default period More...
 

Detailed Description

Abstract class for multi-period fields long

Definition at line 199 of file MultiPeriodField.cs.

Constructor & Destructor Documentation

◆ MultiPeriodFieldLong() [1/2]

QuantConnect.Data.Fundamental.MultiPeriodFieldLong.MultiPeriodFieldLong ( )
protected

Creates an empty instance

Definition at line 204 of file MultiPeriodField.cs.

◆ MultiPeriodFieldLong() [2/2]

QuantConnect.Data.Fundamental.MultiPeriodFieldLong.MultiPeriodFieldLong ( ITimeProvider  timeProvider,
SecurityIdentifier  securityIdentifier 
)
protected

Creates a new instance

Parameters
timeProvider
securityIdentifier

Definition at line 213 of file MultiPeriodField.cs.

Member Function Documentation

◆ operator decimal()

static implicit QuantConnect.Data.Fundamental.MultiPeriodFieldLong.operator decimal ( MultiPeriodFieldLong  instance)
static

Returns the default value for the field

Definition at line 220 of file MultiPeriodField.cs.


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