TradableCandleRequest
@objc public class TradableCandleRequest: NSObject
A historic candle request class, used for requesting historic data.
-
The unique instrument identifier to get candles for.
Declaration
Swift
@objc public let instrumentId: String -
The start of the candle range; Unix timestamp in milliseconds.
Declaration
Swift
@objc public let from: UInt64 -
The end of the candle range; Unix timestamp in milliseconds.
Declaration
Swift
@objc public let to: UInt64 -
The aggregation interval in minutes.
Declaration
Swift
@objc public let aggregation: Int -
An optional indicator request.
Declaration
Swift
@objc public let indicatorRequest: TradableIndicatorRequest? -
Simple description of this object.
Declaration
Swift
public override var description: String -
Creates an object with given parameters.
Declaration
Swift
@objc public init(instrumentId: String, fromDate: Date, toDate: Date, aggregation: Int, indicatorRequest: TradableIndicatorRequest? = nil) -
Creates an object with given parameters.
Declaration
Swift
@objc public init(instrumentId: String, from: UInt64, to: UInt64, aggregation: Int, indicatorRequest: TradableIndicatorRequest? = nil)
View on GitHub
TradableCandleRequest Class Reference