DataRange Class (Component)
Defines the structure for a data range object.
Namespace: tsdata.marketdata
Properties
Additional
properties, methods, and events are described in the classes listed
under Inheritance Hierarchy (see below).
| Name | Type | Description | |
|
|
Bars | int | Gets or sets the number of bars back from the current bar to be the data range. |
|
|
Days | int | Gets or sets the number of days back from the current bar to be the data range |
|
|
FirstDate | datetime | Gets or sets the starting date of the data range. |
|
|
IsReadOnly | bool | True if the data is read-only, otherwise False. |
|
|
LastDate | datetime | Gets or sets the ending date of the data range. If real time updates are required, do NOT set this property. |
|
|
Months | int | Gets or sets the number of months back from the current bar to be the data range |
|
|
Type | enum | Gets the type of the data range. |
|
|
Weeks | int | Gets or sets the number of weeks back from the current bar to be the data range. |
|
|
Years | int | Gets or sets the number of years back from the current bar to be the data range. |
Methods
| Name | Description | |
|
|
Create | Initializes a new instance of class. |