# Low Funds Detection

To ensure the system operates smoothly and protects against potential losses, the **Low Funds Detection** mechanism is in place, continuously monitoring the balance of each wallet:

1. **Wallet Balance Monitoring**:
   * Each wallet’s balance is monitored in real-time. If the balance falls below a certain reserve threshold, indicating that the wallet does not have enough funds to cover further trading or transaction fees, the wallet is flagged as **low\_fund**.
   * Once flagged, the system **automatically halts trading** for that wallet to prevent any further risk exposure.
2. **Strategy Adjustment**:
   * If **more than 50% of the wallets** in the system are flagged as **low\_fund**, the trading strategy is automatically adjusted to a **Low Funds status**.
   * This status pauses all trades across the affected wallets to protect the overall portfolio from further risk, ensuring that trading does not continue in conditions of insufficient liquidity or capital.

This intelligent system ensures that risk is mitigated during periods of low funds, allowing the platform to avoid significant losses and maintain portfolio stability.


---

# 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://selen-ai.gitbook.io/selen-ai/low-funds-detection.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.
