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

# Counter Trading

> Answer outside sells in your token's pool with buys sized to your limits.

**Counter Trading** watches an indexed token/SOL pool for sales by outside wallets and buys from your wallet in response. Sales by your own Devden wallets and Funder are left out where the feed identifies them.

**1. Open Counter Trading**

Select **Counter Trading** in [Automations](https://devden.vip/app#automations) or on an eligible Solana token's page.

**2. Choose the token and wallet**

Enter the **Token mint** and pick the **Buying wallet**.

**3. Size the buys**

Under **Buy sizing**, set the **Share of external sale (%)** to answer, a **Minimum buy (SOL)**, a **Maximum buy (SOL)** and a **Total buy budget (SOL)**.

**4. Set timing**

Under **Timing and execution**, set **Duration (minutes)** and **Max slippage (%)**.

**5. Review and start**

Review the strategy and start it. The window lists every outside sale it saw and every buy it made.

> [!NOTE]
>
> The strategy runs while its window is open. Indexing delays, thin liquidity and rejected quotes decide which buys can run. Select **Stop strategy**, or use the [kill switch](https://docs.devden.vip/automations/exits.md#kill-switch).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.