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

# SDK & Samples

# SDK & Samples

The [nt-eval-sdk](https://github.com/NT-NinjaTrader/nt-eval-sdk) is the reference TypeScript SDK for
eval and prop-firm partners (and organization administrators) integrating with the Tradovate
Partner API.

It wraps both the REST API and the real-time WebSocket feed, and ships production-ready features:

* Authentication with automatic token refresh
* Automatic reconnection and connection health monitoring
* Client-side rate limiting and message queueing
* Fully typed request/response models
* Configurable environment presets (staging, production)

Worked examples cover common partner workflows — listening for alert signals to auto-assign
entitlements, resetting demo accounts, switching risk categories, and liquidating positions.
Configure your environment and partner credentials following the SDK's README.

## Sample Projects

Tradovate also maintains open-source example projects that show how to use the API directly in different languages:

* [JavaScript tutorial](https://github.com/tradovate/example-api-js)
* [C# trading guide](https://github.com/tradovate/example-api-csharp-trading)
* [OAuth guide](https://github.com/tradovate/example-api-oauth)
* [API FAQ](https://github.com/tradovate/example-api-faq)