# Mainnet

## <mark style="color:purple;">TL;DR</mark>

* Earn XPs and level up on FLIQ
* Every trade earns you XPs. Limit orders fetch more XPs than market orders
* Trading across multiple markets on a single day, unlocks Market Breadth XPs
* Trading on at least 1 market everyday unlocks Daily Streak XPs
* Profit booking unlocks additional XPs
* Booking profits in succession unlocks Profit Booking Streak XPs

## <mark style="color:purple;">Core Philosophy</mark>

This XP system is designed to reward users for meaningful participation that contributes to the health, liquidity, and accuracy of the prediction market ecosystem. The system is built on three pillars of engagement:

1. **Volume:** Rewarding the amount of capital users deploy in a day, with distinct incentives for providing liquidity (makers) versus consuming it (takers).
2. **Diversification:** Encouraging participation across a wide variety of markets daily, preventing capital concentration and making more markets viable.
3. **Consistency:** Fostering a habit of regular participation, creating a stable and active user base.

## <mark style="color:purple;">XP Earning Mechanics</mark>

### <mark style="color:$primary;">Volume: Rewarding Takers and Makers</mark>

XP is calculated differently based on whether a user is a "taker" (trading against the order book) or a "maker" (placing a limit order that adds to the book).

* Maker Volume (Liquidity Provided)\
  XP for makers is calculated with a simple linear formula to directly and generously reward the act of providing liquidity to the market.
  * XP = maker liquidity provided \* 20
* **Taker Volume (Daily Trading Volume)**\
  The XPs earned by takers is computed using a sigmoid function to reward engagement while providing diminishing returns at very high volumes.

$$
XP = \left\lceil\frac{50}{1 + e^{-0.4 \times (volume - 10)}}\right\rceil \times 4
$$

Some examples are given below

| Volume |  XP |
| :----: | :-: |
|    1   |  5  |
|    3   |  11 |
|    5   |  24 |
|    8   |  62 |
|   12   | 138 |
|   18   | 192 |
|   25   | 200 |

{% hint style="info" %}
Max XPs that can be earned from trading a single market is capped at 200.
{% endhint %}

### <mark style="color:$primary;">Daily Diversification & Breadth</mark>

This component incentivises users to explore the platform's breadth every day. Trading in multiple markets in a single UTC day, unlocks MarketBreadth XPs which are based on a tiered-reward system. You earn XPs for the highest tier achieved that day.

| Number of Markets | XP Bonus |
| :---------------: | :------: |
|         5         |     5    |
|         10        |    15    |
|         15        |    30    |
|         20        |    50    |
|         25        |    75    |
|         30        |    105   |
|         35        |    135   |
|         40        |    175   |
|         45        |    220   |
|         50        |    275   |

{% hint style="info" %}
Minimum $1 trade volume is required in a market for it to be counted
{% endhint %}

### <mark style="color:$primary;">Consistency: Rewarding Habitual Engagement</mark>

This component rewards users for making at least one trade per day, with bonuses increasing at major milestones.

| Daily Streak Count | XP Bonus |
| :----------------: | :------: |
|          5         |    50    |
|         10         |    150   |
|         15         |    300   |
|         20         |    500   |
|         25         |    750   |
|         30         |   1050   |
|         35         |   1350   |
|         40         |   1750   |
|         45         |   2200   |
|         50         |   2750   |

{% hint style="info" %}
Daily streak resets to 1 if user misses a day of trading.
{% endhint %}

## <mark style="color:purple;">Special Bonuses: Profit-Based Rewards</mark>

This system rewards users not just for participating, but for being correct and profitable.

### Profitable Exit

1. Users gain 50 XP per profitable full exit.
2. Additional variable XP based on profit value

$$
Additional\ XP = 50 \times Profit\ per\ share
$$

{% hint style="info" %}
Buying YES shares at 0.52$/share and selling them at 0.84$/share gives fixed 50 XP and variable 50 \* (0.84 - 0.52) = 16. Total 66 XP earned in this profitable trade.
{% endhint %}

### Profit Booking Streak Bonus

| Profit Booking Streak | XP Bonus |
| :-------------------: | :------: |
|           2           |    100   |
|           5           |    500   |
|           10          |   1500   |
|           15          |   3000   |
|           20          |   5000   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fliq.one/xp-program/mainnet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
