This repository contains auto-generated scaffolding code and documentation for the NinjaTrader 8™ (NT8) trading platform’s NinjaScript framework.
All content is produced via .NET reflection—no original platform code is included.
A custom tool used to build contents of this repository is available at ninjatrader-autodocs-tools.
This project is intended to enhance code awareness for LLM agents and code tools when working on NinjaTrader client code (e.g., custom indicators, strategies).
It is designed to be used in conjunction with tools such as:
These tools can ingest the scaffolding and documentation to provide better code completions, analysis, and AI-driven coding support.
- Scaffolding code for NinjaScript framework (classes, methods, etc.), auto-generated via .NET reflection.
- Commented code containing class definitions from generated-code/ enriched with LLM-generated detailed comments.
- No original or proprietary NinjaTrader source code.
Navigate to https://gitmcp.io/matdev83/ninjatrader-autodocs to get instructions on how to set up your local coding platform using MCP, so agents can be made aware of the details of the NinjaScript™ framework.
- This repository does not contain any original source code from NinjaTrader or any of its components.
- All data and code here are derived from publicly exported structures that can be legally inferred through .NET reflection.
- The author is not affiliated with NinjaTrader or its parent companies.
- Use of the NinjaTrader 8 platform requires a valid license and is subject to its licensing agreement.
You must comply with all terms and only use these materials if you are properly licensed.
This project is provided for research and development purposes only.