TradableOrderSupport

@objc public class TradableOrderSupport: NSObject, NSCoding

A definition of the capabilities of an order type.

  • Specifies if the order type supports attached take profit distance.

    Declaration

    Swift

    public let isTakeProfitSupported: Bool
  • Specifies if the order type supports attached stop loss distance.

    Declaration

    Swift

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

    Declaration

    Swift

    public override var description: String
  • Creates an object with given parameters. Conforms to NSCoding protocol.

    Declaration

    Swift

    required convenience public init?(coder decoder: NSCoder)
  • Encoding method, conforming to NSCoding protocol.

    Declaration

    Swift

    public func encode(with aCoder: NSCoder)