OHLCParams

data class OHLCParams(val date: Date?, val open: Double?, val high: Double?, val low: Double?, val close: Double?, val volume: Double?, val adjClose: Double?)

A data class of OHLC parameters

Constructors

Link copied to clipboard
constructor(date: Date?, open: Double?, high: Double?, low: Double?, close: Double?, volume: Double?, adjClose: Double?)

Properties

Link copied to clipboard
@SerializedName(value = "AdjClose")
val adjClose: Double?

Closing price adjusted price after splits or dividends. This is only necessary if you wish to give users the ability to display both adjusted and unadjusted values.

Link copied to clipboard
@SerializedName(value = "Close")
val close: Double?

Closing price for the bar. Excluding or setting this field to null will cause the chart to display a gap for this bar.

Link copied to clipboard
@SerializedName(value = "DT")
val date: Date?

A date string, representing the start time of the bar or tick, in case a DT compatible value is not available.

Link copied to clipboard
@SerializedName(value = "High")
val high: Double?

High price for the bar. Required for candle charts only.

Link copied to clipboard
@SerializedName(value = "Low")
val low: Double?

Low price for the bar. Required for candle charts only.

Link copied to clipboard
@SerializedName(value = "Open")
val open: Double?

Opening price for the bar. Required for candle charts only.

Link copied to clipboard
@SerializedName(value = "Volume")
val volume: Double?

Trading volume for the bar in whole numbers.