NT8

•
37
•

Empowers AI coding assistants with a comprehensive build loop for NinjaTrader 8 NinjaScript, providing offline and in-platform compilation, structured error feedback, chart analysis, log capture, and robust headless backtesting capabilities.

NT8 is a Model Context Protocol (MCP) server paired with a NinjaTrader 8 AddOn, designed to enable AI coding assistants to autonomously develop and refine NinjaScript for algorithmic trading. It replicates a human developer's workflow, allowing AI to write code, compile it, visually check chart indicators and drawings, read all printed output and logs, perform headless backtests, and conduct optimizations. This tool provides a real compile loop with structured errors, captures comprehensive chart data and logs, runs powerful backtests and walk-forwards, and even offers a simulation bench for validating strategies against Market Replay. Prioritizing development and safety, it is read-only by default and includes stringent safeguards for any order placement, limiting it to simulator accounts only.

주요 기능

01Enables headless backtests, optimizations, and walk-forward analyses, generating summary metrics and detailed trade lists.
02Provides a full NinjaScript compile loop with offline checks, in-platform compilation without UI, and structured error reporting.
030 GitHub stars
04Captures all NinjaScript `Print()` output and NinjaTrader's internal log events, accessible even when UI windows are closed.
05Offers "eyes on the chart" functionality, allowing AI to read indicator plot values, drawing objects, and historical bar data.
06Includes a simulation bench to run strategies on Simulator or Market Replay accounts and reconcile actual fills against backtest results.

사용 사례

01Allow AI assistants to autonomously write, compile, and debug NinjaTrader 8 indicators and strategies.
02Automate the backtesting, optimization, and walk-forward analysis of NinjaScript strategies without manual intervention.
03Verify the visual output and mathematical correctness of indicators directly from chart data using an AI assistant.