An API for a trading platform that never shipped one.
NinjaTrader 8 has no command line compiler, no scripting API and no backtest API. This control plane puts one HTTP endpoint in front of it, so a program or an AI agent can write NinjaScript, compile it, read the compiler errors, run a backtest and take screenshots.
An independent project. It is not affiliated with, endorsed by or supported by NinjaTrader. It needs your own NinjaTrader 8 install on Windows. It is a development tool, not financial advice.
Predictable on top of a GUI that was never meant to be driven.
The hard part is not calling an API. It is making a desktop app behave like one, and proving that every step worked.
- Compiling by keystroke, proven by fileThe server sends F5 to the NinjaScript editor, then treats a new NinjaTrader.Custom.dll as the only proof of success. No new assembly in time means the compile failed.
- Compiler errors you can readOn a failed compile it captures the editor Errors panel, the only place the file, line and CS error code exist.
- Honest capability tiersAll 64 commands are tagged working, best effort or platform gap. A gap returns an error code and what to do by hand, never a fake success.
- An evidence trail for every callEach command writes a manifest, its full JSON response and any screenshot, so an agent loop of write, compile, fix and recompile can be checked afterwards.
What it needs, and where it runs.
- Requires
- Windows and Python 3.11+Plus a NinjaTrader 8 install. Standard library only; Pillow is optional.
- Runs
- On your machineThe control plane listens on 127.0.0.1:8088, next to NinjaTrader.
- Commands
- 64 over one endpointPOST /v1/nt8/command, with the capability map at GET /v1/nt8/capabilities.
- Tests
- Offline suites includedThe diagnostics run without NinjaTrader, in under a minute.
Send it to my inbox.
Give us an email and the repo link plus the commands to run it land there in about a minute. It is also public on GitHub, so this is for convenience, not a gate.
Personal inboxes only / Gmail, Outlook, Proton, iCloud and the like / No temporary addresses / One email, no list, unsubscribe not needed
Sent. Check your inbox.
It should land within a minute. If it is not there, look in spam and mark it as not spam, so the rest actually reaches you.
Want the repo right now instead of waiting?
Open it on GitHub ↗ github.com/Hieronymos2077/ninjatrader-control-planeWe build the automation, then we give the tools away.
We build trading tools and AI agents that do real work, and needed an agent to iterate on NinjaScript strategies without a person clicking compile. It is one small piece of what we build. If your business has a job being done by hand that a system should be doing, that is the actual work.
15 MINUTES / NO COMMITMENT / A PRACTICAL PLAN