Class OHLCV
Simple container for open/ high/ low/ close prices and volume.
Inheritance
object
OHLCV
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public class OHLCV
Constructors
| Improve this Doc View SourceOHLCV(double, double, double, double, double)
Construct new OHLCV object
Declaration
public OHLCV(double o, double h, double l, double c, double v)
Parameters
Type | Name | Description |
---|---|---|
double | o | opening price |
double | h | highest price |
double | l | lowest price |
double | c | closing price |
double | v | volume |
Fields
| Improve this Doc View SourceClose
Closing price.
Declaration
public readonly double Close
Field Value
Type | Description |
---|---|
double |
High
Highest price.
Declaration
public readonly double High
Field Value
Type | Description |
---|---|
double |
Low
Lowest price.
Declaration
public readonly double Low
Field Value
Type | Description |
---|---|
double |
Open
Opening price.
Declaration
public readonly double Open
Field Value
Type | Description |
---|---|
double |
Volume
Bar volume.
Declaration
public readonly double Volume
Field Value
Type | Description |
---|---|
double |
Methods
| Improve this Doc View SourceToString()
Convert to string value.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()