# 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&#x26;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

### 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&#x26;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&#x26;token=3575800f-9157-4990-8646-76c00c1187fc" alt="" width="563"><figcaption></figcaption></figure>
