To facilitate further automation of triReduce compression cycles, TriOptima offers an API to cycle participants. The purpose of the API is to provide information in a format that is suitable for machine-to-machine communication for all actions required in a compression cycle. This will enable cycle participants to build automation tools to eliminate as many manual steps as possible. The functionality offered by the API in this initial release includes:
The API endpoints available in the current version allow for near full automation of cleared IRS cycles, which are typically high frequency cycles. The endpoints are available in other cycle types as well, but not all required steps are currently supported in the API. TriOptima will continue to develop the API towards the goal of full product coverage taking into consideration feedback from users and early adopters.
The API is hosted on the same machines that are serving the web platform. Each service has its own host name and IP addresses as outlined the table below. These will need to be white-listed in the client’s firewall.
|TriReduce Rates||https://rates.trireduce.com/||184.108.40.206 and 220.127.116.11|
|TriReduce FX||https://fx.trireduce.com/||18.104.22.168 and 22.214.171.124|
|TriReduce Commodities||https://commodities.trireduce.com/||126.96.36.199 and 188.8.131.52|
|TriBalance||https://tribalance.trioptima.com/||184.108.40.206 and 220.127.116.11|
The API is built as a RESTful web service using JSON data formatting.
The API endpoints are available under the path /api/v1/. E.g. https://rates.trireduce.com/api/v1/cycles/. The port is 443, as per normal https requests.
As per above, the version (e.g. v1) will be included in the URL. This will allow for any changes to be version controlled, limiting the impact on existing builds. Users will be required to assess the changes when they are communicated, in order to decide between stepping up to the new version to take advantage of the new functionality, or to maintain their processes on the old version. Changes to existing endpoints will require an increase of the version, while additions may be done without changing version number. It is always prudent to plan for an upgrade to the latest version to mitigate the risk of any future loss of functionality.
The authentication is token-based using the OAuth 2.0 standard. A user on the triReduce service will be able to generate an acces token that can be used for authentication. This means that the machine connecting to the API will be authenticated as the user that generated the token.
When logged in to the web platform the documentation is available online. General information and an integration guide are available in the help accessible from the top right corner on the web platform. Technical documentation on OpenAPI/Swagger format is also available, with details on each endpoint and the possibilities for interaction with the API once authenticated. To view the technical documentation in a web browser, log in to the relevant triReduce service and then visit /api/v1/doc. E.g. https://rates.trireduce.com/api/v1/doc/
TriOptima offers the API in two versions: read-only and full access. We will initially set up the access for read-only (only GET messages permitted) to enable development and testing of the API client. Following successful testing, full access can be enabled on request, allowing e.g. trade and risk data to be submitted through the API via POST messages.
To access the triReduce API you need to be a triReduce subscriber.
To initiate the testing process or for any other assistance, please contact triReduce support at your nearest TriOptima office, or email triReducefirstname.lastname@example.org
+1 646 744 0401
+44 207 382 2738
+46 8 545 25 145
+65 6372 8181
Reduce operational risk and manage counterparty risk exposure across your cleared and uncleared OTC derivatives portfolios.
Mitigate risk in the FX market, gain regulatory and economic capital benefits while reducing direct costs without changing your market risk positions.