# Analytics

<figure><img src="/files/2IEUFMZT5KM26KxHEHZ7" alt=""><figcaption></figcaption></figure>

### KPI Cards (top row)

* **Total PnL (SOL)**: Realised profit/loss from closed trades in the selected period.
* **Solana Spent (SOL)**: Total SOL deployed on buys in the period.
* **PnL %**: `(Total PnL / Solana Spent) × 100`.
* **Total Trades**: Number of closed trades (includes wins, losses, and break‑even).
* **Wins / Losses / BE**: Count of trades by outcome. *BE = break‑even*.
* **Avg PnL / Trade (SOL)**: `Total PnL ÷ Total Trades`.
* **Win Rate**: `Wins ÷ (Wins + Losses) × 100` (break‑evens excluded).

> Tip: Use **PnL %** to compare strategies with different buy sizes; use **Avg PnL/Trade** to detect over‑trading.

***

### Charts

* **PnL (SOL) — last 7 days**: Net PnL per day. Hover to see exact values.
* **Solana Spent — last 7 days**: Daily buy spend. Spikes here without a matching PnL rise can signal over‑aggressive entries.

> If your timezone differs from the bot’s execution time, values may roll over at a different local hour.

***

### Recent Trades

A chronological table of your latest closed trades.

**Common columns**

* **Time** (UTC)
* **Token** (name / CA)
* **Size (SOL)**
* **PnL (SOL)** and **PnL %**

> Click a row to open full details for that trade (use this to validate slippage/fees and exit logic).

***

### Task Analysis

Compare every task you’ve run over the selected period.

**Per‑task metrics**

* **Wins / Losses / BE**
* **Win Rate**
* **Trades**
* **PnL (SOL)**
* **PnL %**
* **Avg PnL / Trade (SOL)**
* **Solana Spent (SOL)**

***


---

# 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.leap-blockchain.com/leap-trading-sol-bot/leap-trading-bot-setup/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.
