Skip to content

Fleet Coordination

Trade caching and fleet reservations

Overview

When you're running a single trader, coordination isn't an issue — the ship just finds deals and trades. But once you have five, ten, or fifty ships, you need them to work together instead of competing.

Galaxy Trader's fleet coordination system handles this automatically. It has three main components:

The Trade Cache

Every time a ship completes a profitable trade search, it stores the results in a shared trade cache. Other ships with the same home sector can then grab those cached routes instead of performing their own full search. This means:

  • The first ship in an area does the expensive search work
  • Every subsequent ship benefits from that discovery
  • Searches are faster for the fleet overall

The cache is organized by home sector. Ships in Argon Prime share one cache; ships in Holy Vision share another. This naturally spreads your fleet across different markets instead of having everyone pile into the same trades.

Cached trades have a limited lifetime (controlled by Cache TTL in Global Settings). After that, they expire and ships search fresh. The Cache Profit Threshold setting controls the minimum profit margin for a trade to be worth caching — low-margin trades don't get shared.

If a cached trade's profitability has dropped significantly since it was cached, ships will reject it. The Cache Dropoff Tolerance setting controls how much decline is acceptable (default: 15%).

Fleet Reservations

Even with caching, two ships might see the same trade at the same time. To prevent both of them from racing to the same station:

  1. When a ship selects a trade to execute, it creates a reservation — a short-lived claim that says "this trade is mine"
  2. Other ships see the reservation and skip that trade
  3. The reservation lasts 10 seconds — just long enough for the ship to create its trade orders
  4. Once the ship starts actually flying to the station, the game's built-in capacity system takes over and the reservation is released

This prevents the most common fleet problem: multiple ships buying the same goods from the same station, only to find there's not enough supply.

What if reservations go stale?

Reservations automatically expire after 10 seconds. A background cleanup process also periodically removes any expired reservations. If something goes wrong (ship destroyed, order cancelled), the reservation is cleaned up in the abort handler.

If you notice odd fleet behavior, you can manually clear all reservations from the Global Settings menu (Maintenance & Diagnostics → Clear Fleet Reservations).

The Game's Built-In Coordination

On top of Galaxy Trader's custom reservation system, X4 itself has a capacity coordination mechanism. When a ship creates a trade order, the game reduces the available offer amount at that station by the ship's intended quantity. This prevents multiple ships from buying more goods than a station actually has.

Galaxy Trader's reservation system covers the gap before this kicks in — the window between "I found this trade" and "I've created my trade order."

Tips for Large Fleets

  • Spread home sectors. If all your ships share the same home, they all share the same cache and compete for the same trades. Assigning different home sectors gives each group its own market area.

  • Mix ship sizes. Small ships trade fast but carry little. Large ships carry a lot but travel slowly. A mixed fleet naturally diversifies because they score trades differently.

  • Watch the Diagnose Tool. If ships are frequently skipping trades due to reservations, it might mean your fleet is too concentrated in one area. Spread them out.

  • The "Clear Fleet Reservations" button is there for emergencies. If you load an old save and ships seem stuck, clearing reservations gives them a fresh start.