Suoranta.Finance Namespace
Suoranta.Finance - Developer API

OhlcBarSeries Members

The OhlcBarSeries type exposes the following members.

Constructors


  Name Description
Public method OhlcBarSeries(Object, IReadOnlyList<(Of <<'(OhlcBar>)>>), ITimeScale, ITradingSchedule)
Initializes a new read-only instance.
Public method OhlcBarSeries(IReadOnlyList<(Of <<'(OhlcBar>)>>), ITimeScale, ITradingSchedule)
See OhlcBarSeries. Id of the created instance is left to nullNothingnullptra null reference (Nothing in Visual Basic).
Public method OhlcBarSeries(Object, BindingList<(Of <<'(OhlcBar>)>>), ITimeScale, ITradingSchedule)
Initializes a new instance backed by BindingList. OhlcBars can be added to the backing list, in which case this instance raises BarAdded event. Other types of changes to the backing list result in a FinanceDataException.

Methods


  Name Description
Protected method Dispose(Boolean)
Public method Dispose()()()()
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetColumn
Gets the values of an OHLC column.
Public method GetColumns
Gets the OHLC columns as arrays.
Protected method GetEnumeratorInternal (Inherited from OhlcSeries.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Resample(ITimeScale, ITradingSchedule)
Creates a new instance with Resample(ITimeScale) applied to Timestamps.
Public method Resample(ITimeScale)
Creates a new instance with Resample(ITimeScale) applied to Timestamps.
(Inherited from OhlcSeries.)
Public method ToOhlcColumns
Creates OhlcColumns from this instance.
Public method ToPlot
Generate an OhlcPlotModel of this series.
Public method ToString (Inherited from Object.)

Properties


  Name Description
Public property BarWidth
Gets the BarWidth of Timestamps.
Public property Count
Gets the number of elements (IOhlcValues) in the collection.
Public property Id
Gets the ticker or other identifier. The runtime type can be chosen freely according to the needs of the use case.
(Inherited from OhlcSeries.)
Protected property InternalStructure
Public property IsColumnStructured (Inherited from OhlcSeries.)
Public property IsReadOnly
Public property IsRowStructured (Inherited from OhlcSeries.)
Public property Item[([( Int32])])
Gets the (timestamped) candle at index.
Public property Item[([( DateTimeOffset])])
Public property Timestamps
Gets the ITimestamps.

Events


  Name Description
Public event BarAdded
Occurs when a new OhlcBar added to the series.