Classes
The following classes are available globally.
-
A request for subscribtion to the given broker in order to be able to trade through Tradable’s systems.
See moreDeclaration
Swift
@objc public class TradableSubscriptionRequest: NSObject
-
Provides information about a broker available in the system.
See moreDeclaration
Swift
@objc public class TradableBroker: NSObject
-
Contains lists of pending, recently cancelled and recently executed orders.
See moreDeclaration
Swift
@objc public class TradableOrders: NSObject
-
Provides indicator data.
See moreDeclaration
Swift
@objc public class TradableIndicator: NSObject
-
Contains the order data, such as unique ID, instrument ID, amount, type, price, status and more.
See moreDeclaration
Swift
@objc public class TradableOrder: NSObject
-
TradableError contains detailed description about an error delivered in the API response.
See moreDeclaration
Swift
@objc public class TradableError: NSObject
-
A request class used for getting last session’s close.
See moreDeclaration
Swift
@objc public class TradableLastSessionCloseRequest: NSObject
-
Historic candle class containing necessary candle information.
See moreDeclaration
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 moreDeclaration
Swift
@objc public class TradableTwoFactorAuthenticationResponse: NSObject
-
A part of historic candle request regarding requested indicators.
See moreDeclaration
Swift
@objc public class TradableIndicatorRequest: NSObject
-
A request for starting a trial period for the given user.
See moreDeclaration
Swift
@objc public class TradableStartTrialRequest: NSObject
-
An instrument search request containing a list of IDs of instruments for which to get detailed information.
See moreDeclaration
Swift
@objc public class TradableInstrumentSearchRequest: NSObject
-
Contains a dictionary of instrument IDs to TradablePrice objects.
See moreDeclaration
Swift
@objc public class TradablePrices: NSObject
-
Contains lists of open and recently closed positions.
See moreDeclaration
Swift
@objc public class TradablePositions: NSObject
-
Contains information with which the order will be modified.
See moreDeclaration
Swift
@objc public class TradableOrderModification: NSObject
-
Describes a used indicator parameter.
See moreDeclaration
Swift
@objc public class TradableIndicatorParam: NSObject
-
A full snapshot of the account. Contains all necessary information about the account.
See moreDeclaration
Swift
@objc public class TradableAccountSnapshot: NSObject
-
The margin factor for volumes in this margin band.
See moreDeclaration
Swift
@objc public class TradableMarginBand: NSObject
-
Contains the ask and bid price for an instrument ID, alongside with a spread in pips.
See moreDeclaration
Swift
@objc public class TradablePrice: NSObject
-
Describes an allowed indicator parameter.
See moreDeclaration
Swift
@objc public class TradableIndicatorInfoParam: NSObject
-
The order size increment for orders over a given lowerBound.
See moreDeclaration
Swift
@objc public class TradableOrderSizeIncrementBand: NSObject
-
Contains a list of available accounts.
See moreDeclaration
Swift
@objc public class TradableAccountList: NSObject
-
Contains take profit and stop loss levels.
See moreDeclaration
Swift
@objc public class TradableProtections: NSObject
-
Provides information about last session’s close price for instrument.
See moreDeclaration
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 moreDeclaration
Swift
@objc public class TradableDemoAPIAuthenticationRequest: NSObject
-
Contains order data needed when issuing a new order.
See moreDeclaration
Swift
@objc public class TradableOrderCommand: NSObject
-
Instrument information returned as part of the instrument search.
See moreDeclaration
Swift
@objc public class TradableInstrumentSearchResult: NSObject
-
A request for cancelling the subscription for the given user.
See moreDeclaration
Swift
@objc public class TradableCancelSubscriptionRequest: NSObject
-
An account used for trading.
See moreDeclaration
Swift
@objc public class TradableAccount: NSObject, NSCoding
-
Contains a list of candles and a list of indicators that the API response contains.
See moreDeclaration
Swift
@objc public class TradableCandleResponse: NSObject
-
Contains information with which the protection will be modified.
See moreDeclaration
Swift
@objc public class TradablePriceModification: NSObject
-
A definition of the capabilities of an order type.
See moreDeclaration
Swift
@objc public class TradableOrderSupport: NSObject, NSCoding
-
Contains a set of various broker logos for specific account.
See moreDeclaration
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 moreDeclaration
Swift
@objc public class TradableMarginBands: NSObject
-
A request for an authentication token granting access to the accounts associated with the given broker login.
See moreDeclaration
Swift
@objc public class TradableAPIAuthenticationRequest: NSObject
-
A collection of order size increment bands, defining the order size increments at different order sizes.
See moreDeclaration
Swift
@objc public class TradableOrderSizeIncrementBands: NSObject
-
Contains instrument data, such as symbol, type, precision and more.
See moreDeclaration
Swift
@objc public class TradableInstrument: NSObject
-
A response received when making changes pertaining to a subscription.
See moreDeclaration
Swift
@objc public class TradableSubscriptionResponse: NSObject
-
The price increment for a price above the lowerBound (and up to the next band).
See moreDeclaration
Swift
@objc public class TradablePriceIncrementBand: NSObject
-
The Tradable object implementing the singleton pattern.
See moreDeclaration
Swift
@objc public class Tradable: NSObject
-
Contains a list of protection entry types.
See moreDeclaration
Swift
@objc public class TradableProtectionEntryTypes: NSObject, NSCoding
-
Provides information about an indicator plot.
See moreDeclaration
Swift
@objc public class TradableIndicatorPlot: NSObject
-
Provides information regarding an indicator.
See moreDeclaration
Swift
@objc public class TradableIndicatorInfo: NSObject
-
Contains the amount to which a position is to be reduced.
See moreDeclaration
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 moreDeclaration
Swift
@objc public class TradableInstrumentSearchQuery: NSObject
-
Contains a list of instruments.
See moreDeclaration
Swift
@objc public class TradableInstrumentList: NSObject
-
Contains information about an app.
See moreDeclaration
Swift
@objc public class TradableApp: NSObject
-
A request that should be sent to get prices or full account snapshot.
See moreDeclaration
Swift
@objc public class TradableUpdatesRequest: NSObject
-
A part of indicator request with details on requested indicators.
See moreDeclaration
Swift
@objc public class TradableRequestedIndicator: NSObject
-
The results of an instrument search.
See moreDeclaration
Swift
@objc public class TradableInstrumentSearchResults: NSObject
-
Access token wrapper.
See moreDeclaration
Swift
@objc public class TradableAccessToken: NSObject, NSCoding
-
Returned any time the broker requires two factor authentication.
See moreDeclaration
Swift
@objc public class TradableTwoFactorAuthenticationChallenge: NSObject
-
A request to refresh the authentication that was granted when the refresh token was issued.
See moreDeclaration
Swift
@objc public class TradableAPIRefreshAuthenticationRequest: NSObject
-
A helper class providing methods for easy price/pip conversion and more.
See moreDeclaration
Swift
@objc public class TradableUtilities: NSObject
-
The users balance and other account metrics. All amounts are in account currency.
See moreDeclaration
Swift
@objc public class TradableAccountMetrics: NSObject
-
Contains the position data, such as unique ID, instrument ID, amount, side, open/closed profit and more.
See moreDeclaration
Swift
@objc public class TradablePosition: NSObject
-
A historic candle request class, used for requesting historic data.
See moreDeclaration
Swift
@objc public class TradableCandleRequest: NSObject
-
A collection of price increment bands, defining the price precision at different order prices.
See moreDeclaration
Swift
@objc public class TradablePriceIncrementBands: NSObject
-
Tradable OS user. Might have a couple of accounts assigned to it.
See moreDeclaration
Swift
@objc public class TradableOSUser: NSObject
-
A protection specified on an order.
See moreDeclaration
Swift
@objc public class TradableOrderProtection: NSObject