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
@objc public let prices: [String : TradablePrice]
-
The account these prices belong to.
Declaration
Swift
@objc 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
@objc public func getPrices() -> [TradablePrice]
-
Returns an optional TradablePrice object for specified instrument ID.
Declaration
Swift
@objc public func getPrice(forInstrumentId instrumentId: String) -> TradablePrice?