class O2GTimeframe
Brief
A description for a time frame.
Details
Each instance of the class describes one time frame which can be used to load market data snapshots for a certain session.
It is used in the function
O2GRequestFactory
.createMarketDataSnapshotRequestInstrument
to create market data snapshot request (prepare request to get historic prices).
The time frames are accessible via O2GTimeframeCollection
class.
O2GTimeframe [hide]
O2GRequestFactory factory = Program.Session.getRequestFactory(); O2GTimeframeCollection timeFrames = factory.Timeframes; O2GTimeframe timeFrame = timeFrames["m1"];
The type defined in the fxcore2.dll
assembly.
The namespace is fxcore2
.
Public Properties | |
The unique identifier of the time frame. |
|
The number of units in the time frame. |
|
The time measurement unit. |