Welcome to the NT Connect Partner API

The NT Connect API is a robust web interface partners may utilize to bring our trading services to their own applications and extensions. There are a number of supported operations that a partner can perform by accessing the REST and WebSocket APIs. Almost all the functionality that is available in the NinjaTrader applications has been exposed via the API; aside from privileged creation and update commands.

What You Can Do With the API

The possibilities are extensive. From managing users and market data subscriptions to real-time position management – read on to learn more about all the features the API supports.

Create and Manage Organization Users

Our partners have access to robust user creation and management features. Once you complete your integration you will be able to:

  • Create new organization members individually or in bulk
  • Add entitlements and subscription plans unique to your organization
  • Cancel entitlements, subscription plans, or trading permissions for a user

Create and Manage Organization Accounts

Similarly, our partners are able to create and manage simulation accounts for their organization. Once you complete your integration you will be able to:

  • Create an individual account or bulk create accounts
  • Generate trading permissions for organization accounts
  • Apply and manage risk settings, both pre- and post-trade, to your organization accounts
  • Halt trading for a risk category or across your entire organization for holiday events

Real-Time Operations and Risk Management

The API enables our partners to make decisions in real-time. You can also setup a subscription to real-time events using our WebSocket. See our WebSocket section for more information.

Market Data Access

The NT Connect Market Data API provides a way to access market data such as quotes, DOM, charts and histograms. The API uses JSON format for request bodies and response data. The exchange of requests and responses are transmitted via the NT Connect WebSocket protocol.

How to Access the API

Users can access the API by making REST requests or by establishing a WebSocket connection.

To access the API, you need to have Organization Admin credentials, an API Key, and a CID. An NT Connect Support representative can help you get started.

Production

  • live.tradovateapi.com for Live only functionality
  • demo.tradovateapi.com for simulation engine
  • md.tradovateapi.com for a market data feed

Staging

  • live-api.staging.ninjatrader.dev for Live only functionality
  • demo-api.staging.ninjatrader.dev for simulation engine
  • md-api.staging.ninjatrader.dev for a market data feed

We support a relaxed REST API. We recommend using GET or POST methods based on the particular endpoints you’d like to access, but do not enforce the request method you use. It is generally the case that if you need to send a JSON body with your request it should be a POST, while requests that require no body can use the GET method. All responses from the NT Connect REST API are in JSON format.

Next Steps

If you’ve already registered as a partner, you can start using the API right away. You simply need to acquire an access token using your API Key, as described in the Authentication section.