Black Friday50% off TDLab Pro, annual and monthly. Until Sunday 6 December.50% off until 6 Dec

See the codes
All guides
Accounts & data

Import NinjaTrader Web Orders

Updated Sep 26, 20265 min read

NinjaTrader Web Orders contains fills rather than completed trade rows. It is different from the NinjaTrader Desktop Trade Performance → Trades report.

Required file: NinjaTrader Web Orders CSV

Choose the matching source in Add trades → File / Report. Upload the original export without renaming columns or changing values.

Export the correct file

  1. Open Reports from the side menu

    In the right sidebar, open the hamburger menu and select Reports. The path is identical in NinjaTrader Web and Tradovate Web.

    NinjaTrader Web and Tradovate Web with the Reports menu highlighted in the right sidebar
    Open the highlighted menu in the right sidebar and select Reports.
  2. Set Report Type to Orders

    Choose Orders. Fills, Performance, daily statements and monthly statements are different reports and are not accepted here.

  3. Filter one account and a flat range

    Filter one source account. Choose a range that starts flat and ends after every included position is flat again. Keep Account, Order ID, B/S, Contract, avgPrice or Avg Fill Price, filledQty or Filled Qty, Fill Time, Status and Notional Value. Also keep Type, Limit Price, Stop Price, Timestamp and Version ID: TDLab uses them to read stop loss and take profit.

  4. Download the CSV

    Click GO, then download CSV. Do not download PDF. This source accepts the Orders CSV only.

  5. Match the report clock

    The CSV has no reliable UTC offset. Compare Fill Time with a known execution. Choose America - Chicago only when the time matches Central Time; otherwise use the platform or computer timezone. Historical-data export in UTC is a different file.

  6. Add stops and targets to NinjaTrader Desktop trades

    If you trade from NinjaTrader Desktop on a NinjaTrader account, import both Desktop Trade Performance → Trades and this Orders CSV for the same period with the same timezone, in either order. Matching trades are not duplicated: Desktop adds the commissions, Orders adds stop loss and take profit, and values already set are never overwritten.

Before you import

Filled orders are rebuilt into closed round trips with contract, direction, size, fill times and gross P&L. Working, cancelled and rejected rows are not trades. Stop loss and take profit are inferred from the Stop and Limit orders on the exit side placed while the position was open, including cancelled ones: the first stop is the initial stop loss, the first limit the take profit.

Format and data limitations

Orders does not provide commissions, so fees are stored as zero and P&L is gross. A position still open at the end of the file is not imported. Starting in the middle of a position can reconstruct the wrong direction. Files with no source account or more than one account are rejected. Stop loss and take profit are inferred, since the file does not link brackets to entries. A modified order keeps only its last price, so a moved stop can be tighter than the initial one. A stop at breakeven or in profit is not used as stop loss. Positions scaled in with different stop or target levels are left empty, and so are both values when Type, Limit Price, Stop Price or Timestamp are missing.

Import it into TDLab

  1. Open the trading account that should receive the trades.
  2. Open Add trades and select File / Report.
  3. Select this exact platform/source and the timezone used by the file timestamps.
  4. Upload the file and compare the time preview with a known execution.
  5. Confirm the import, then check imported and skipped rows in Import History.

Return to the file import overview to compare all supported sources.

Put the evidence to work.

Connect your real trades with behavior, rules and historical market context. Start free for 14 days.