Lean
$LEAN_TAG$
|
Type representing the various pieces of information emebedded into a lean data file path More...
Public Member Functions | |
LeanDataPathComponents (SecurityType securityType, string market, Resolution resolution, Symbol symbol, string filename, DateTime date, TickType tickType) | |
Initializes a new instance of the LeanDataPathComponents class More... | |
Static Public Member Functions | |
static LeanDataPathComponents | Parse (string path) |
Parses the specified path into a new instance of the LeanDataPathComponents class More... | |
Properties | |
DateTime | Date [get] |
Gets the date component from the file name More... | |
SecurityType | SecurityType [get] |
Gets the security type from the path More... | |
string | Market [get] |
Gets the market from the path More... | |
Resolution | Resolution [get] |
Gets the resolution from the path More... | |
string | Filename [get] |
Gets the file name, not inluding directory information More... | |
Symbol | Symbol [get] |
Gets the symbol object implied by the path. For options, or any multi-entry zip file, this should be the canonical symbol More... | |
TickType | TickType [get] |
Gets the tick type from the file name More... | |
Type representing the various pieces of information emebedded into a lean data file path
Definition at line 25 of file LeanDataPathComponents.cs.
QuantConnect.Util.LeanDataPathComponents.LeanDataPathComponents | ( | SecurityType | securityType, |
string | market, | ||
Resolution | resolution, | ||
Symbol | symbol, | ||
string | filename, | ||
DateTime | date, | ||
TickType | tickType | ||
) |
Initializes a new instance of the LeanDataPathComponents class
Definition at line 87 of file LeanDataPathComponents.cs.
|
static |
Parses the specified path into a new instance of the LeanDataPathComponents class
path | The path to be parsed |
Definition at line 103 of file LeanDataPathComponents.cs.
|
get |
Gets the date component from the file name
Definition at line 31 of file LeanDataPathComponents.cs.
|
get |
Gets the security type from the path
Definition at line 39 of file LeanDataPathComponents.cs.
|
get |
Gets the market from the path
Definition at line 47 of file LeanDataPathComponents.cs.
|
get |
Gets the resolution from the path
Definition at line 55 of file LeanDataPathComponents.cs.
|
get |
Gets the file name, not inluding directory information
Definition at line 63 of file LeanDataPathComponents.cs.
|
get |
Gets the symbol object implied by the path. For options, or any multi-entry zip file, this should be the canonical symbol
Definition at line 72 of file LeanDataPathComponents.cs.
|
get |
Gets the tick type from the file name
Definition at line 80 of file LeanDataPathComponents.cs.