TradableCandle

@objc public class TradableCandle: NSObject

Historic candle class containing necessary candle information.

  • The Unix timestamp in milliseconds for the start of the candle.

    Declaration

    Swift

    public let timestamp: UInt64
  • The open price for the candle.

    Declaration

    Swift

    public let open: Double
  • The close price for the candle.

    Declaration

    Swift

    public let close: Double
  • The highest price the candle has reached.

    Declaration

    Swift

    public let high: Double
  • low

    The lowest price the candle has reached.

    Declaration

    Swift

    public let low: Double
  • The accumulated volume, in millions.

    Declaration

    Swift

    public let volume: Double
  • Simple description of this object.

    Declaration

    Swift

    public override var description: String
  • Creates an object with given parameters.

    Declaration

    Swift

    public init(timestamp: UInt64, open: Double, close: Double, high: Double, low: Double, volume: Double)