TradableAccountMetrics

@objc public class TradableAccountMetrics: NSObject

The users balance and other account metrics. All amounts are in account currency.

  • The amount the user may use to open new positions. Might not be available.

    Declaration

    Swift

    public let amountAvailableForTrading: Double?
  • The account’s start of day balance. Might not be available.

    Declaration

    Swift

    public let balance: Double?
  • The account’s current equity. Might not be available.

    Declaration

    Swift

    public let equity: Double?
  • The profit of closed positions during this day. Might not be available.

    Declaration

    Swift

    public let closedProfit: Double?
  • The used margin for the open positions. Might not be available.

    Declaration

    Swift

    public let marginAmountUsed: Double?
  • The profit of open positions, if the user has lost money the value is negative. Might not be available.

    Declaration

    Swift

    public let openProfit: Double?
  • The account these metrics belong to.

    Declaration

    Swift

    public let associatedAccount: TradableAccount
  • Simple description of this object.

    Declaration

    Swift

    public override var description: String