> For the complete documentation index, see [llms.txt](https://docs.primeautomation.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.primeautomation.ai/primeautomation/view-and-edit.md).

# View & Edit

When you click **"View & Edit"** from the Dashboard, you’ll be brought to this configuration screen — where you can review performance, make edits, and customize settings for each bot.

You can also **pause or activate your bot** directly from the dashboard using the on/off switch (🔁). This makes it easy to temporarily stop your strategy without needing to delete it.<br>

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

***

## 📈 Bot Statistics Panel (Left Side)

This section summarizes your bot's current performance and runtime data.

### 🧾 Data Shown

| **Label**              | **Description**                                                 |
| ---------------------- | --------------------------------------------------------------- |
| **ROI**                | Return on investment expressed as a percentage                  |
| **Average Win**        | Average profit per winning trade                                |
| **Total Volume**       | Total trading volume executed                                   |
| **Start Date**         | Date the bot or strategy was started                            |
| **Percent Profitable** | Percentage of profitable trades                                 |
| **Runtime**            | Total time the bot has been running                             |
| **Total Trades**       | Total number of trades executed                                 |
| **Status**             | Current operational status of the bot (e.g., Active / Inactive) |

{% hint style="danger" %}
The **red "Inactive" label** shows the bot is currently paused. You can toggle this from either the dashboard or the **Bot Status** dropdown in the Edit Configuration panel.
{% endhint %}

***

## 📊 Performance History (Right Side)

A time-based graph showing the **bot’s PNL history** over selectable periods:

* `24h`
* `7d`
* `30d`
* `90d`

Use this to analyze how the bot has been performing across different time windows.

***

## 🛠 Edit Configuration (Bottom Panel)

Here you can fine-tune your bot’s settings — including trading logic, risk management, and status.\
\ <img src="/files/henXAaVRI03CA4DzhBIL" alt="" data-size="original">

### 🔧 Configuration Options

The config options might be unavailable depending on the bot you're using. For built-in preset bots, custom SL and TP for example may not be editable because they are managed for you.

| **Field**                   | **Description**                                                                                                             |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| **API Key Nickname**        | Select which API key and exchange the bot will use (e.g., BloFin, Bitget).                                                  |
| **Trading Type**            | Defines the market type used by the bot. Typically set to **Futures** for leveraged trading.                                |
| **Margin Mode**             | Determines how margin is managed. **Isolated** limits risk to the position, while **Cross** shares margin across positions. |
| **Pair(s)**                 | One or more trading pairs assigned to the bot (e.g., AVNTUSDT).                                                             |
| **Bot Name**                | Custom name used to identify this bot instance.                                                                             |
| **Amount per Trade**        | Determines position size. Can be a **fixed amount** or a **percentage of account balance**.                                 |
| **Trade Size Percentage**   | Slider used when percentage-based sizing is selected, defining how much of the account is allocated per trade.              |
| **Use TradingView Amounts** | When enabled, the bot uses position sizes sent directly from TradingView alerts.                                            |
| **Stop Loss**               | Toggle to enable automatic stop-loss protection for trades.                                                                 |
| **Take Profit**             | Toggle to enable automatic take-profit targets.                                                                             |
| **Leverage**                | Sets leverage multiplier for trades (within the allowed range).                                                             |
| **Allow Layered Entries**   | When enabled, allows the bot to scale into positions using multiple entries.                                                |
| **Subscription Status**     | Indicates whether the bot is currently **Active** or **Inactive**.                                                          |

{% hint style="warning" %}
For bots to function, **API keys must have trading permissions enabled**, and **withdrawals disabled** for security.
{% endhint %}

***

### 💾 Save Configuration

{% hint style="info" %}
When you're done making changes, click **Save Changes** (orange button) to apply your edits.

Your bot will now operate under the new configuration — or stay paused if you left it inactive.
{% endhint %}

***

## 🔁 Pausing & Resuming Bots

You can pause a bot in two ways:

{% stepper %}
{% step %}

### From the Dashboard

* Use the **toggle switch** next to each bot card to quickly pause/resume.
  {% endstep %}

{% step %}

### From the Edit Panel

* Scroll to the **Bot Status** dropdown.
* Choose `Inactive` or `Active`.
  {% endstep %}
  {% endstepper %}

<div data-with-frame="true"><figure><img src="/files/b46435d2a1989e5d4fa991b97f00e8b35acb97b5" alt=""><figcaption><p>Editing via Dashboard toggle</p></figcaption></figure></div>

***

There could be many reason a trader might want to pause a bot. The main being managing risk and capital allocation during varying market conditions. Watch this video below to know when to adjust your automation portfolio 👇

{% embed url="<https://youtu.be/RjLMYegZhBo>" %}

## ✅ Summary

The **Edit Bot Panel** is where you take full control over each strategy — giving you the flexibility to:

* Adjust leverage
* Change risk settings
* Modify trading pairs
* Pause bots as needed

Whether you’re optimizing performance or switching pairs, this page gives you full flexibility while maintaining a user-friendly interface.


---

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

```
GET https://docs.primeautomation.ai/primeautomation/view-and-edit.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.
