# 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="/files/OXt7sAhX6ShIbSIEvPU8" 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="/files/MIErNxydRKKIMIPDw5gH" alt=""><figcaption></figcaption></figure>

### Module Configuration

<figure><img src="/files/ssyrkROLiDUd1SE6CeuP" 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="/files/E7kRHNjsKkttMxX3Ngs2" alt="" width="563"><figcaption></figcaption></figure>


---

# 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.dextrabot.com/farm/pacifica-farming-module.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.
