TradableUpdatesRequest

@objc public class TradableUpdatesRequest: NSObject

A request that should be sent to get prices or full account snapshot.

  • A list of instruments’ IDs for which the prices should be returned in the response.

    Declaration

    Swift

    public let instrumentIds: [String]
  • If this is true, response will contain prices for all instruments you have open positions in.

    Declaration

    Swift

    public let includeOpenPositions: Bool
  • If this is true, each price object will contain a Margin Bands object. Defaults to false.

    Declaration

    Swift

    public let includeMarginFactors: Bool
  • Simple description of this object.

    Declaration

    Swift

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

    Declaration

    Swift

    public init(instrumentIds: [String], includeOpenPositions: Bool = true, includeMarginFactors: Bool = false)
  • A convenience initializer that creates TradableUpdateRequest object with a list of instruments.

    Declaration

    Swift

    public convenience init(instruments: [TradableInstrument], includeOpenPositions: Bool = true, includeMarginFactors: Bool = false)