Portfolio / Trade history analyzer
Trade history analyzer
Export your trade history, press one button, and a macro builds three sheets: a clean log, your performance, and your real patterns by time of day, day of the week, long vs. short and how long you hold. The example uses TSLA.
Press Analyze. Let’s find out what kind of trader you really are.
Meet Jordan, who day-trades TSLA a few mornings a week.
Jordan has a gut sense of what works but has never actually checked. The broker exports a raw list of fills, and turning that into anything useful by hand would take an evening Jordan doesn’t have.
Example scenario: the people and businesses on this page are made up.
Before
- A raw export of fills, nothing more
- A gut feeling about what works
- No idea if afternoons are worse
- Losing trades held "just a bit longer"
After
- A clean log with profit and hold time
- Win rate, average win and loss, profit factor
- Results by time of day, day and side
- Plain-English notes on what to change
Try it yourself
📖 What your trades are telling you
A simulation of Excel in your browser with sample TSLA trades. Not financial advice.
What this could be worth to you
An evening of spreadsheet work turns into one click every week.
Example numbers to start you off. Move the sliders to match your business. These are estimates, not a guarantee or financial advice; your results depend on your situation.
The problem
Broker exports list every fill but say nothing about patterns, so habits like holding losers too long or trading badly in the afternoon go unnoticed.
The solution
A macro that cleans the export, calculates profit and hold time for every trade, then writes three sheets: the clean log, a performance summary and a patterns sheet. It finishes with a short list of the habits that matter most.
How it's built
- ImportPaste or open the broker’s export.
- CleanSplit dates and times, label long and short.
- CalculateProfit, loss and hold time per trade.
- SummarizeWin rate, averages, profit factor, streaks.
- PatternBy time of day, weekday, side and hold time.
Grouping trades by time of day in VBA:
For r = 2 To lastRow
t = log.Cells(r, "C").Value
If t < TimeValue("10:30") Then
bucket = "Open"
ElseIf t < TimeValue("14:00") Then
bucket = "Midday"
Else
bucket = "Last 2 hours"
End If
stats(bucket).Add log.Cells(r, "I").Value ' P/L
Next r
What it makes possible
- See your real patterns in seconds
- Change the habits that cost the most
- Re-run it every week in one click
Skills shown
More to try
Want to know what your own trades say?
I can set this up for your broker’s export. Educational tools only, not advice.
Starting prices are for smaller projects. Bigger or more complex jobs are priced by scope: how much there is and how long it takes.