# Create Strategy

🔎All your strategies will be listed on the [Strategy Management](/introduction/strategies.md) page.

<figure><img src="/files/0SfFcuobH95KkZtotoet" alt=""><figcaption></figcaption></figure>

After completing the search and validation steps, you will create a strategy based on the information you have gathered.

You can create new strategies in two places: the [Strategy Management](/introduction/strategies.md) page and the [Strategy Verification](/active-strategies/strategy-validation.md) page.

<figure><img src="/files/DeJPsDmvAzHFPWtCGrN3" alt="" width="563"><figcaption><p>Click <strong>+ Add new Strategy</strong></p></figcaption></figure>

<figure><img src="/files/m7SaWsY1yPVe07auLprZ" alt="" width="563"><figcaption><p>Click <strong>+ STRATEGY</strong> on Orderbook table</p></figcaption></figure>

1. <mark style="color:green;">**Setting Open a position (Open Strategy).**</mark>

* Token Name: Enter the name of the token you wish to trade
* Strategy Name: Assign a name to the strategy (recommended: use the same name as the token)
* Exchange Selection: Select the corresponding exchanges for buying or selling
* Direction: Specify Open
* Spread Rate: The slippage ratio between buy and sell orders (expressed as a percentage)
* Optimal case (First): If matched at bid 1
* Worst case (Second): If your order slips to bid 2
* Max Amount per Order: Maximum order size for a single buy/sell transaction per exchange (denominated in USD)
* Required Volume per Order: Minimum required volume for a single bid/ask (denominated in USD)
* Max Volume: Maximum volume when opening a new position, or minimum volume when reducing a position. Note that volume is calculated per side (buy or sell).

&#x20;*If you set a maximum opening volume of $30,000, then Buy + Sell = $60,000. The position will increase up to $60,000 and then stop.*

<figure><img src="/files/DsH3wQ1Ey5TDVlDrze3F" alt=""><figcaption><p>Mode <strong>open</strong> new position</p></figcaption></figure>

2. <mark style="color:red;">**Setting closing a position (for running a close strategy)**</mark>&#x20;

Means that instead of creating a new strategy, you simply **update** the existing one by switching from <mark style="color:green;">**Open**</mark> mode to <mark style="color:red;">**Close**</mark> mode as shown below.

<figure><img src="/files/NXIYM8wHdUCUOkYeQ0Gx" alt=""><figcaption><p>Mode Close Position</p></figcaption></figure>

* Min Volume: If the current position volume is $60,000 and you set a minimum closing volume of $10,000, then Buy + Sell = $20,000. The position will decrease to $20,000 and then stop.

2. **Advanced Parameters (Optional):**

Due to some exchanges using different futures contract size units and having varying minimum order requirements, you only need to adjust these parameters in a few special token cases. Since XAPY automatically calculates them for you, these are **optional parameters**.

<figure><img src="/files/h4tXkLA5IIT6fpoDIYZx" alt=""><figcaption><p>Automatically calculated for you.</p></figcaption></figure>

* Multiple: Adjust for tokens with lower price values (tens of units)
* Precision: Adjust for tokens with higher price values (in the tens of units)
* Swap Amount (Token Amount): Total token discrepancy if opening a token across 3 exchanges (with 2 exchanges buying and 1 selling, or vice versa)

:tada:Once you have completed the parameter settings, the next step is to [run the strategy](/active-strategies/strategy-execution.md) to open (or close) your position.


---

# 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.xapy.io/active-strategies/create-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.
