# Dashboard & Analytics

The **Dashboard & Analytics** section is the operational core of LogYourTrades, giving you a **real-time, unified overview** of your entire Solana trading journey. As soon as you connect your wallet, the dashboard aggregates your **complete trading history**, current **portfolio value**, and all key **performance metrics** into a modern, intuitive interface.

***

### Unified, Real-Time Data <a href="#unified-real-time-data" id="unified-real-time-data"></a>

Every element on the dashboard is powered by **wallet-based analytics**. LogYourTrades connects directly to your Solana wallet, fetching your **trade history**, **current holdings**, and transaction data from multiple sources. This means you always have a **complete and accurate view** of your trading activity, with no manual data entry required.

The dashboard supports **multi-period analysis**—you can instantly review your performance over **1 day, 7 days, 30 days, or all time**. All data is available in both **SOL and USD**, and you can toggle between these currencies with a single click.

***

### Key Dashboard Capabilities <a href="#key-dashboard-capabilities" id="key-dashboard-capabilities"></a>

* **Portfolio Overview:** Instantly see your **total portfolio value**, **profit & loss**, and **win rate** for any selected period. These metrics are calculated in real time and updated automatically as new data comes in.
* **Active Positions:** View all tokens you’re holding, including their **live values**, **unrealized P\&L**, and enriched **token metadata** (names, symbols, logos).
* **Recent Trades:** Access a detailed, chronological transaction feed. Every trade includes **P\&L calculations**, timestamps, and direct **Solscan links** for on-chain verification.
* **Analytics & Insights:** Dive deeper into your data with **interactive charts**, **ROI calculations**, and **performance breakdowns**. Instantly spot trends, best/worst trades, and portfolio shifts over time.

***

### Engineered for Speed and Accuracy <a href="#engineered-for-speed-and-accuracy" id="engineered-for-speed-and-accuracy"></a>

The backend architecture is optimized for **speed, reliability, and scalability**. Using a **multi-tier caching system,** LogYourTrades ensures that your dashboard loads instantly, even for large portfolios or returning users. **Background updates** keep your data fresh without interrupting your workflow, and all calculations are performed server-side for maximum accuracy and security.

***

### Seamless User Experience <a href="#seamless-user-experience" id="seamless-user-experience"></a>

The frontend is built with **React 18** and **Tailwind CSS**, providing a **responsive, mobile-friendly interface**. You’ll find **tabbed navigation**, clear metric cards, and interactive visualizations. Features like the **currency toggle**, **period selector**, and **refresh button** are always within reach, letting you customize your view in real time.

***

### Why It Matters <a href="#why-it-matters" id="why-it-matters"></a>

The **Dashboard & Analytics** section is designed to be your **single source of truth** for Solana trading. Whether you’re tracking your overall performance, reviewing active positions, or analyzing recent trades, you’ll find all the information you need—**fast, reliable, and always up to date**.


---

# Agent Instructions: 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:

```
GET https://docs.logyourtrades.io/dashboard-and-analytics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
