TradableProtections

@objc public class TradableProtections: NSObject

Contains take profit and stop loss levels.

  • Stop loss price.

    Declaration

    Swift

    @objc public let stopLoss: Double
  • Take profit price.

    Declaration

    Swift

    @objc public let takeProfit: Double
  • Simple description of this object.

    Declaration

    Swift

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

    Declaration

    Swift

    @objc public init(stopLoss: Double, takeProfit: Double)