Pools Options

This configuration section is responsible for automatic selection of pools for arbitrage and for managing Address Lookup Tables for those pools.


POOL_LOADER

Description: A module that, via the Quantum Arb service external API, gets a list of pools according to pre-set filters.

Options:

  • FILTERS — an object specifying the criteria for filtering pools:

    • minLiquidity — Minimum pool liquidity (in USDT).

      • Recommended ≥ 10,000 USDT to exclude low-liquidity pairs.

    • maxLiquidity — Maximum pool liquidity.

    • minVolume1m, minVolume5m, minVolume1h, minVolume24h — Minimum trading volume for the specified timeframe (in USDT).

    • minTransactions1m, minTransactions5m, minTransactions1h, minTransactions24h — Minimum number of transactions for the given period.

    • sortByField — The field by which pools are sorted (two parameters available: "liquidity" or "volume").

    • sortByOrder — Sort direction: "asc" — ascending, "desc" — descending.

    • sortByTimeframe — Timeframe used when sorting by volume (sortByField="volume").

      • Must be specified when choosing to sort by volume.

    • poolTypeLimitRaydiumAmm, poolTypeLimitRaydiumCpmm, poolTypeLimitRaydiumClmm, poolTypeLimitMeteoraDlmm, poolTypeLimitMeteoraDammV2, poolTypeLimitPumpswap — Maximum number of pools of each type per trading pair.

      • If set 1, only one pool of the corresponding type is selected.

    • minPoolsPerPairPassingFilters — Minimum number of pools that must pass filtering for a pair to be included in arbitrage.

    • minPoolsPerPair — Minimum total number of pools per pair.

    • maxPoolsPerPair — Maximum number of pools selected for a single trading pair.

    • pairLimit — Maximum number of trading pairs that will be loaded into the system at once.

    • quoteTokens — List of tokens allowed as quoted.

      • Currently supported: SOL. In the future — USDC, USDT, USD1 and others.

    • blacklistTokens — List of tokens that must be excluded from processing.

    • whitelistTokens — Tokens that should always be included, even if they do not pass other filters.

    • useTokens22 — Boolean flag (true/false), determining whether to consider tokens of the Token-2022.

Example:

Note:

  • If PoolsLoader returns 0 pools via the API, the system stops operation until they appear, since there are no suitable pools for arbitrage.


TABLE_LOOKUP_MANAGER

Description: Address Lookup Table (ALT) manager that handles creating, expanding, and updating address tables required for transactions with pools.

Options:

  • ENABLED — if enabled, when new pools appear from PoolLoader the system fetches the accounts required for arbitrage from those pools and adds them to existing tables, or creates new ones if absent.

  • SHOULD_ADD_LIQUIDITY_ARRAYS — determines whether to add bin_arrays or tick_arrays for pools such as Meteora DLMM and Raydium CLMM.

Example:

Last updated