# Creating a Strategy

<figure><img src="/files/QWPMZ75GwrQonKdUbqNi" alt="" width="563"><figcaption></figcaption></figure>

## Markets

Select the asset (BTC, ETH, SOL, XRP) and the market timeframe (5 min or 15 min) using the toggle buttons at the top of the panel. Each strategy is tied to one asset.<br>

## Triggers

All three conditions must be met simultaneously for the bot to instantly trigger a buy action.

{% stepper %}
{% step %}
**Trigger Time Range**

The window within each round during which the bot monitors conditions, measured from the start of the round.

> Input format: `00:00, 14:99`

Example: `4:00, 5:00` means the bot only checks conditions between the 4th and 5th minute of each round. Once the conditions are met, it will immediately place a limit order.
{% endstep %}

{% step %}
**Trigger Up Price Range**

The UP share price range you are willing to enter. This prevents chasing an asset that has already moved too far.

> Input format: `0.01, 0.99`PolyCop will monitor the Up price and BTC change within the time range you set after each round starts. Once the conditions are met, it will immediately place a limit order
> {% endstep %}

{% step %}
**Trigger Price Change**

The absolute change in spot price compared to the opening price of the current round. Supports negative values for drops.

> Input format: `-100, 100, 9999`<br>
> {% endstep %}
> {% endstepper %}

## Trade Settings

These settings define how the order is placed once all three trigger conditions are met.

#### **Direction**

Toggle between **Buy UP** and **Buy DOWN** with a single button.

#### **Order Type**

Choose between a **Limit Order** (you set the exact price) or a **Market Order**. For market orders, you can also set a slippage tolerance (e.g. 30%).

#### **Limit Price and TTL (Time To Live)**

Set the specific price of your limit order and how long the order survives on the order book. If it times out without being filled, PolyCop will actively cancel the order to prevent you from becoming a passive bag-holder

#### **Single Trade Buy Amount**

The USDC amount per trade. Minimum $5.

> Input: `5` (minimum $5 USDC)

#### **Number of Rounds**

How many consecutive rounds this strategy runs. Each round is 15 minutes (or 5 minutes, depending on your market selection).<br>

## Position Management (TP / SL)

After a successful fill, the system will automatically place a take-profit or stop-loss limit order for you. You can set this by specific price or percentage of cost; the system will automatically cap the maximum order price at 0.99.

#### **Take Profit (TP)**

Enter a percentage (0.1%–100%) or a price (0.01–0.99). If you enter a percentage, the system will set a take-profit limit order based on the purchase price, with a maximum price of 0.99

#### **Stop Loss (SL)**

Same format as TP. PolyCop will monitor the Up price and BTC change within the time range you set after each round starts. Once the conditions are met, it will immediately place a limit order


---

# 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.polycop.ai/afk-auto-trade/creating-a-strategy.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.
