Struct SecDBFileReader.CandleHeader
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Financial.Market.SecDb
Assembly: Azos.dll
Syntax
public struct CandleHeader
Fields
CandleCount
Total candle samples at DataOffset
Declaration
public readonly uint CandleCount
Field Value
Type | Description |
---|---|
System.UInt32 |
DataOffset
Where candle data starts
Declaration
public readonly uint DataOffset
Field Value
Type | Description |
---|---|
System.UInt32 |
File
File that the header is from
Declaration
public readonly SecDBFileReader File
Field Value
Type | Description |
---|---|
SecDBFileReader |
ResolutionSec
Size of candle in seconds
Declaration
public readonly ushort ResolutionSec
Field Value
Type | Description |
---|---|
System.UInt16 |
StartTime
Start time as calculated from StartTimeMidnightOffsetSec
Declaration
public readonly DateTime StartTime
Field Value
Type | Description |
---|---|
System.DateTime |
StartTimeMidnightOffsetSec
Offset since midnight in seconds
Declaration
public readonly uint StartTimeMidnightOffsetSec
Field Value
Type | Description |
---|---|
System.UInt32 |
Properties
IsAssigned
True to indicate that struct instance is assigned meaningful data
Declaration
public bool IsAssigned { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetSkipSecondsUntil(DateTime)
Returns how many seconds need to be skipped to arrive at the particular date. The negative return means that the supplied data is BEFORE the data start
Declaration
public int GetSkipSecondsUntil(DateTime utcDate)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | utcDate |
Returns
Type | Description |
---|---|
System.Int32 |