TradableProtections

@objc public class TradableProtections: NSObject

Contains take profit and stop loss levels.

  • Stop loss price.

    Declaration

    Swift

    public let stopLoss: Double
  • Take profit price.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public init(stopLoss: Double, takeProfit: Double)