Skip to main content

Positions

Position reads and mutations support both platforms. NT8 uses /v1/api through the connected add-on and supports WebSocket RPC. Linked Tradovate accounts use REST-only /v1/api/tv routes. Choose the NT8 or Tradovate tab on each endpoint page for the correct route and platform-specific fields.

The path a positions request takes through the CrossTrade API. A bearer token authenticates it, then the route prefix decides which surface handles it: the NinjaTrader path calls through to the add-on inside a running NinjaTrader, while the Tradovate path runs server-side against a linked account with nothing open on the caller’s machine. Mutating requests additionally pass the same account controls a webhook does before anything reaches the broker.

Close, flatten and reverse are mutations, so the full control chain runs first.

  • GET All Positions: Returns list of all open positions for all instruments all accounts
  • GET Positions: Returns list of all open positions for all instruments in a specific account.
  • GET Position: Returns information on a specific position specified by instrument.
  • POST Close Position: Closes a position in a specific account by instrument. Returns a list of positions closed in the account for the specific instrument.
  • POST Reverse: Reverses the position specified by instrument in the account.
  • POST Reverse Position: Reverses the position specified by instrument in the account.
  • POST Flatten Positions: Flatten positions by account and/or instrument.
  • POST Flatten Everything: Flattens all positions and orders in all accounts for all instruments.