TradablePrices

@objc public class TradablePrices: NSObject

Contains a dictionary of instrument IDs to TradablePrice objects.

  • A dictionary of instrument IDs to TradablePrice objects.

    Declaration

    Swift

    public let prices: [String : TradablePrice]
  • The account these prices belong to.

    Declaration

    Swift

    public let associatedAccount: TradableAccount
  • Simple description of this object.

    Declaration

    Swift

    public override var description: String
  • Returns the dictionary values as an array.

    Declaration

    Swift

    public func getPrices() -> [TradablePrice]
  • Returns an optional TradablePrice object for specified instrument ID.

    Declaration

    Swift

    public func getPrice(forInstrumentId instrumentId: String) -> TradablePrice?