> For the complete documentation index, see [llms.txt](https://docs.hipersnipe.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hipersnipe.com/features/trade-journal.md).

# Trade Journal

The Trade Journal is the primary performance dashboard in the main menu.

## Access

Main menu → **📊 Trade Journal**

## What it shows

| Section        | Content                                                |
| -------------- | ------------------------------------------------------ |
| Lifetime stats | Net PnL (SOL), win rate, wins/losses count             |
| Avg hold time  | Average time positions were held before close          |
| 7-day net PnL  | Rolling weekly performance                             |
| Recent closes  | Last five closed positions with symbol, ROI %, and PnL |

Each recent close has a **View Details** button for per-trade breakdown (entry, exit, hold time, fees).

## Data source

Journal entries come from the `trade_journal` table (`db/history_dao.py`). Only **closed** cycles appear in Recent Closes — raw buy/sell legs are filtered out for a clean summary.

## Trade Journal vs Analytics

| Screen              | Access                                                | Focus                                                              |
| ------------------- | ----------------------------------------------------- | ------------------------------------------------------------------ |
| **Trade Journal**   | Main menu button                                      | Lifetime + 7d stats, recent closes, detail drill-down              |
| **Analytics & PnL** | `analytics_menu` callback (no main-menu button today) | Realized PnL total, win rate, last 5 trades from performance stats |

For day-to-day use, open **Trade Journal** from the main menu.

## Related

* [Analytics and PnL](/features/analytics-pnl.md) — cycle math and chart PnL
* [Transaction history](/features/transaction-history.md) — raw on-chain tx list (handler exists; not on main menu)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hipersnipe.com/features/trade-journal.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
