TT® REST API 2.0

Introduction to TT REST API

The TT REST API 2.0 gives you the tools you need to leverage the power of the TT platform within your own applications. You can access the same product information services, risk management and market connectivity used by the TT platform - all through an easy-to-use REST API.

The TT REST API provide a number of resources:

  • TTID: Authenticate and authorize applications to access the resources of the TT platform.
  • TTPDS: Request information pertaining to exchanges, products and instruments.
  • TTLedger: View transaction details and historical record.
  • TTMonitor: Add administrative fills and view credit limits, credit utilitzation, position, and Start-of-Day (SOD) records for a given account.
  • TTSetup: View and set company-level product margins, order tag defaults, exchange connections, and organizations.
  • TTUser: View and set risk limits, market data access, contracts, and product settings for given users or user groups.
  • TTAccount: View and set risk limits, trade permissions, and users for a given account.
  • TTGroup: Create and manage risk limits for risk groups, risk accounts, and user groups.

To view a sample application which makes use of the TT REST API, visit TT's public Github repository.

Note: The Ledger and Monitor services are not intended to be used as a real-time feed since there may be delays between the time at which order and fill events occur and the time when they are available via TT REST API. Applications requiring a real-time feed should use TT .NET SDK or TT FIX.

Environments: directing your requests

TT provides 2 environments for use with the TT REST API, a UAT environment which is used when developing and testing your application, and a production environment. Requests to the TT REST API target the environment and requested service use the following base URL:

apigateway.trade.tt/<service>/<environment>.

  • The value for <service> is documented on each service's page.
  • The testing environment can be reached by using the following value: ext_uat_cert
  • The production environment used when deploying your application can be reached by using: ext_prod_live

Note: To ensure proper routing of all requests, users must use an HTTP library that supports 303 redirects.

Contacting TT Support

If you need help with TT REST API issues, you can submit a support ticket. To submit a support ticket, visit TT Support Center page in Resources section of the TT website and click Submit Incident.