> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tradealign.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Import Trades — NinjaTrader

> Export your trade history from NinjaTrader and import it into TradeAlign.

TradeAlign automatically recognizes both NinjaTrader CSV exports:

* **Executions export** (recommended) — one row per fill from the Control Center. TradeAlign reconstructs your complete trades, including scale-ins and partial exits, and calculates P\&L using official futures tick values.
* **Trade Performance export** — one row per completed trade from the Trade Performance report.

## Step 1: Export trades from NinjaTrader

### Option A: Executions export (recommended)

1. Open the NinjaTrader **Control Center**
2. Go to the **Executions** tab
3. Set the date range to cover the trades you want to import
4. Right-click anywhere in the grid and choose **Export...**
5. Save the file in **CSV** format

### Option B: Trade Performance export

1. In the Control Center, go to **New** → **Trade Performance**
2. Set your account and date range, then generate the report
3. Open the **Trades** tab
4. Right-click in the grid and choose **Export...**, then save as **CSV**

<Warning>
  Before using the Trade Performance export, set the P\&L display unit to **Currency** (not Points or Ticks). The exported Profit column uses whatever display unit is selected, and TradeAlign expects dollar amounts.
</Warning>

<Tip>
  NinjaTrader only exports the columns currently visible in the grid. If you've customized your columns, restore the defaults before exporting so TradeAlign can recognize the format.
</Tip>

## Step 2: Open TradeAlign settings

1. Click the **Profile Icon** in the bottom-right corner
2. Select **Settings** → **Accounts**
3. Select the account you want to import trades into

If you haven't added an account yet, see [Add a Trading Account](/getting-started/add-trading-account) first.

## Step 3: Upload the CSV file

1. Click **CSV Import**
2. Select the **NinjaTrader** import option
3. Choose your exported CSV file
4. Confirm the upload

TradeAlign detects the NinjaTrader format automatically. With an Executions export, individual fills are grouped into complete trades — entries, exits, scale-ins, and reversals are all handled for you.

## Step 4: Verify your trades

After import, navigate to the [Trades Page](/journal/trades-page) to confirm:

* All expected trades are present
* Entry/exit prices, times, and symbols are correct
* Position sizes and P\&L match your records

<Note>
  Re-importing the same file won't create duplicates — TradeAlign uses NinjaTrader's execution IDs to skip trades that already exist.
</Note>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Trades not appearing">
    Make sure the CSV was exported with the default grid columns and that the date range covers the trades you need.
  </Accordion>

  <Accordion title="A trade shows as open">
    If the export's date range cuts off before a position was closed, the remaining position imports as an open trade. Re-export with a wider date range, or close the trade manually on the Trades Page.
  </Accordion>

  <Accordion title="P&L looks wrong (Trade Performance export)">
    Check that NinjaTrader's P\&L display unit was set to **Currency** when you exported. Exports in Points or Ticks will import incorrect dollar amounts.
  </Accordion>

  <Accordion title="Wrong account">
    Trades are imported into the account you selected in Settings. Double-check your account selection before uploading.
  </Accordion>
</AccordionGroup>

<Check>
  Once your NinjaTrader trades are imported, you can begin journaling and reviewing them on the [Trades Page](/journal/trades-page).
</Check>
