OHLCParams

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

A data class of OHLC parameters

Constructors

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

Functions

component1
Link copied to clipboard
operator fun component1(): Date?
component2
Link copied to clipboard
operator fun component2(): Double?
component3
Link copied to clipboard
operator fun component3(): Double?
component4
Link copied to clipboard
operator fun component4(): Double?
component5
Link copied to clipboard
operator fun component5(): Double?
component6
Link copied to clipboard
operator fun component6(): Double?
component7
Link copied to clipboard
operator fun component7(): Double?
copy
Link copied to clipboard
fun copy(date: Date?, open: Double?, high: Double?, low: Double?, close: Double?, volume: Double?, adjClose: Double?): OHLCParams
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

adjClose
Link copied to clipboard
@SerializedName(value = "AdjClose")
val adjClose: Double?
Closing price adjusted price after splits or dividends.
close
Link copied to clipboard
@SerializedName(value = "Close")
val close: Double?
Closing price for the bar.
date
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.
high
Link copied to clipboard
@SerializedName(value = "High")
val high: Double?
High price for the bar.
low
Link copied to clipboard
@SerializedName(value = "Low")
val low: Double?
Low price for the bar.
open
Link copied to clipboard
@SerializedName(value = "Open")
val open: Double?
Opening price for the bar.
volume
Link copied to clipboard
@SerializedName(value = "Volume")
val volume: Double?
Trading volume for the bar in whole numbers.