SharpTrader.SDK - Developer API

OHLCSeries Methods

The OHLCSeries type exposes the following members.

Methods


  Name Description
Public method AsEnumerable (Inherited from CircularBuffer.)
Public method Average
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetCloseSeries

Return Value

ValueSeries corresponding the [OhlcBar.Close] values
Protected method GetEnumerator (Inherited from CircularBuffer.)
Public method GetHashCode (Inherited from Object.)
Public method GetQueueIndex (Inherited from CircularBuffer.)
Public method GetStackIndex (Inherited from CircularBuffer.)
Public method GetType (Inherited from Object.)
Protected method GetValueArray (Inherited from QuoteSeries<(Of <(<'TValue, TSeries>)>)>.)
Public method High()()()()
Public method High(Int32)
Protected method Increment (Inherited from CircularBuffer.)
Protected method Initialize(Int32, BufferIndex) (Inherited from CircularBuffer.)
Public method Initialize(IReadOnlyList<(Of <<'(UTP>)>>)) (Inherited from CircularBuffer.)
Public method Low()()()()
Public method Low(Int32)
Protected method MemberwiseClone (Inherited from Object.)
Public method Project(Func<(Of <<'(OhlcBar, Double>)>>), Int32)
Applies projection function to count of newest bars and

Return Value

the result as CloseSeries. Capacity of CloseSeries is determined by bars.
Public method Project(Func<(Of <<'(TValue, Double>)>>), Int32)
Applies projection function to count of newest bars and

Return Value

the result as CloseSeries. Capacity of CloseSeries is determined by bars.
(Inherited from QuoteSeries<(Of <(<'TValue, TSeries>)>)>.)
Public method ProjectToValues (Inherited from QuoteSeries<(Of <(<'TValue, TSeries>)>)>.)
Public method Push(OhlcBar)
Public method Push(UTP) (Inherited from CircularBuffer.)
Public method ToString (Inherited from Object.)
Public method TruncateTo
Creates series with buffer reduced to given capacity.