Subjects configuration
This page contains information on how to configure subjects FX Mobile.
For information on how to configure subjects in the FX Mobile web app, see see Configure FX Mobile.
For information on how to configure subjects in the FX Mobile native app, contact your Caplin Account Manager.
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"
}