> For the complete documentation index, see [llms.txt](https://docs.dextrabot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dextrabot.com/dextrabot/polymarket-bots/polymarket-dca-bot.md).

# Polymarket DCA Bot

## Polymarket DCA Bot

### Overview

The Polymarket DCA Bot automates position building using a ladder-based strategy. It begins with an initial entry and progressively adds positions at predefined price levels, improving the average entry while managing risk.

***

## Market Settings

### Market Type: Crypto

Select the category of the market (e.g., Crypto or others for all the other categories).

### Market Period

Defines the resolution timeframe of the market (e.g., 15 min).

### Coin

Underlying asset (e.g., BTC).

### Side

* **UP**: Position benefits if price increases
* **DOWN**: Position benefits if price decreases
* **ALL**: Operates on both sides (advanced strategies only)

### Market Type: Others

Select this option to manually load a specific Polymarket market using its URL.

***

#### Polymarket URL

Paste the direct link to the market you want to trade.

Used to fetch:

* Market data
* Outcomes (YES / NO)
* Pricing and liquidity

***

#### Load Market

Loads the market from the provided URL.

After loading:

* Market configuration becomes available
* Side selection is enabled
* Bot can be initialized

***

#### Market Group

Choose the proper market group (sub-bet) from the dropdown list

Make sure you choose the correct sub-bet, this is important.

Used internally for grouping outcomes.

***

## Base Sizing

### Initial Order (Anchor Point)

#### Shares

Number of shares executed immediately as the initial market entry.

#### USDC

USDC amount used for the initial market entry.

***

### First DCA Purchase

#### Shares

Number of shares placed at DCA Level 1 (deeper levels scale from this).

#### USDC

USDC amount used at DCA Level 1 (deeper levels scale from this).

***

## DCA Strategy

### Entry Range (Optional)

Defines the price range where the bot is allowed to start placing orders.

* **Min Price (¢)**: Lower bound
* **Max Price (¢)**: Upper bound

The bot will only activate if the market price is within this range.

***

### DCA Levels

Number of additional buy steps after the initial entry.

***

### DCA Level Spacing (¢)

Distance (in cents) between each DCA level.

* Smaller values create tighter ladders
* Larger values spread risk over a wider range

***

### Level Spacing Multiplier

Controls how spacing evolves across levels.

* `1`: Equal spacing
* `>1`: Expanding spacing (more conservative)

***

### DCA Order Size Multiplier

Controls how order size scales across levels.

* `1`: Equal size
* `>1`: Increasing size (more aggressive averaging)

***

## Ladder Preview

Displays a simulation of your strategy before execution.

* **Price**: Entry price per level
* **Avg Price**: Updated average after each fill
* **Shares**: Position size per level
* **Value (USDC)**: Cost per level

Use this to validate exposure and behavior before deploying.

Pricess will differ, this table is only a preview.

***

## Risk Management

### Take Profit (¢)

Profit distance added to your average entry before closing the position.\
Take Profit is added on top of the average entry, see the ladder preview.

***

### TP Re-entry Offset (¢)

Distance after take profit before re-entering the market.

Prevents immediate re-entry in volatile conditions.

***

### Profit Locking

Freezes the strategy once guaranteed resolution profit is reached.

Available in **ALL mode only**.

***

### Stop Loss (¢)

Maximum loss distance below your average entry before exiting the position.

***

### Hard SL (¢)

Absolute emergency exit price.

If the market reaches this price or worse:

* All positions are closed immediately
* All open orders are canceled

#### Difference from Stop Loss

* **Stop Loss**: Based on average entry
* **Hard SL**: Based on absolute market price

Use this as a fail-safe against extreme market moves.

***

### Min Price Distance (MPD) (¢)

Maximum allowed deviation between the current market price and your entry price for order placement.

Prevents poor fills in fast-moving markets.

***

### Min Buy Price (¢)

Lower boundary for placing any buy orders.

The bot will:

* Not place new orders below this price
* Ignore deeper DCA levels below this threshold

Used to prevent overexposure in collapsing markets.

***

### Cutoff Min

Minimum number of DCA levels required before activating exit logic (e.g., take profit or stop loss).

***

## Connection

To activate the bot:

### Private Key

EVM Wallet authorization key. NOT FROM THE POLYMARKET

### Polymarket Address

The address Polymarket gives to you. NOT YOUR EVM WALLET ADDRESS.

### API Credentials

Required for automated claim execution.

* API Key
* API Secret
* API Passphrase

Click **Connect** to deploy the bot.

***

## Best Practices

* Avoid entering markets with spreads greater than 5¢
* Use MPD to prevent bad fills
* Combine Stop Loss and Hard SL for layered protection
* Use Min Buy Price in volatile or trending markets

***

## Strategy Tips

### Conservative Setup

* Wide spacing
* No size multiplier
* Use Hard SL

### Aggressive Setup

* Tight spacing
* Increasing size multiplier
* Lower MPD

### Advanced Setup

* Use ALL mode
* Enable Profit Locking
* Combine with re-entry offset


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.dextrabot.com/dextrabot/polymarket-bots/polymarket-dca-bot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
