ChartIQData
public class ChartIQData : NSObject
Encapsulates parameters with additional information for formatted OHLC quote objects.
-
The ChartIQData date parameter.
Declaration
Swift
public var date: Date -
The ChartIQData open parameter.
Declaration
Swift
public var open: Double? -
The ChartIQData high parameter.
Declaration
Swift
public var high: Double? -
The ChartIQData low parameter.
Declaration
Swift
public var low: Double? -
The ChartIQData close parameter.
Declaration
Swift
public var close: Double? -
The ChartIQData volume parameter.
Declaration
Swift
public var volume: Double? -
The ChartIQData adjClose parameter.
Declaration
Swift
public var adjClose: Double?
-
Init Data model with all parameters.
Declaration
Swift
public init(date: Date, open: Double, high: Double, low: Double, close: Double, volume: Double, adjClose: Double)Parameters
dateThe Date Object.
openThe Double Object.
highThe Double Object.
lowThe Double Object.
closeThe Double Object.
volumeThe Double Object.
adjCloseThe Double Object.
-
Init Data model with dictionary.
Declaration
Swift
public init(dictionary: [String : Any])Parameters
dictionaryThe dictionary with data for init Data model.
-
Convert Data model to dictionary.
Declaration
Swift
public func toDictionary() -> [String : Any]Return Value
The dictionary with Data model.
-
Convert Data model to JSON string.
Declaration
Swift
public func toJSONString() -> StringReturn Value
The JSON string with Data model.
ChartIQData Class Reference