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

# Trading competitions

> How a Gains Trade trading competition ranks you, which trades count, and how a competition without an end date ends once its trades have paid enough in fees.

A trading competition ranks the traders who take part on two boards, and pays prizes by rank on each:

* **PnL board**: your realized PnL on the competition's trades, in dollars.
* **Volume board**: your volume points, which weigh your volume by how long you held your positions (see [Volume points](#volume-points)).

The competition page lists every prize, rank by rank. The boards are public: anyone can read them, connected or not.

## Join a competition

A community competition is open to the members of the community that runs it.

**1. Get the access code**

The community shares the competition's access code with its members.

**2. Join on gains.trade**

Open the competition from [gains.trade/contests](https://gains.trade/contests), connect an EVM wallet, enter the access code and sign the message your wallet shows. Signing is free and sends no transaction.

Only trades you open after you join count, and the boards rank members only.

## Which trades count

* **USDC trades on the competition's chain.** Other collaterals do not count.
* **Opened during the competition**, and after you joined.
* **Reduced or closed before the end.** A trade enters the boards the first time you reduce or close it. A position you never reduced or closed before the end counts for nothing.
* **Counter trades** count on the volume board at half their points, and not on the PnL board.
* **Trades made with [Bonus](https://docs.gains.trade/loyalty-programs/gains-bonus.md)** do not count.

## Volume points

Each time you reduce or close a position, the size you close, leverage included, earns volume points: its dollar value times a factor set by how long that part of the position was open.

| Open for | Factor |
| - | - |
| Less than 1 hour | 0.02 |
| 1 to 3 hours | 0.05 |
| 3 to 6 hours | 0.1 |
| 6 to 12 hours | 0.2 |
| 12 to 24 hours | 0.6 |
| 24 to 48 hours | 1 |
| 48 hours or more | 2 |

A position you added to is counted in parts, and a reduction closes the most recent part first. For example, closing \$10,000 of size you held for 30 hours earns 10,000 points.

## When a competition ends

A competition has either an end date, shown on its page, or a fees target.

A competition with a fees target ends two days after the trading fees paid on its trades reach that target. The target is the prize pool divided by the share of those fees the organizer pays back as prizes, a share between 1% and 100%. For example, \$3,000 of prizes at 60% gives a target of \$5,000 in fees.

Until the target is reached, the organizer can change the prizes or the share, and with them the target, as long as the new target stays above the fees already paid.

Once the target is reached:

1. The competition ends 48 hours later. Its page shows the end date and counts down to it.
2. Trades keep counting until that end, under the same rules.
3. The prizes and the share stay as they are.

If the target is never reached, the competition ends 366 days after it starts.

## What counts as fees

The fees target counts the trading fees paid to open a position, add to it, reduce it or close it, on the trades that count for the volume board.

* Borrowing, funding and holding fees do not count.
* A trade's fees count from the moment it enters the boards, the first time you reduce or close it, like its volume.
* Fees are counted in dollars, with USDC at \$1.

## The progress bar

The competition page shows a bar of the volume traded in the competition. The volume at the end of the bar is an estimate: the fees target divided by the average fee rate the competition's trades have paid so far. The percentage on the bar is the share of the fees target already paid.

> [!NOTE]
>
> The estimate follows the average fee, so it moves as the mix of trades changes: trades on pairs with lower fees push it up, trades on pairs with higher fees bring it down. Until the first trade counts, the estimate uses a fee rate of 0.025%.

For example, with a \$5,000 fees target, trades that paid \$1,200 in fees on \$4,000,000 of volume (an average fee of 0.03%) put the estimate at about \$16.7M, and the bar at 24%.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.