Subjects configuration
This page describes how to configure the subjects that FX Mobile subscribes to.
Editing the configuration file
The configuration file for subscription subjects is located at static/version/Subjects.json
in the WAR file. From FX Mobile 3.9.0, this configuration file can be overridden by an external file. For more information, see Configure FX Mobile.
Configuration file format
The configuration file Subjects.json
contains a single JSON object. Each property of the object constitutes a configuration option.
The table below lists the properties of the JSON configuration object. All property names are case sensitive unless stated otherwise.
Property | Type | Value description |
---|---|---|
|
String |
Trade channel subject. |
|
String |
Currency-pair rate subject. Accepts |
|
String |
Order channel subject. |
|
String |
Order rate subject. Accepts |
|
String |
Historical blotter subject. |
|
String |
Currency-pair tenors subject. Accepts the |
|
String |
Watchlist control subject. Messages are sent on this channel to create, rename, reorder, and delete watchlists. |
|
String |
Watchlist list subject. A list of all watchlists. |
|
String |
Prefix for chart subjects. |
{
"TRADE.CHANNEL": "/PRIVATE/TRADE/FX",
"TRADE.RATE": "/FX/${currencyPair}/${tenor}/${dealtCurrency}/${amount}",
"ORDER.CHANNEL": "/PRIVATE/ORDERS/FX",
"ORDER.RATE": "/FX/${currencyPair}/${tenor}/${dealtCurrency}/${amount}?ORDER",
"BLOTTER.HISTORIC": "/PRIVATE/FX/BLOTTER/HISTORIC",
"CALENDAR.TENORDATES": "/CALENDAR/TENORDATES/${currencyPair}",
"WATCHLISTS.CONTROL": "/PRIVATE/WATCHLIST/CONTROL",
"WATCHLISTS.LIST": "/PRIVATE/WATCHLIST/ALL",
"CHARTS": "/CHARTS"
}