Installation Manual V-9.0.0
Overview
true-Advice enables UBS customers to automatically convert data from and to SWIFT messages. It relies on true-Broker to establish secure communication with UBS.


true-Advice Web is a web application running on an Apache Tomcat server.
true-Advice Web is multi-client capable. true-Advice Web Administration is used to manage the client instances of true-Advice Web. For each client a specific true-Advice Web application instance is deployed on Apache Tomcat which separates it from the other clients.
The configuration of each true-Advice Web client instance is held in an internal database.
A separate license is needed for each client. The different true-Advice Web modules are deployed based on the purchased license.
System Requirements
Operating systems
- Microsoft Windows Server 2016 x64
- Microsoft Windows Server 2022 x64
- Microsoft Windows 10 x64
- Microsoft Windows 11 x64
Software
- true-Advice Web
- true-Broker Web
Hardware
- 20 GB free hard disk
- 4 GB RAM
Other
- Administrator rights
- Unbound local port 8650
- Firewall allowing connections to http://localhost:8650
Installing true-Advice Web
The true-Advice Web installation is based on Windows Installer Packages.
a) navigateDownload totrue-Advice Web from the release section of this site.
https://products.sits.services/books/true-advice/chapter/releases
b) Install true-Advice Web by running the downloaded installer TrueAdviceReporting.msi.


Double-click the TrueAdviceReporting.msi to start the installation process.




Press Next to continue or Cancel to abort the installation process.


Please accept the End-User License Agreement. Press Next to continue.


Please select the folder where to install true-Advice Web. Press Next to continue.


Click Install to start the installation.


The installation process copies the necessary files to the previously defined installation directory, installs Apache Tomcat as a Windows Service and starts it.


Press Finish to end the installation process. True-Advice Web is now installed and ready to be used.
Updating true-Advice Web
Using Check for Updates
Use the trueAdviceUpdate menu item in the keyon → true-Advice Web menu to start the update process.

The update process checks online whether updates are available. The update process uses the Internet Explorer connection settings to establish a connection to the update page using http. The update page is located on http://www.keyon.ch.
If your true-Advice Web Installation is up to date the following message window is displayed.

If an update is available, the following window is displayed.

Press Next to start the update process.

The update process downloads the patch.

Press Next to start the patch installation process.

Please accept the End-User License Agreement. Press Next to continue.

Please select the folder where to install true-Advice Web. Press Next to continue.

Press Install to begin the installation.

During the patch installation process the Apache Tomcat Windows service is stopped and the new files are copied to the installation directory.

Press Finish to terminate the patch installation process. At the end of the patch installation process the Apache Tomcat Windows service is restarted.
true-Advice Web Windows service
The installation process tries to install true-Advice Web as a Windows service. The Windows service is named TrueAdvice. If true-Advice Web has been installed as a Windows service, you can use the Microsoft Services Console to administrate the service.


To install true-Advice Web as a Windows service Administrator rights are needed.
Configure true-Advice Web Windows service
Before changing the true-Advice Web Windows service configuration stop the service using the Microsoft Services Console.
To change the true-Advice Web Windows service configuration open the file:
C:\Program Files\keyon\true-Advice\trueAdvice.ini
On an operating system with UAC enabled run the editor as administrator.

\[Class Path\]
Class Path=C:\\Program Files\\keyon\\true-Advice\\server\\\*.jar;C:\\Program Files\\keyon\\true-Advice\\server\\bin\\\*.jar;C:\\Program Files\\keyon\\true-Advice\\server\\lib\\\*.jar;
\[Product Information\]
Upgrade Code={85B1295E-C0E8-403D-BDB4-008407F42D43}
Product Code={1DCD482F-F8A0-4D00-839B-23E91CA5B2DA}
Product Name=true-Advice
\[Application\]
Application Type=service
\[Java Runtime Environment\]
JRE Path=C:\\Program Files\\keyon\\true-Advice\\jre64\\
JVM Source=favor\_JDK
JVM Type=favor\_server
Library Path=C:\\Program Files\\keyon\\true-Advice\\server\\bin\\;
Main Class=ch.keyon.advancedinstaller.service.tomcat.AdvancedInstallerWin32ServiceTomcat
Maximum Version=1.7
Minimum Version=1.7
Virtual Machine Parameters=-Xms128M -Xmx3062M -Dderby.system.home="C:\\ProgramData\\keyon\\true-Advice\\db" -DtrueadviceReporting.data.home="C:\\ProgramData\\keyon\\true-Advice" -Dlogback.configurationFile="C:\\ProgramData\\keyon\\true-Advice\\cfg\\logback.xml" -Dcatalina.base="C:\\Program Files\\keyon\\true-Advice\\\\server" -Dcatalina.home="C:\\Program Files\\keyon\\true-Advice\\\\server" -Djava.endorsed.dirs="C:\\Program Files\\keyon\\true-Advice\\\\server\\endorsed"
Use the Microsoft Services Console to start the true-Advice Web Windows service.
Starting true-Advice Web Windows service
Start the true-Advice Web Windows service using the Microsoft Services Console.


Stopping true-Advice Web Windows service
Stop the true-Advice Web Windows service using the Microsoft Services Console.

Daily restart of Apache Tomcat Windows service
The Apache Tomcat Windows service is scheduled to restart daily. The Windows service will be stopped at 00:00 and started at 00:15 AM.

You can change the restart settings in the Scheduled Task option of the Windows Control Panel.
true-Advice Web Windows console
Starting true-Advice Web as console
If you want to run true-Advice Web as a console application, run the following executable file:
C:\Program Files\keyon\true-Advice\trueAdvice Console.exe
Make sure that the Windows Service is not running when starting true-Advice Web as a console.
On an operating system with UAC enabled run the executable as Administrator.

True-Advice Web is starting as console application.

Stopping true-Advice Web console
If true-Advice Web is running as a console application, press Control-C in the console window to stop the application.
true-Advice Web Administration
true-Advice Web Administration is a web application running on an Apache Tomcat server. true-Advice Web is multi-client capable. Use the true-Advice Web Administration application to load or delete true-Advice Web licenses. If you add a new true-Advice Web license a new web application is deployed to the Apache Tomcat server.
The URL to access true-Advice Web Administration is:
http://localhost:8650/TrueAdviceWebAdmin/main.do
Use the link above or select the true-Advice Web menu item in the keyon → true-Advice Web menu to open the URL above in your default browser.


Login page
To get access to the true-Advice Web Administration web application you have to login with a username and password.


The default username is admin. The default password is 12345678.


Press the Login button to log on to the application.
You can change the administrator password using the User management link.
Main page / Load License
The main page is used to load the true-Advice Web licenses. true-Advice Web is multi-client capable. For each license a new true-Advice Web application is deployed on the Apache Tomcat server.


To add a new license, press the Browse for file button or drag it into the area to load the license file you received from SITS.


The tool starts to deploy the new license immediately. This might take a few minutes. Click on Refresh to update the status.


Once it’s done, the status shows Deployed and the license and its modules can be accessed by clicking on the link of the Customers name. (e.g. Keyon in this example)
ToFor deletefuther ainstructions license, select the license name and press the Delete selected button.


Press Delete customers to confirm the action.
User Management Page
Use the User management link to add or remove a user. This is only available for users with administrative rights.

Click on Add / remove User to show the list of existing users.

Add a user
To add a new user, enter a name and chose the required role, then click on Add user.

True-Advice will add the user and generate a random password which is shown in the green message bar. This needs to be provided to the user. The user can then use these credentials to login and change the password to a new one as described in the chapter 5.4.
Remove a user
To remove a user, select the username in the list and click on Delete selected.

Removing a user does not have any other impact on the system. It will only prevent anybody from logging in with this username.
Reset a password
There is no option to reset a password of a user. If a user forgot the password, the user needs to be deleted and recreated as described above.
Available roles
See below list of available roles and their rights.
It is not possible to add additional roles.
Change password page
Use the User management link to change your password.

Enter the current and the new password and confirm it.
Press the Save new password button to change the password.
Logout
To log off from the true-Advice Web Administration application press the Logout button in the upper right corner.

Pressing the Logout button redirects you to the Login page.

True-Advice Web Instance
For each loaded license a separate true-Advice Web Instance application is deployed. It can be accessed by clicking on the customer’s name of the license in the true-Advice Web Administration app.

Login page
To get access to the true-Advice Web Instance Web application you have to login with a username and password.

The default username is admin. The default password is 12345678.
Main Page / Module status
The main page shows you the status of all licensed modules and their last startup time.

CSV Converter
The CSV Converter module is based on the reporting module and is used to convert SWIFT messages into CSV files.
Main page
The main page is used to trigger a conversion of messages.


Once the application is running you can use the Refresh button to update the state.

Once all messages are converted, it will return to the stopped state.
Adapter configuration page
Use the Reporting Adapter page to configure where to store your messages.

The Input directory defines the directory where SWIFT messages are read from. Ideally the same folder as the true-Broker inbox directory is configured. The Output directory defines where the converted messages are stored.
Use the following syntax if you want to store the messages in a local directory:
/directory/[subdirectory/]
In case of a network directory use the following syntax:
You can optionally copy the URL of your network directory from your explorer:
Do not use mapped network drives. The Tomcat Apache server is using the System account to run and does not have access to mapped network drives.
Please define the domain, username and password to access the network directory.

Press the Save button to save your changes.
Time scheduler configuration page
Use the Time scheduler configuration page to configure the scheduled run of the message conversion.

Enter the desired time to run the conversion and select the days on which the conversion should run. The select menu Period gives the Time scheduler the possibility to execute a task based on the selected time interval specified in minutes or hours described in chapter 9.3.
The default configuration is Mo – Fri. at 08:00 am.
Press the Save button to save to configuration.
CSV - Reporting configuration page
Use the Reporting configuration page to change the reporting settings.

With only the CSV Converter license loaded, the options are minimal.
PsN Light password
To convert an encrypted PsN Light ZIP file, the password of the ZIP file needs to be configured.

Enter the password and press the Save button.
To remove the password, press the Clear PW button.
Clean database
To remove all message related data – including any created CIF Groups – from the database, press the Clean DB button.
This will not remove any configuration settings from the DB.
Reporting
The Reporting module is used to convert SWIFT messages into either CSV files or an Excel report.
Main page
The main page is used to trigger a conversion of messages.


Once the application is running you can use the Refresh button to update the state.

Once all messages are converted, it will return to the stopped state.
Adapter configuration page
Use the adapter configuration page to configure where to store your messages.

The Input directory defines the directory where the to be converted messages are read from. Ideally the same folder as the true-Broker Inbox directory is configured in case SWIFT messages are used.
The Output directory defines the directory where the resulting reports are stored.
The Archive directory defines the directory where the original messages are stored after the conversion. The original SWIFT messages are stored in a sub folder called SWIFT, the converted CSV message are stored directly in the archive folder in a daily ZIP file.
Use the following syntax if you want to store the messages into a local directory:
/directory/[subdirectory/]
In case of a network directory use the following syntax:
You can optionally copy the URL of your network directory from your explorer:
Do not use mapped network drives. The Tomcat Apache server is using the System account to run and does not have access to mapped network drives.
Please define the domain, username and password to access the network directory.

Press the Save button to save your changes.
Time scheduler configuration page
Use the Time scheduler configuration page to configure the scheduled run of the message conversion.

Either enter the desired time to run the conversion on or select a periodicity on which the report should be executed. Furthermore, select the days on which the conversion should be run.
The picture above shows the scheduler configured to be executed every 30 minutes. Disabling the periodically execution can be done by setting the Period menu item to <<Please Select>>, in this case the scheduler will be executed at the specified start time.
The default configuration is Mo – Fri. at 08:00 am.
Press the Save button to save to configuration.
Reporting Settings page
Use the reporting configuration page to change the Reporting settings.


Content Settings
Report Settings
PsN Light password
To convert an encrypted PsN Light ZIP file, the password of the ZIP file needs to be configured.

Enter the password and press the Save button.
To remove the password, delete the content and press the Save button.
Clean database
To remove all message related data – including any created CIF Groups – from the data-base, press the Delete data button.
This will not remove any configuration settings from the DB.
CIF Groups
Use the CIF Groups setting page to create CIF Groups for which a report should be created.

For each configured CIF group, a separate Excel report will be created, which only contains data related to the configured customer CIFs.
Add a CIF Group
Enter a name for the group and press the Add Group button.
The name of the group will be appended to the filename of the report.

Choose the Report type and select the CIFs you’d like to add to this CIF group and move them to the “Selected CIF number” part by clicking on the arrow or dragging them across. For more details, please see chapter 8.5.2.
Configure a CIF group
Press the Edit button for the CIF group to configure

The Excel report must be created at least once, before a CIF group can be created.
Once the report has been run, the available CIFs are shown in the above screen. Select the needed CIFs and press on the arrow right button or drag the CIF across.
To remove CIFs from the group, select the CIFs in the “Chosen CIFs” list and press on the arrow left button or drag the CIF across.
Usage
Report format
The format of the Excel report is based on the PsN Light format of UBS. A detailed description can be found here:
https://www.keyon.ch/transfer/trueAdviceReporting/CSPsNLightFormatDescription.zip
Data archive
true-Advice does not delete any files. The processed files are stored in the archive folder as configured. (See Chapter 8.2) The original SWIFT files are stored in a subfolder called SWIFT. The converter PsN Light (CSV) files are stored in a daily ZIP file directly in the archive folder.
Rerun a report
The report can be manually started as described in Chapter 8. To reuse the data of previously created report, simply copy or move the according ZIP file from the archive folder back into the input folder prior to executing the report. The ZIP files do not need to be extracted.
Templates
Templates can be used to customize the created Excel report. true-Advice can use an existing Excel file as template, and it will add all sheets or enhance existing sheets. This way Excel formulas can be used to extract or calculate values from the created PsN Light sheets into new customized sheets.
Template file
The template file is located here:
It can be changed or replaced by another template. true-Advice will automatically pick up the file from this location.
An example template file is located here:
Create a template
All available Excel formulas can be used in the template, true-Advice will fill all the empty sheets with the latest data and afterwards execute / calculate the formulas.
It is not possible to have multiple templates, if the template contains macros it needs to be named TrueAdviceReporting_Template.xlsm and the original template file needs to be removed.
It is the responsibility of the customer to create and maintain such customized templates.
M/L Report
The M/L Report module is based on the Reporting module and creates a specific Margin Lending report, based on the raw data from UBS. This option is currently only available for customers in APAC.
Configuration
For a detailed description of the Reporting module,Advice, please refer to chapter 8. This chapter only explains the M/Luser Report specific configuration settings.manuals.
Report
The report consists of a summary page which shows – amongst other values – the overall Market Value, Collateral Value and Liabilities Value of the client.

Furthermore, it contains a separate sheet per currency, which contains a detailed list of all assets and liabilities held in the respective currency.

MiFIR Report
The MiFIR Report module is based on the Reporting module and creates an Excel report in the format specified by UnaVista, which contains all required attributes for the MiFIR report.
Configuration
For a detailed description of the Reporting module, please refer to chapter 8. There are no options specific to the MiFIR Report.
Template
To create the MiFIR Report, a specific template needs to be configured. For details regarding templates please refer to chapter 8.6.
The MiFIR template – which is provided by SITS – contains a sheet which includes all the static data needed to enhance the data received from UBS to create all columns required by MiFIR. This sheet needs to be maintained by the customer.
Static Data
Macros
The report is based on the Time Scheduler configuration (see chapter 8.3) once the standard report is created it can be converted into the MiFIR Report by executing two Excel macros.


Once both macros have been run, the report consists only of one sheet called MIFIR which contains all transactions since the last report was created, and the enhanced columns sourced by the static data. This report can now be uploaded into the UnaVista web application.
Reporting with Bloomberg®
The Reporting with Bloomberg® module is based on the Reporting module and is used to convert SWIFT messages into an Excel report which is then uploaded to Bloomberg® using an SFTP connection.
It consists of two parts, one for the creation of the report (Reporting) and the second one for the upload to Bloomberg®.
Reporting
For a detailed description of the Reporting module, please refer to chapter 8. This chapter only explains the Bloomberg® specific configuration settings.
SFTP Main page
The main page is used to trigger an upload to Bloomberg®.

Once the application is running you can use the Refresh button to update the state. However, since the upload of the files only takes a few seconds, the status will normally jump back to stopped straight away. Based on the Last start up timestamp you can verify if it already ran.

Once all files are uploaded, it will return into the stopped state.
Uploader Configuration
Use the uploader configuration page to configure where to upload your files.

The Remote-Host and Remote-Directory are per default set for the SFTP server of Bloomberg®. The SFTP username and password are provided to you during the setup process by Bloomberg.
The Output directory defines the directory where the files which need to be uploaded are stored. It needs to be the same directory as configured as Output directory in the Reporting module (See Chapter 8.2).
The archive directory defines where the files which were already uploaded are stored.
Use the following syntax, if you want to store the messages in a local directory:
/directory/[subdirectory/]
In case of a network directory use the following syntax:
You can optionally copy the URL of your network directory from your explorer:
Do not use mapped network drives. The Tomcat Apache server is using the System account to run and does not have access to mapped network drives.
Please define the domain, username and password to access the network directory.

Press the Save button to save your changes
Advanced options
In the advanced options the SSH public and private key which is used to secure the SFTP connection can be configured.

Anonymizing Portfolio for Bloomberg
In case the actual portfolio information inside the report for the Bloomberg PORT upload does not need to be sent to Bloomberg, an option to anonymize the portfolio accounts is available. Inside the file C:\ProgramData\keyon\trueAdvice\cfg\BBUPortfolio\BBUPortfolio.xml the information can be configured.
By setting the parameter mapAllAccounts to true and not expanding the accounts list with the accountNr and alias information, the tool generates automatically an alias to substitute the portfolio number.

CSV/SWIFT Order Routing
The CSV/SWIFT Order Routing is used to exchange trading messages with UBS using the SOAP interface of true-Broker.
CSV/SWIFT Order Routing Adapter
Use the CSV/SWIFT Order Routing Adapter to configure your connection.

Use the following syntax for all configured directories.
If you want to store the messages into a local directory:
/directory/[subdirectory/]
In case of a network directory use the following syntax:
You can optionally copy the URL of your network directory from your explorer:
Do not use mapped network drives. The Tomcat Apache server is using the System account to run and does not have access to mapped network drives.
Please define the domain, username and password to access the network directory.

Press the Save button to save your changes.
Send messages
To send SWIFT messages, simply put them as text files into the configured output directory.
To send orders using a CSV file, put the CSV with below described format into the output directory.
Order CSV format
The CSV file must contain the header below:
MT502
V_SR15_1.0.0
ID;SenderBIC;ISIN;BuySell;Quantity;QuantityTypeCode;InstrumentType;OrderType;Limit;Trigger;Validity;ValidUntil;Exchange;Currency;PartyType;Party;PhoneOrder;eTicketNr;Narrative;CashAccount;SafekeepingAccount
The columns need to be divided by a semicolon.
The screenshot below does not contain the complete header, due to the limited space.

Message History – Message Status
The Message History page is used to monitor all sent and received messages.
It is in the responsibility of the customer to check – at least in this page – that the message was transferred successfully and has been accepted by UBS with a respective response.

The history is automatically updated every 30 seconds. The TrueBoker Connection shows connected, if CSV/SWIFT Order Routing is running and able to reach a working true-Broker. The messages can be filtered by:
Message States
The messages can be in the following states:
Message Details
By clicking on the link of the row of the message, the details of the message can be shown


Download message
Press on the Download SWIFT Message button to download the current message.
Cancel message
Press on the Cancel SWIFT Message button to send a cancellation for the current message to UBS.
SSI Creator
The SSI Creator module is based on the CSV/SWIFT Order Routing and is used to create and send settlement instructions to UBS.
Configuration
For a detailed description of the CSV/SWIFT Order Routing module, please refer to chapter 12. There are no options specific to the SSI Creator.
Deposits
To use the SSI Creator, the used deposits need to be configured.

The deposits can be managed by Edit or by Add new deposit.

To add a new deposit, enter the Deposit name (mandatory) and the Broker Account Number (mandatory) and press the Save deposit button. If a Custodian Account or Receiver BIC is added next to a deposit, the application will use the Custodian Account or respectively the Receiver BIC inside the message.
To edit an existing deposit, press on the Edit link, enter the changes and press on the Save deposit button.

To delete a deposit, select the entry and press on Delete selected.
Instructions
The SSI Creator uses predefined Instructions based on the chosen broker and market.

The settlement instructions can be managed on the Instructions page.

To add a new market, click on the Edit Market list button, enter the name of the market and press the Add market button.
To delete a market, click the Edit Market list button, select the name of the market and press the Delete selected button.

To add a new broker, click on the Edit Broker list button, enter the name of the broker and press the Add broker button.
To delete a broker, click on the Edit Broker list button, select the name of the broker and press the Delete selected button.

To add a new Instruction, click on the Add new instruction button, enter the required values and press the Create instruction button.

To delete an instruction, select the required instruction and press the Delete selected button.
To export the complete list of instructions, click on the Export button.
To filter the list, click on the header column and enter the searched string
Inside the Load Settlement Instructions box the instructions can be loaded through a signed xml file provided by SITS with the settlement instructions compiled by the customer.
SSI Creation
To send an SSI message to UBS open die SSI Create Message page. It will lead you through multiple steps in which you can enter the trade details. In the last step you can review the values and enter the required values and press on Submit to send the instructions to UBS. See below table for a detailed description.
It is in the responsibility of the customer to check – at least in the history page (chapter 12.3) – that the messages were transferred successfully and have been accepted by UBS with a respective response.
Load Confirmation
The trade details can be uploaded through the SSI Load Confirmation page inside the tool. Only CSV file formats and MT515 SWIFT messages are supported. Once the trades have been uploaded, simply click on Instruct to load the Create Message page with the trade details.

To directly instruct one or multiple trades, select the required trades and click on Instruct selected. For that to work, all details need to match, i.e., a matching market and broker needs to be configured, the loaded CSV needs to contain all details of the trade.

If some required values are missing, the trade will not be instructed. In that case the Instruct button can be used to amend the details and submit the instruction manually.
The SSI Confirmation routing module allows the table to be filtered using the searched text, inserted in the table header input fields. The Table will then filter the data based on a AND Algorithm, shown in the screenshot below.

CSV-File specification
Below a description of each column in the CSV can be found. Each column must be present, non-mandatory ones can be left empty (no whitespaces).
Message History – Message Status
Sent settlement instructions and received responses can be monitored in the History page of the CSV/SWIFT Order Routing module. For a detailed description please refer to chapter 12.3.
