Abstract base class for configuring data download parameters, including common properties and initialization logic.
More...
|
| static DateTime | ParseDate (string date) |
| | Parses a string to a DateTime using a specific date format. More...
|
| |
| static TEnum | ParseEnum< TEnum > (string value) |
| | Parses a string value into an enum of the specified type. More...
|
| |
|
| DateTime | StartDate [get, set] |
| | Gets the start date for the data download. More...
|
| |
| DateTime | EndDate [get, set] |
| | Gets the end date for the data download. More...
|
| |
| Resolution | Resolution [get, protected set] |
| | Gets or sets the resolution of the downloaded data. More...
|
| |
| string | MarketName [get, protected set] |
| | Gets or sets the market name for which the data will be downloaded. More...
|
| |
| SecurityType | SecurityType [get, set] |
| | Gets the type of security for which the data is being downloaded. More...
|
| |
| TickType | TickType [get, protected set] |
| | Gets or sets the type of tick data to be downloaded. More...
|
| |
| abstract Type | DataType [get] |
| | The type of data based on TickTypes More...
|
| |
| IReadOnlyCollection< Symbol > | Symbols = [] [get, protected set] |
| | Gets the list of symbols for which the data will be downloaded. More...
|
| |
Abstract base class for configuring data download parameters, including common properties and initialization logic.
Definition at line 28 of file BaseDataDownloadConfig.cs.
◆ BaseDataDownloadConfig() [1/2]
| BaseDataDownloadConfig.BaseDataDownloadConfig |
( |
| ) |
|
|
protected |
◆ BaseDataDownloadConfig() [2/2]
| BaseDataDownloadConfig.BaseDataDownloadConfig |
( |
TickType |
tickType, |
|
|
SecurityType |
securityType, |
|
|
Resolution |
resolution, |
|
|
DateTime |
startDate, |
|
|
DateTime |
endDate, |
|
|
string |
marketName, |
|
|
List< Symbol > |
symbols |
|
) |
| |
|
protected |
Initializes a new instance of the DataDownloadConfig class with the specified parameters.
- Parameters
-
| tickType | The type of tick data to be downloaded. |
| securityType | The type of security for which data is being downloaded. |
| resolution | The resolution of the data being downloaded. |
| startDate | The start date for the data download range. |
| endDate | The end date for the data download range. |
| marketName | The name of the market from which the data is being downloaded. |
| symbols | A list of symbols for which data is being downloaded. |
Definition at line 106 of file BaseDataDownloadConfig.cs.
◆ ParseDate()
| static DateTime BaseDataDownloadConfig.ParseDate |
( |
string |
date | ) |
|
|
staticprotected |
Parses a string to a DateTime using a specific date format.
- Parameters
-
| date | The date string to parse. |
- Returns
- The parsed DateTime value.
◆ ParseEnum< TEnum >()
| static TEnum BaseDataDownloadConfig.ParseEnum< TEnum > |
( |
string |
value | ) |
|
|
staticprotected |
Parses a string value into an enum of the specified type.
- Template Parameters
-
| TEnum | The enum type to parse the value into. |
- Parameters
-
| value | The string value to parse. |
- Returns
- The parsed enum value.
- Exceptions
-
| ArgumentException | Thrown if the value cannot be parsed or is not a valid enum value. |
- Type Constraints
-
| TEnum | : | struct | |
| TEnum | : | Enum | |
Definition at line 150 of file BaseDataDownloadConfig.cs.
◆ StartDate
| DateTime BaseDataDownloadConfig.StartDate |
|
getset |
◆ EndDate
| DateTime BaseDataDownloadConfig.EndDate |
|
getset |
◆ Resolution
| Resolution BaseDataDownloadConfig.Resolution |
|
getprotected set |
◆ MarketName
| string BaseDataDownloadConfig.MarketName |
|
getprotected set |
◆ SecurityType
| SecurityType BaseDataDownloadConfig.SecurityType |
|
getset |
◆ TickType
| TickType BaseDataDownloadConfig.TickType |
|
getprotected set |
◆ DataType
| abstract Type BaseDataDownloadConfig.DataType |
|
get |
◆ Symbols
| IReadOnlyCollection<Symbol> BaseDataDownloadConfig.Symbols = [] |
|
getprotected set |
The documentation for this class was generated from the following file: