Trade Import
Trade Import lets you upload your actual trade history to automatically populate your simulation parameters. Instead of manually entering your win rate, average win, and average loss, you import a file and Edge Engine calculates everything from the data, including a win distribution profile that captures the shape of your winning trades, not just the average.
How It Works
Click the Import button next to the Strategy header in the Simulation sidebar. A modal opens with two input modes:
Upload CSV
Drag and drop a CSV file (or click to browse), and Edge Engine will parse the file and display all detected columns. Numeric columns are selectable; non-numeric columns are greyed out. Click the column that contains your per-trade P&L values.
Edge Engine auto-detects common P&L column names (Profit, P&L, Net P&L, Return, Result, etc.) and will pre-select the column if a match is found. If the auto-detection picks the wrong column or your file uses an unusual header, just click the correct one.
The parser supports CSV, TSV, and TXT files with comma, tab, or semicolon delimiters. Quoted fields and currency symbols ($, €, £, ¥) are handled automatically.
Paste Values
If you don’t have a CSV export handy, you can paste P&L values directly into a text box, one value per line. Click Analyze to process the data. This mode is useful for quick tests or when copying a column from a spreadsheet.
What Gets Calculated
From your P&L data, Edge Engine computes:
- Win Rate — percentage of trades with positive P&L
- Average Win (R) — average winning trade expressed as an R-multiple, where 1R equals your average loss
- Average Loss (R) — always 1.0R by definition, since it is the unit of measurement
- Profit Factor — gross wins divided by gross losses
- Expectancy — the average R earned per trade
- Win Distribution — a histogram of your winning trades bucketed by R-multiple (small, medium, large, and outlier wins), which captures the shape of your edge more accurately than a single average
All values are shown in a preview panel before you apply them.
Win Distribution
The win distribution is one of the most valuable parts of the import. Most traders’ winning trades are not evenly distributed around the average. A typical pattern might be 60% of wins in the 1.0–1.9R range, 25% in the 0.5–0.9R range, and 15% above 2R. This shape has real implications for simulation accuracy.
When you apply imported data, the Win Distribution toggle in the sidebar is automatically enabled and populated with the computed buckets. The simulator will then sample winning trade sizes from this distribution rather than using a single flat average, producing equity curves and drawdown profiles that more closely reflect your actual trading.
You can still manually adjust the buckets after importing if you want to tweak them.
Sample Size and Accuracy
The number of trades you import directly affects the reliability of the computed statistics. Edge Engine displays a sample size indicator after analysis:
- Under 50 trades — a warning is shown. Statistics from fewer than 50 trades are not statistically meaningful. Your real win rate, average win, and loss distribution could be significantly different from what a small sample suggests. You can still apply the results, but the simulation inputs should be treated as rough estimates.
- 50–99 trades — a note indicating a reasonable but not ideal sample. Core statistics like win rate are becoming stable, but the win distribution shape may still be noisy.
- 100+ trades — a confirmation that the sample size is solid. At 100 or more trades, win rate estimates are typically stable within a few percentage points and the distribution shape is representative.
The more trades you import, the more accurate your simulations will be. If your trading journal or platform supports exporting your full trade history, use the complete dataset rather than a recent subset.
Applying to the Simulator
After reviewing the preview, click Apply to Simulator to set the following parameters in one step:
- Win Rate — set to the computed value
- Avg Win — set to the computed R-multiple
- Avg Loss — set to 1.0R
- Win Distribution — enabled and populated with the computed buckets
Your previous values for these fields will be overwritten. All other simulation parameters (trades per day, risk per trade, account size, prop firm settings, etc.) remain unchanged.
Getting Your Trade Data
Most trading platforms and journals support CSV export. Check your platform’s settings or reporting section for an option like “Export trades,” “Download trade history,” or “Export to CSV.” Most trading platforms, brokers, and journaling tools support CSV export.
The only column Edge Engine needs is a per-trade P&L (profit/loss) value. Your file can contain as many other columns as you like and the column mapper lets you pick the right one.