Barfinex
Loading
All exchanges
NinjaTrader

NinjaTrader

Coming SoonFutures & Derivatives
connectorType: "ninjatrader"

Futures trading platform for active traders

Connection Architecture

NinjaTrader
WebSocket / REST
Connector
libs/exchange-ninjatrader
Provider
:8081/api
Detector
Advisor
Studio

The connector feeds exchange data to Provider. Detector receives market data, Studio receives read views, and Advisor sees only signed candidate evidence.

Technologies

Transport
WebSocketREST
Authentication
Username + Password
Data Format
JSON

Best for

  • Existing NinjaTrader users who want Barfinex analytics and ML signals applied to their NinjaTrader-routed executions.
  • Strategy developers running NinjaScript automations who need an external monitoring and risk layer.
  • Multi-broker traders using NinjaTrader as a unified gateway to multiple clearing firms.

Connect via code

1Environment variables (.env)

NINJATRADER_USERNAME=your_username_here
NINJATRADER_PASSWORD=your_password_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "ninjatrader",
        "enabled": true,

        "markets": [
          { "marketType": "spot", "symbols": [{ "name": "BTCUSDT" }] }
        ],
        "subscriptions": [
          { "type": "PROVIDER_MARKETDATA_CANDLE", "symbols": ["BTCUSDT"], "intervals": ["min1", "h1"], "active": true },
          { "type": "PROVIDER_MARKETDATA_TRADE", "symbols": ["BTCUSDT"], "active": true },
          { "type": "PROVIDER_MARKETDATA_ORDERBOOK", "symbols": ["BTCUSDT"], "active": true }
        ]
      }
    ]
  }
}

3Verify and query data

Public verification
1. Configure credentials in the private Provider environment.
2. Verify connector status in the internal Studio/Provider console.
3. Use Barfinex public pages to inspect market data.

Operator Provider commands and tokens remain in internal runbooks only.

Available via Barfinex API

/api/candles/ninjatrader/...
/api/trades/ninjatrader/...
/api/orderbook/ninjatrader/...
/api/account/ninjatrader/...
/api/symbols/ninjatrader/...
/api/assets/ninjatrader/...

Studio graphical setup — in development, coming in the next release.

Important

NinjaTrader integration requires NinjaTrader 8 with the Barfinex add-on installed locally.
The connection uses NinjaTrader's local server API; both applications must run on the same machine or network.
Supported Markets
Futures
Connect in Studio(soon)
Exchange Website

Let’s Get in Touch

Have questions or want to explore Barfinex? Send us a message.