# Pre-Trade Analytics and Summary

<figure><img src="/files/R2cFJD7FgCMEN2uXVVno" alt=""><figcaption></figcaption></figure>

* **Real-time margin calculations:**
  * **Available Margin:** The total amount of cash/stablecoin you have. No leverage mupltipliers are applied to this figure.&#x20;
  * **Leverage:** The leverage you have set.
  * **Participation Rate/POV:** Target share of market volume the engine aims to execute at any moment for each leg.
  * **Duration:** An estimate of how long the bot will run for to complete the targeted volume. Treat this purely as an estimate, especially if you are running on Grid Mode; Grid mode can stall for much longer than the estimated duration if prices do not move drastically and persistently out of your range and against your open leg.

#### Duration Calculations

Calculated based on:

* Selected Participation rate (aggressive, normal and passive)
* 24-hour trading volume of the selected pair
* Notional amount entered
* Mode-specific minimum duration requirements

**Real-Time Monitoring**

* Live order status tracking with 3-second updates
* Realized PNL (RPNL) calculations based on executed spreads
* Historical performance analytics and detailed table of fills

<figure><img src="/files/Bym2L4DIgjbwxGg7q2hq" alt=""><figcaption></figcaption></figure>

**Order List**

* Paginated list of all market making orders
* Status updates every 3 seconds
* Click to view detailed order information
* Color coding on the pair text to indicate your bias: short, neutral bias
* Mode column to indicate between mid price mode or reference mode.&#x20;

**Order Details**

* **Pair**: Trading pair used
* **Accounts**: Exchange accounts involved
* **Volume**: Total volume generated
* **Fees**: Total fees paid
* **PnL**: Calculated profit/loss from spreads
* **Filled:** Percent of order filled
* **Status**: Active, Completed, Cancelled, etc.

### Lifetime Summary

The Lifetime Summary shows cumulative statistics across all your Market Maker Bot orders.&#x20;

**Volume**: Sum total of executed traded volume (in USD) across all your Volume Bot orders.

**Net Fees:** The cumulative net fees (or PnL) across all your Volume Bot orders. This represents your total maker fees - MM PnL<br>


---

# 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.tread.fi/bots/market-maker-bot/pre-trade-analytics-and-summary.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.
