DipDupChartObject
public struct DipDupChartObject : Codable
Structure holding a data slice
-
The average price at the given time
Declaration
Swift
public let average: Decimal -
The address of the contract
Declaration
Swift
public let exchangeId: String -
String representing the date and time the slice is for
Declaration
Swift
public let bucket: String -
The highest value reached in this slice
Declaration
Swift
public let high: String -
The lowest value reached in this slice
Declaration
Swift
public let low: String -
Convert the
bucketstring into aDateobjectDeclaration
Swift
public func date() -> Date? -
Convert the
averagevalue into aDoubleDeclaration
Swift
public func averageDouble() -> Double -
Convert the
highvalue into aDoubleDeclaration
Swift
public func highDouble() -> Double -
Convert the
lowvalue into aDoubleDeclaration
Swift
public func lowDouble() -> Double
Install in Dash