Skip to navigation

Order Strategy List

View as Markdown

List all order strategies.

Available to: Traders (own accounts and any they hold an approved trading permission for); organization administrators (any account in their organization)

Environments: Demo, Live

Rate Limit: No endpoint-specific limit

On Live, some organizations restrict administrators from accessing other members’ accounts unless they hold an approved trading permission for that account.

Retrieve every order strategy you can access. Organization administrators receive the order strategies for accounts in their organization; traders receive the order strategies for their own accounts and any they hold an approved trading permission for.

Common Failure Scenarios

  • Order strategies you can’t access are left out of the response array. The call doesn’t return an error for them.
  • The caller’s user type, or the API key’s permissions, can’t read order strategies. This returns HTTP 401 with "Access is denied".

Error Messages

MessageResponseTrigger
"Access is denied"401The caller’s user type, or the API key’s permissions, can’t read order strategies.

Related Endpoints

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

OrderStrategy
accountIdlong
timestampdatetime
contractIdlong
orderStrategyTypeIdlong
actionenum
Buy, Sell
Allowed values:
statusenum
ActiveStrategy, ExecutionFailed, ExecutionFinished, ExecutionInterrupted, InactiveStrategy, NotEnoughLiquidity, StoppedByUser
idlongOptional
initiatorIdlongOptional
paramsstringOptional<=8192 characters
uuidstringOptional<=64 characters
failureMessagestringOptional<=512 characters
senderIdlongOptional
customTag50stringOptional<=64 characters

Operator ID for the order. Send it only if NinjaTrader configured an allow-list of operator IDs for your user. In that case it’s required on every order and must exactly match one approved value. If no allow-list is configured, omit it: a supplied value is denied. Organizations using passthrough also omit it, and NinjaTrader fills it in. Up to 64 characters. See Operator ID (customTag50) and Passthrough.

userSessionIdlongOptional