Classes

The following classes are available globally.

  • Provides information about a broker available in the system.

    See more

    Declaration

    Swift

    @objc public class TradableBroker: NSObject
  • Contains lists of pending, recently cancelled and recently executed orders.

    See more

    Declaration

    Swift

    @objc public class TradableOrders: NSObject
  • Contains the order data, such as unique ID, instrument ID, amount, type, price, status and more.

    See more

    Declaration

    Swift

    @objc public class TradableOrder: NSObject
  • TradableError contains detailed description about an error delivered in the API response.

    See more

    Declaration

    Swift

    @objc public class TradableError: NSObject
  • Historic candle class containing necessary candle information.

    See more

    Declaration

    Swift

    @objc public class TradableCandle: NSObject
  • The client’s response to the TradableTwoFactorAuthenticationChallenge. Should be polled to the endpoint until a 200 OK is returned. If this occurs during authentication, the 200 response will be the TradableAccessToken that would have been returned by authentication methods if there had been no two factor authentication challenge.

    See more

    Declaration

    Swift

    @objc public class TradableTwoFactorAuthenticationResponse: NSObject
  • A part of historic candle request regarding requested indicators.

    See more

    Declaration

    Swift

    @objc public class TradableIndicatorRequest: NSObject
  • An instrument search request containing a list of IDs of instruments for which to get detailed information.

    See more

    Declaration

    Swift

    @objc public class TradableInstrumentSearchRequest: NSObject
  • Contains a dictionary of instrument IDs to TradablePrice objects.

    See more

    Declaration

    Swift

    @objc public class TradablePrices: NSObject
  • Contains lists of open and recently closed positions.

    See more

    Declaration

    Swift

    @objc public class TradablePositions: NSObject
  • Contains information with which the order will be modified.

    See more

    Declaration

    Swift

    @objc public class TradableOrderModification: NSObject
  • A full snapshot of the account. Contains all necessary information about the account.

    See more

    Declaration

    Swift

    @objc public class TradableAccountSnapshot: NSObject
  • The margin factor for volumes in this margin band.

    See more

    Declaration

    Swift

    @objc public class TradableMarginBand: NSObject
  • Contains the ask and bid price for an instrument ID, alongside with a spread in pips.

    See more

    Declaration

    Swift

    @objc public class TradablePrice: NSObject
  • Contains a list of available accounts.

    See more

    Declaration

    Swift

    @objc public class TradableAccountList: NSObject
  • Contains take profit and stop loss levels.

    See more

    Declaration

    Swift

    @objc public class TradableProtections: NSObject
  • Provides information about last session’s close price for instrument.

    See more

    Declaration

    Swift

    @objc public class TradableLastSessionClose: NSObject
  • A request for creating a demo account of the given type and an authentication granting access to it.

    See more

    Declaration

    Swift

    @objc public class TradableDemoAPIAuthenticationRequest: NSObject
  • Contains order data needed when issuing a new order.

    See more

    Declaration

    Swift

    @objc public class TradableOrderCommand: NSObject
  • An account used for trading.

    See more

    Declaration

    Swift

    @objc public class TradableAccount: NSObject, NSCoding
  • Contains a list of candles and a list of indicators that the API response contains.

    See more

    Declaration

    Swift

    @objc public class TradableCandleResponse: NSObject
  • Contains information with which the protection will be modified.

    See more

    Declaration

    Swift

    @objc public class TradablePriceModification: NSObject
  • A definition of the capabilities of an order type.

    See more

    Declaration

    Swift

    @objc public class TradableOrderSupport: NSObject, NSCoding
  • Contains a set of various broker logos for specific account.

    See more

    Declaration

    Swift

    @objc public class TradableBrokerLogos: NSObject, NSCoding
  • A collection of margin factors for an instrument, can be used to estimate the margin requirement before placing an order.

    See more

    Declaration

    Swift

    @objc public class TradableMarginBands: NSObject
  • A request for an authentication token granting access to the accounts associated with the given broker login.

    See more

    Declaration

    Swift

    @objc public class TradableAPIAuthenticationRequest: NSObject
  • A collection of order size increment bands, defining the order size increments at different order sizes.

    See more

    Declaration

    Swift

    @objc public class TradableOrderSizeIncrementBands: NSObject
  • Contains instrument data, such as symbol, type, precision and more.

    See more

    Declaration

    Swift

    @objc public class TradableInstrument: NSObject
  • The price increment for a price above the lowerBound (and up to the next band).

    See more

    Declaration

    Swift

    @objc public class TradablePriceIncrementBand: NSObject
  • The Tradable object implementing the singleton pattern.

    See more

    Declaration

    Swift

    @objc public class Tradable: NSObject
  • Provides information about an indicator plot.

    See more

    Declaration

    Swift

    @objc public class TradableIndicatorPlot: NSObject
  • Provides information regarding an indicator.

    See more

    Declaration

    Swift

    @objc public class TradableIndicatorInfo: NSObject
  • Contains the amount to which a position is to be reduced.

    See more

    Declaration

    Swift

    @objc public class TradableAmount: NSObject
  • Ues the query to perform a remote search with the broker. This should only be used if the account doesn’t return all the instruments in the GET /instruments call.

    See more

    Declaration

    Swift

    @objc public class TradableInstrumentSearchQuery: NSObject
  • Contains information about an app.

    See more

    Declaration

    Swift

    @objc public class TradableApp: NSObject
  • A request that should be sent to get prices or full account snapshot.

    See more

    Declaration

    Swift

    @objc public class TradableUpdatesRequest: NSObject
  • A part of indicator request with details on requested indicators.

    See more

    Declaration

    Swift

    @objc public class TradableRequestedIndicator: NSObject
  • A helper class providing methods for easy price/pip conversion and more.

    See more

    Declaration

    Swift

    @objc public class TradableUtilities: NSObject
  • The users balance and other account metrics. All amounts are in account currency.

    See more

    Declaration

    Swift

    @objc public class TradableAccountMetrics: NSObject
  • Contains the position data, such as unique ID, instrument ID, amount, side, open/closed profit and more.

    See more

    Declaration

    Swift

    @objc public class TradablePosition: NSObject
  • A historic candle request class, used for requesting historic data.

    See more

    Declaration

    Swift

    @objc public class TradableCandleRequest: NSObject
  • A collection of price increment bands, defining the price precision at different order prices.

    See more

    Declaration

    Swift

    @objc public class TradablePriceIncrementBands: NSObject
  • Tradable OS user. Might have a couple of accounts assigned to it.

    See more

    Declaration

    Swift

    @objc public class TradableOSUser: NSObject