> ## Documentation Index
> Fetch the complete documentation index at: https://goldenpocket.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 🔬 Advanced Analytics

> Deep insights into trading behavior and performance patterns

## Advanced Performance Metrics

<Frame>
  <div style={{pointerEvents: "none", overflow: "visible", height: "150px", display: "flex", alignItems: "center", justifyContent: "center"}}>
    <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Advanced-Performance-Metrics.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=1388e044f09cbf7fd0c0f3c430591ce6" style={{width: "100%", height: "auto", transform: "scale(3.8)", transformOrigin: "center"}} alt="Advanced performance metrics dashboard" width="2394" height="518" data-path="feature-images/Advanced-Performance-Metrics.png" />
  </div>
</Frame>

**What it is:** Extended performance statistics focused on trade quality and costs.

### Metrics Included

* Total Gain / Loss — Sum of PnL from winning trades vs. losing trades
* Total Trade Volume — Cumulative notional traded (same concept as **Total Volume** on Overview)
* Largest Gain — Biggest single-trade profit in the filtered set
* Largest Loss — Biggest single-trade loss in the filtered set
* Average Win vs. Average Loss — Mean size of winning trades vs. losing trades
* Average Fee per Trade — Mean fees per trade

### Key Insights

* Evaluate trade quality beyond win rate
* Assess whether winners outweigh losers
* Monitor execution efficiency

## Long vs. Short Analysis

<Frame>
  <div style={{pointerEvents: "none", overflow: "visible", height: "150px", display: "flex", alignItems: "center", justifyContent: "center"}}>
    <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Long%20-vs.-Short-Analysis.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=133b6f223020f60fc7090770525ae681" style={{width: "100%", height: "auto", transform: "scale(3.8)", transformOrigin: "center"}} alt="Long vs Short analysis comparison" width="2394" height="518" data-path="feature-images/Long -vs.-Short-Analysis.png" />
  </div>
</Frame>

**What it is:** Directional performance comparison.

**What it's for:** Identifies whether long or short trades perform better.

### Insights Provided

* Win rate comparison
* PnL comparison
* Duration differences

### Key Insights

* Discover directional edge
* Optimize bias based on market conditions

## Day of Week Analysis

<div style={{width: "63%"}}>
  <Frame>
    <div style={{pointerEvents: "none", overflow: "visible", height: "210px", display: "flex", alignItems: "center", justifyContent: "center"}}>
      <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Day-of-Week-Analysis.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=84a3c39e9ed1c47095ca86478ef63ebe" style={{width: "100%", height: "auto", transform: "scale(5.8)", transformOrigin: "center"}} alt="Day of week performance analysis" width="1176" height="592" data-path="feature-images/Day-of-Week-Analysis.png" />
    </div>
  </Frame>
</div>

**What it is:** PnL and activity breakdown by weekday.

**What it's for:** Identifies recurring weekly performance patterns.

### Key Insights

* Optimize trading schedule
* Avoid consistently underperforming days

## Time of Day Analysis

<div style={{width: "63%"}}>
  <Frame>
    <div style={{pointerEvents: "none", overflow: "visible", height: "210px", display: "flex", alignItems: "center", justifyContent: "center"}}>
      <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Time-of-Day-Analysis.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=a684edfa6d515d059629008a423bf5ef" style={{width: "100%", height: "auto", transform: "scale(5.8)", transformOrigin: "center"}} alt="Time of day performance analysis" width="1176" height="592" data-path="feature-images/Time-of-Day-Analysis.png" />
    </div>
  </Frame>
</div>

**What it is:** Hourly performance breakdown.

**What it's for:** Identifies peak profitability hours.

### Key Insights

* Align trading activity with optimal market windows
* Especially useful for day traders and scalpers

## Trading Session Analysis

<div style={{width: "63%"}}>
  <Frame>
    <div style={{pointerEvents: "none", overflow: "visible", height: "210px", display: "flex", alignItems: "center", justifyContent: "center"}}>
      <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Trading-Session-Analysis.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=e709e87335c5abd35bdeb208b74b4936" style={{width: "100%", height: "auto", transform: "scale(5.8)", transformOrigin: "center"}} alt="Trading session performance analysis" width="1176" height="568" data-path="feature-images/Trading-Session-Analysis.png" />
    </div>
  </Frame>
</div>

**What it is:** Performance grouped by trading sessions.

**What it's for:** Compares performance across major trading sessions to identify when your results are strongest or weakest.

### Key Insights

* Compare session-level PnL and activity
* Identify which sessions contribute most to gains or losses

## Trade Duration Analysis

<div style={{width: "63%"}}>
  <Frame>
    <div style={{pointerEvents: "none", overflow: "visible", height: "210px", display: "flex", alignItems: "center", justifyContent: "center"}}>
      <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Trade-Duration-Analysis.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=1b9e135751133714ee7020855670e3d2" style={{width: "100%", height: "auto", transform: "scale(5.8)", transformOrigin: "center"}} alt="Trade duration analysis distribution" width="1176" height="568" data-path="feature-images/Trade-Duration-Analysis.png" />
    </div>
  </Frame>
</div>

**What it is:** Distribution of holding periods across time ranges.

### Duration Windows

* Very short-duration trades
* Intraday-duration trades
* Multi-day or longer-duration trades

### Key Insights

* Understand your trading style
* Identify optimal holding periods
* Detect premature exits or overstaying positions

## Order Type Analysis

<Frame>
  <div style={{pointerEvents: "none", overflow: "visible", height: "150px", display: "flex", alignItems: "center", justifyContent: "center"}}>
    <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Order-Type-Analysis.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=dfd27a0f15576e26cee257a3e2c59956" style={{width: "100%", height: "auto", transform: "scale(3.8)", transformOrigin: "center"}} alt="Order type performance comparison" width="2368" height="510" data-path="feature-images/Order-Type-Analysis.png" />
  </div>
</Frame>

**What it is:** Performance comparison by order type.

**What it's for:** Optimize execution strategy.

### Key Insights

* Identify whether market or limit orders perform better
* Understand slippage and fill quality impact

## Stop Loss Analysis

<Frame>
  <div style={{pointerEvents: "none", overflow: "visible", height: "230px", display: "flex", alignItems: "center", justifyContent: "center"}}>
    <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Stop-Loss-Analysis.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=ff2fb4ce733ef6a1b6fc3c5ea0d311a1" style={{width: "100%", height: "auto", transform: "scale(6.1)", transformOrigin: "center"}} alt="Stop loss placement analysis" width="2368" height="796" data-path="feature-images/Stop-Loss-Analysis.png" />
  </div>
</Frame>

**What it is:** Analysis of how stop loss placement affects your returns by grouping exits into near-breakeven stop-loss outcomes, small-profit stop-loss outcomes, and all other exits.

**What it's for:** Evaluating whether your stop placement and exit management are protecting downside without cutting potential winners too early.

### Key Insights

* Measure how often stop-loss exits close near flat or with small profits
* Compare stop-loss outcomes against other exit outcomes
* Refine stop placement and exit management

## Fee Composition Breakdown

<div style={{width: "55%"}}>
  <Frame>
    <div style={{pointerEvents: "none", overflow: "visible", height: "320px", display: "flex", alignItems: "center", justifyContent: "center"}}>
      <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Fee-Composition-Breakdown.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=e0bb9f25fe71fdd91918811b480ace00" style={{width: "100%", height: "auto", transform: "scale(8.3)", transformOrigin: "center"}} alt="Fee composition breakdown by source" width="1178" height="978" data-path="feature-images/Fee-Composition-Breakdown.png" />
    </div>
  </Frame>
</div>

**What it is:** Visualization of fee sources.

### Jupiter Perpetuals

* Base Fee
* Price Impact Fee
* Borrow Fee
* Liquidation Fee

### Backpack Exchange

* Maker Fee
* Taker Fee
* Funding Paid

### Key Insights

* Understand true execution costs
* Optimize fee-efficient trading behavior

## Cumulative Fees Chart

<div style={{width: "55%"}}>
  <Frame>
    <div style={{pointerEvents: "none", overflow: "visible", height: "320px", display: "flex", alignItems: "center", justifyContent: "center"}}>
      <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Cumulative-Fees-Chart.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=d1490030fec35524a407f16c16d08b55" style={{width: "100%", height: "auto", transform: "scale(8.3)", transformOrigin: "center"}} alt="Cumulative fees over time chart" width="1178" height="978" data-path="feature-images/Cumulative-Fees-Chart.png" />
    </div>
  </Frame>
</div>

**What it is:** Time-series view of accumulated fees.

**What it's for:**

* Track cost growth over time
* Correlate fees with activity levels

### Key Insights

* Detect inefficient trading frequency
* Compare fee growth vs. profitability

## Exchange-Specific Features

### Borrow / Lend Interest (Backpack Only)

<div style={{width: "69%"}}>
  <Frame>
    <div style={{pointerEvents: "none", overflow: "visible", height: "160px", display: "flex", alignItems: "center", justifyContent: "center"}}>
      <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Borrow-Lend-Interest.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=27e0983017fe8c3a6a2ad8f9570e4c53" style={{width: "100%", height: "auto", transform: "scale(4.3)", transformOrigin: "center"}} alt="Borrow and lend interest tracking" width="1180" height="418" data-path="feature-images/Borrow-Lend-Interest.png" />
    </div>
  </Frame>
</div>

**What it is:** Interest earned from lending and interest paid for borrowing (not funding rates).

**Key Insights:**

* Factor lending income and borrowing costs into net profitability
* Optimize lending opportunities and borrowing duration

### Unrealized PnL Interest (Backpack Only)

<div style={{width: "69%"}}>
  <Frame>
    <div style={{pointerEvents: "none", overflow: "visible", height: "160px", display: "flex", alignItems: "center", justifyContent: "center"}}>
      <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Unrealized-PnL-Interest.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=df6e16e44a3ac225738db3a9df6a427f" style={{width: "100%", height: "auto", transform: "scale(4.3)", transformOrigin: "center"}} alt="Unrealized PnL interest payments" width="1180" height="418" data-path="feature-images/Unrealized-PnL-Interest.png" />
    </div>
  </Frame>
</div>

**What it is:** Interest payments on unrealized profit/loss for open positions.

**Key Insights:**

* Understand ongoing interest costs on unrealized PnL
* Factor unrealized interest into position management decisions

## Symbol & Date Filters

<div style={{width: "93%"}}>
  <Frame>
    <div style={{pointerEvents: "none", overflow: "visible", height: "40px", display: "flex", alignItems: "center", justifyContent: "center"}}>
      <img src="https://mintcdn.com/goldenpocket/maoLbU78EBVlEcqn/feature-images/Symbol-Date-Filters.png?fit=max&auto=format&n=maoLbU78EBVlEcqn&q=85&s=e6d01a4ef493beac4c49c2390663819c" style={{width: "100%", height: "auto", transform: "scale(1.4)", transformOrigin: "center"}} alt="Symbol and date filters interface for focused analysis" width="2376" height="198" data-path="feature-images/Symbol-Date-Filters.png" />
    </div>
  </Frame>
</div>

Interactive filters enable focused analysis of specific assets, strategies, or market conditions by narrowing data by trading pair and time range.

### How to use

* **Symbol Filter:** Select individual symbols or "All Symbols"
* **Date Range:** Choose custom start and end dates

### Data Availability

* **Jupiter:** May 1st, 2025 onward (protocol data availability)
* **Backpack:** Full historical range based on your activity

### Key Insights

* Compare performance across assets
* Identify which markets and periods suit your strategy best
