NinjaTrader

The NinjaTrader integration runs on our Tradovate integration. Connect Tradovate and use your NinjaTrader username and password.

For more specific information about this integration, please see our page on the Tradovate integration.

Supported Asset Classes

  • Futures

NinjaTrader on TradersPost is the Tradovate connection

There is no separate NinjaTrader API in TradersPost. Your NinjaTrader login goes through the Tradovate integration, so what you read about Tradovate is what you get.

How a NinjaTrader login connects

Sending the same JSON you would send to Tradovate is the whole workflow.

  1. Your login

    NinjaTrader

    Sign in with your NinjaTrader username and password.

  2. Connection path

    Tradovate

    You connect through the Tradovate path.

  3. Platform

    TradersPost

  4. Subscription

    Futures strategy

    The account receives webhook alerts like any other Tradovate account.

What carries over from Tradovate

NinjaTrader via Tradovate

  • Futures only
  • No market data
Market data

None

No open-position P&L or current price in TradersPost.

Trailing stops

A percent trailing stop is converted to a fixed distance

The conversion uses the estimated entry price. Send trailAmount if you want a fixed trail on purpose.

Two-factor authentication

Approve the TradersPost email if 2FA is on

Otherwise live orders return a 401.

Asset classes

Futures only

Contracts

Use explicit contract symbols

Rolling contracts is up to you.

What NinjaTrader supports

Order types and features by asset class, as TradersPost sends them to NinjaTrader.

What NinjaTrader supports
Capability Futures Long and short
Order types
Market orders Yes
Limit orders Yes
Stop orders Yes
Stop-limit orders Yes
Trailing stops Yes
Time in force
Day Yes
Good till canceled Yes
Immediate or cancel Yes
Fill or kill Yes
At the open No
At the close No
Attached exits
Bracket orders Yes
OCO orders No
OTO orders Yes
Trailing stop attached Yes
Direction and size
Short selling Yes

NinjaTrader: 5 things that work differently

  • Orders Limit orders need a price in the signal

    NinjaTrader sends TradersPost no quotes, so there is no market price to build a limit from. Add "price" to the signal JSON, or the entry goes out as a market order instead.

  • Orders Relative exits and trailing stops need a price in the signal

    A percent or amount take profit or stop loss, or a trailing stop, is worked out from the entry price in your signal. Without one the signal fails with a message that a valid entry price is required.

  • Account One login lists every account on it

    Subscribe each account you want and the same alert reaches each one with that subscription's settings. Live and paper accounts both come from the one login.

  • Orders Take profit and stop loss attach as one bracket

    A take profit and a stop loss go out together as attached orders, and a single leg goes as OTO. A standalone OCO is not offered.

  • Account Paper has real-time fills but no market data

    A TradersPost paper broker cannot take Tradovate quotes, so connect a market data source such as TradeStation for paper trading.

Limitations

See the Tradovate Limitations documentation.

NinjaTrader automation questions

Is NinjaTrader a separate broker API from Tradovate?
For TradersPost, NinjaTrader orders use the Tradovate integration. Read the Tradovate notes for 2FA approval, paper quotes, and signal prices.