# Surge & Purge Agent

## What happens to my funds after I deposit?&#x20;

The Agent creates a dedicated sub-account in a Brahma Account , analyzes user inputs and market conditions, then executes trades based on trend momentum, liquidity depth, and volume impact — either accumulating or offloading the asset for optimal execution.

## How does rebalancing frequency work?&#x20;

Unlike traditional DCA, which follows a fixed execution pattern, the Surge & Purge Agent dynamically adjusts order sizes based on liquidity, price action, and slippage. This ensures a more optimized average buy/sell price in real-time market conditions. For example, if you've set up a Surge (Buy) automation and the asset's price drops significantly, the Agent will increase the order size; if the price spikes, it will reduce the order size to enhance efficiency.

## **Can I withdraw anytime?**&#x20;

Yes, you can cancel the Agent at any time. Once canceled, it will automatically transfer your assets back to your wallet.\ <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.brahma.fi/brahma-agents-or-built-with-console-kit/surge-and-purge-agent.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.
