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
Public property Bars int Gets or sets the number of bars back from the current bar to be the data range.
Public property Days int Gets or sets the number of days back from the current bar to be the data range
Public property FirstDate datetime Gets or sets the starting date of the data range.
Public property IsReadOnly bool True if the data is read-only, otherwise False.
Public property LastDate datetime Gets or sets the ending date of the data range. If real time updates are required, do NOT set this property.
Public property Months int Gets or sets the number of months back from the current bar to be the data range
Public property Type enum Gets the type of the data range.
Public property Weeks int Gets or sets the number of weeks back from the current bar to be the data range.
Public property Years int Gets or sets the number of years back from the current bar to be the data range.
Methods
  Name Description
Public property Create Initializes a new instance of class.