Pools Loader

Pools Loader — is a module that is responsible for automatic loading of pools into the system according to user-specified filters. The system automatically finds and maintains up-to-date pools that match these filters, completely removing manual work from the user.


How it works

1

Filter settings

The user configures filters in the preset — they determine which pools the system will load.

For example:

  • only pools with liquidity above 30,000 USD

  • only pairs where the 5-minute trading volume exceeds 50,000 USD

  • only pairs that have > 1000 swap transactions in the last hour.

This gives full flexibility: filters can be combined to get exactly the pools that fit your arbitrage strategy.

The list of all available filters can be found in the preset documentation here.

2

Automatic loading 24/7

After configuring the filters the system operates in continuous mode. Every 5 seconds (value fixed) it receives an updated list of pools that match the specified filters.

  • New suitable pools are added automatically.

  • Old ones that no longer match the filters are removed.

Inside the system only up-to-date pools are always present, and updates happen completely automatically without user intervention.

Thus, the module Pools Loader completely removes the manual work of searching and updating pools. The user sets the filters for their arbitrage strategy once — and the system maintains the current set of pools 24/7.


chevron-rightWhat if 0 pools are returned?hashtag

In that case the system will delete all previously added pools and pause operation until new ones appear. It will be in standby mode, periodically checking whether pools matching the specified filters have appeared.

Thus, if the filters are too strict (for example, volatility of 100,000 USD over 5 minutes), the system will not work with unsuitable pools, and will activate automaticallyas soon as suitable conditions appear on the market.

chevron-rightWhat if no filters are specified?hashtag

If filters are not set, the system by default will load all pools with liquidity above 5,000 USD. This may lead to loading a very large number of pools (on the order of a thousand or more), so it is recommended to use filters to limit the selection.

Before starting, it is worth testing the filter settings and making sure the system receives only the pools you need. For this there is a CLI utility Fetch Pools.

chevron-rightHow to test which pools are returned for the specified filters?hashtag

The utility Fetch Pools is intended for preliminary checking and testing of the filters specified in your current preset. With it you can make sure the filtering settings are correct and the system will work with the pools you expect.

chevron-rightCan I add pools myself for the system to work with?hashtag

At the moment this capability is not available — the system works only through automatic loading of pools according to the specified filters.

The manual pool addition feature is under development and will appear in upcoming updates. In the future the user will be able, if necessary, to add their own pools, if it is required to work with specific or non-standard pairs.

chevron-rightHow does the system find pools?hashtag

The system obtains pools through an external servicethat is part of the ecosystem Quantum Arb. This service scans the blockchain 24/7 using the getProgramAccountsrequest, collects all active pools and performs basic filtering (for example, liquidity from 5,000 USD).

In addition, the service monitors pool activity — calculates volatility and the number of transactions.

Last updated