C++ API

Brief

This section describes how to use C++ API interface.

Details

Articles

How to use ForexConnect API in C++

The section describes how to use ForexConnect API in C++ on different platforms.

How to log in

The article explains how to log in step by step.

How to get offers

The article discusses how to get offers in C++.

How to get historic prices

The article discusses how to get historic prices in C++.

ForexConnect API Class Hierarchy

The article shows public interfaces of ForexConnect API.

Trading Commands

The section describes trading commands that can be created and sent via IO2GRequestFactory.

Classes

CO2GTransport

The main class which is used to configure the transport and to create sessions.

IAddRef

Manages the existence of the object.

IO2GAccountRow

The interface to the account row parsed by IO2GAccountsTableResponseReader and IO2GTablesUpdatesReader.

IO2GAccountsTableResponseReader

The interface to the reader of the AccountsTable response.

IO2GClosedTradeRow

The interface to the closed trade row parsed by IO2GClosedTradesTableResponseReader and IO2GTablesUpdatesReader.

IO2GClosedTradesTableResponseReader

The interface to the reader of the ClosedTrades table response.

IO2GCommandResponseReader

The interface to the reader of the command response.

IO2GGenericTableResponseReader

The base class for all table response readers.

IO2GLoginRules

The interface provides information about the rules used during the login in the currently established session.

IO2GMarketDataSnapshotResponseReader

The interface to the reader of the MarketDataSnapshot response.

IO2GMessageRow

The interface to the message row parsed by IO2GMessagesTableResponseReader and IO2GTablesUpdatesReader.

IO2GMessagesTableResponseReader

The interface to the reader of the MessagesTable response.

IO2GOfferRow

The interface to the offer row parsed by the IO2GOffersTableResponseReader and IO2GTablesUpdatesReader.

IO2GOffersTableResponseReader

The interface to the reader of the OffersTable table response.

IO2GOrderResponseReader

The interface to the reader of the order response.

IO2GOrderRow

The interface to the order row parsed by IO2GOrdersTableResponseReader and IO2GTablesUpdatesReader.

IO2GOrdersTableResponseReader

The interface to the reader of the Orders table response.

IO2GPermissionChecker

Checks permissions.

IO2GRequest

The request object.

IO2GRequestFactory

The request factory.

IO2GResponse

The interface to the response.

IO2GResponseListener

The interface to listen to responses.

IO2GResponseReaderFactory

The interface to the factory of the response readers.

IO2GSession

The session object.

IO2GSessionDescriptor

The interface to the trading session descriptor.

IO2GSessionDescriptorCollection

The interface to a collection of the trading session descriptors.

IO2GSessionStatus

The interface of the session status listeners.

IO2GSystemPropertiesReader

The interface to the reader of the system properties.

IO2GTableColumn

The interface of the table column description.

IO2GTableColumnCollection

The interface to the collection of the table column descriptions.

IO2GTablesUpdatesReader

The interface to the reader of tables updates.

IO2GTimeConverter

The interface to convert date/time between the time zones.

IO2GTimeframe

The interface to the time frame description.

IO2GTimeframeCollection

The interface to the collection of time frames available for the session.

IO2GTradeRow

The interface to the trade row parsed by IO2GTradesTableResponseReader and IO2GTablesUpdatesReader.

IO2GTradesTableResponseReader

The interface to the reader of the Trades table response.

IO2GTradingSettingsProvider

Checks trading settings.

IO2GValueMap

The value map.

Enumerations

IO2GSessionStatus::O2GSessionStatusCode

The codes of the session status.

IO2GTableColumn::O2GTableColumnType

The data types of a table column.

O2GMarketStatus

The market status.

O2GPermissionStatus

The permission statuses.

O2GPriceUpdateMode

The price update modes.

O2GRequestParamsEnum

The request parameters.

O2GResponseType

The response types.

O2GTable

The tables.

O2GTableUpdateType

The type of the table update.

O2GTimeConverter::TimeZone

The time zone identifiers for the date/time converter.

O2GTimeframeUnit

The time frames.

back