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
date
The Date Object.
open
The Double Object.
high
The Double Object.
low
The Double Object.
close
The Double Object.
volume
The Double Object.
adjClose
The Double Object.
-
Init Data model with dictionary.
Declaration
Swift
public init(dictionary: [String : Any])
Parameters
dictionary
The 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() -> String
Return Value
The JSON string with Data model.