TradableMarginBands
@objc public class TradableMarginBands: NSObject
A collection of margin factors for an instrument, can be used to estimate the margin requirement before placing an order.
-
A list of margin bands.
Declaration
Swift
@objc public let marginBands: [TradableMarginBand] -
Simple description of this object.
Declaration
Swift
public override var description: String -
Calculates the estimated margin requirement for these margin bands and given quantity.
Declaration
Swift
@objc public func calculateRequiredMarginEstimate(forQuantity quantity: Double) -> DoubleParameters
quantityThe quantity of an order to calculate margin estimation for.
View on GitHub
TradableMarginBands Class Reference