SymbolSessions Class

A collection of objects that access information about trading sessions for a specified symbol. Referenced by the Data.Sessions property of a SymbolAttributesProvider component.

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 Count int Gets the number of items in the collection.
Public property Items[index] object Gets the SymbolSession object associated with the specified index.
Public property SessionString string A string representation of the values within each session and for all sessions.
Methods
  Name Description
Public property GetTradingDays(startDate, endDate) Gets the number of trading days from the specified start date through the end date (inclusive).
Public property IsInsideSession(date, bIgnoreFirst) True if the date and time are within a session.
Inheritance Hierarchy

elsystem.Object

tsdata.marketdata.SymbolSessions