> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# NinjaTrader Developer Docs

> Build on the NinjaTrader and Tradovate platform with REST APIs, desktop and web SDKs, an AI-ready MCP server, and the Ecosystem marketplace.

# Build on the NinjaTrader Platform

REST APIs, desktop and web SDKs, an AI-ready MCP server, and the Ecosystem
marketplace — everything you need to build indicators, strategies, add-ons,
and integrations for traders.

[✦ Ask AI about the developer platform ⌘ + /](/?searchType=ai)

## Build with NinjaTrader SDKs

[<circle cx="12" cy="12" r="10" /><line x1="2" y1="12" x2="22" y2="12" /><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" />](/web-trader)

JavaScript

### Web Trader

Create indicators and drawing tools for the NinjaTrader web trader with JavaScript.

Explore Web Trader

<path d="M5 12h14M12 5l7 7-7 7" />

[<rect x="2" y="3" width="20" height="14" rx="2" /><line x1="8" y1="21" x2="16" y2="21" /><line x1="12" y1="17" x2="12" y2="21" />](/ninjascript)

NinjaScript / C#

### NinjaScript

Build custom indicators, strategies, and add-ons for NinjaTrader 8 Desktop with NinjaScript and C#.

Explore NinjaScript

<path d="M5 12h14M12 5l7 7-7 7" />

## Build with NinjaTrader APIs

[<polyline points="16 18 22 12 16 6" /><polyline points="8 6 2 12 8 18" />](/api)

REST

### Trade API

The trading API — authentication, orders, positions, accounting, and risk. For third-party platforms and traders automating against the API.

Explore the API

<path d="M5 12h14M12 5l7 7-7 7" />

[<polyline points="22 12 18 12 15 21 9 3 6 12 2 12" />](/market-data)

WebSocket

### Market Data API

Real-time market data over WebSocket — quotes, depth of market, histograms, charts, and sentiment. Subscribe and stream live events.

Explore Market Data

<path d="M5 12h14M12 5l7 7-7 7" />

[<path d="M12 2a3 3 0 0 0-3 3v1a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z" /><path d="M19 11a7 7 0 0 1-14 0" /><line x1="12" y1="18" x2="12" y2="22" />](/mcp)

Model Context Protocol

### MCP Server

Connect AI assistants to the NinjaTrader-hosted MCP server to query accounts, positions, and market data in natural language.

Explore MCP

<path d="M5 12h14M12 5l7 7-7 7" />

[<path d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.3 2.3a1 1 0 0 0 .7 1.7H17" /><circle cx="9" cy="20" r="1" /><circle cx="17" cy="20" r="1" />](/marketplace)

Ecosystem Vendor API

### Marketplace

Manage paid NinjaScript add-ons and extensions — licenses, products, and customers — with the Ecosystem Vendor API.

Explore the Marketplace API

<path d="M5 12h14M12 5l7 7-7 7" />

### Ready to build?

Start with the API reference, or reach out if you need help getting access.

[View the API](/api)

[Contact Support](https://support.ninjatrader.com)

[NinjaTrader API License Agreement](/api/ninja-trader-api-license-agreement)