> 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/farm/pacifica-farming-module.md).

# Pacifica Farming Module

### Getting Your API Credentials

The API credentials are required for farming and act as your authentication keys. Follow these steps to obtain them:

#### Step-by-Step Guide

<figure><img src="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2FRaJoA74RkYV1X7ZKwxBL%2FScreenshot%202025-11-12%20at%2019.07.31.png?alt=media&amp;token=4c54f5da-7ab1-4889-8a42-434259df28d2" alt=""><figcaption></figcaption></figure>

**1. Access the Platform**

* Navigate to <https://app.pacifica.fi/>
* Connect your wallet and sign the connection request

**2. Generate API Key**

* Go to API Management: <https://app.pacifica.fi/apikey>
* Click the "Generate" button first
* Click "Create" to create your API key

**3. View API Details**

* Your API keys will be displayed on the screen

<figure><img src="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2FDgZ0N1V53c7196UzwdWb%2FWhatsApp%20Image%202026-01-19%20at%2018.43.53.jpeg?alt=media&amp;token=343ef3a2-dd75-4bc1-ad82-85d28331a059" alt=""><figcaption></figcaption></figure>

### Module Configuration

<figure><img src="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2FuCGl3tQo4qqIllUz17tN%2FScreenshot%202025-11-12%20at%2019.01.40.png?alt=media&amp;token=b1012a3b-26eb-4bba-9ce0-193f4b435669" alt=""><figcaption></figcaption></figure>

#### Select Pair

* **Selection**: Dropdown menu with available trading pairs
* **Options**: SOL, BTC, ETH and other active perpetual pairs

#### Trade Per Hour or Day

* **Description**: Determines how frequently the bot places new trades
* **Range**: 1 - 180 trades per hour

#### Leverage

* **Description**: Multiplier for your position size
* **Range**: 1x to 50x

#### Direction

Choose your trading direction strategy:

* **LONG - 20X**: Opens long positions only (betting on price increase)
* **SHORT - 20X**: Opens short positions only (betting on price decrease)
* **RANDOM - 20X**: Randomly alternates between long and short positions

#### Order Type

* **MARKET**: Immediate execution at current market price
* **LIMIT**: Set specific entry price
* **RANDOM**: Randomly choose between order types

#### Take Profit %

* **Format**: Percentage value
* **Description**: Automatically closes position at specified profit

#### Stop Loss %

* **Format**: Percentage value (e.g., 5)
* **Description**: Automatically closes position at specified loss

<figure><img src="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2Frw6Pq7ayacgtQDzlOQY7%2FScreenshot%202025-11-12%20at%2019.05.28.png?alt=media&amp;token=3575800f-9157-4990-8646-76c00c1187fc" alt="" width="563"><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dextrabot.com/farm/pacifica-farming-module.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
