> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbitaio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Raydium

> The raydium module offers two modes: `raydium_swap` and `raydium_snipe`. `raydium_snipe` will poll for new liquidity pools.

### Task Setup

<Tip>
  OrbitAIO will generate a `tasks/tokens` directory in the same directory as the executable for tasks.
</Tip>

| Field Name               | Description                                                                      |
| ------------------------ | -------------------------------------------------------------------------------- |
| `module`                 | The name of the module used (`raydium_snipe` or `raydium_swap`).                 |
| `mode`                   | The transaction mode for the task (`spam` or `fast`).                            |
| `wallet_alias`           | Alias of the wallet used for transactions.                                       |
| `rpc_alias`              | Alias for the RPC server to be used (e.g. `orbit_sol`).                          |
| `amount`                 | The amount of input token to be used for buying (e.g. `0.1`).                    |
| `pool_mint`              | Mint address of the liquidity pool (when buying from specific pool).             |
| `market_id`              | Market ID (when buying using specific market id)                                 |
| `input_mint`             | Mint address of the input token (`So11111111111111111111111111111111111111112`). |
| `output_mint`            | Mint address of the output token.                                                |
| `buy_txs`                | Number of buy transactions to send (`spam mode`).                                |
| `sell_txs`               | Number of sell transactions to send (`spam mode`).                               |
| `buy_tx_delay`           | Delay between buy transactions in milliseconds (`spam mode`).                    |
| `sell_tx_delay`          | Delay between sell transactions in milliseconds (`spam mode`).                   |
| `autosell_tp`            | Auto-sell target profit in percentage.                                           |
| `autosell_sl`            | Auto-sell stop loss in percentage.                                               |
| `prerun_ms`              | Time in milliseconds to run the task before the pool open time.                  |
| `sell_after`             | Time in milliseconds to start selling after buying. `optional`                   |
| `instant_sell`           | Whether to sell instantly after a buy transaction (`true` or `false`).           |
| `max_slippage_tolerance` | Maximum slippage tolerance in percentage allowed for a transaction.              |
| `max_price_impact`       | Maximum price impact in percentage allowed for a transaction.                    |
| `buy_extra_fee`          | Extra fee (SOL) added to the buy transactions.                                   |
| `sell_extra_fee`         | Extra fee (SOL) added to the sell transactions.                                  |
| `buy_jito_fee`           | Fee (SOL) for jito bundles (enter a value to use bundles when buying).           |
| `sell_jito_fee`          | Fee (SOL) for jito bundles (enter a value to use bundles when selling).          |
| `jito_uuid`              | Jito UUID API Key (used for higher limits). Leave empty if none available.       |
