> For the complete documentation index, see [llms.txt](https://leia-organization.gitbook.io/leia-leia-the-cat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leia-organization.gitbook.io/leia-leia-the-cat/utility/telegram-trending-bot/trending-tokens-calculation.md).

# Trending Tokens Calculation

Disclaimer: All tokens in Trending Channel have no correlation with LEIA

## Scanned Tokens Trending&#x20;

***Shows the most scanned tokens in range of time***

**Q: Which tokens get listed inside the** [**Trending Channel**](https://t.me/SOLTrend) **based on**[ **Scanner BOT Database**](/leia-leia-the-cat/utility/telegram-solana-scanner-bot.md)**?**

Tokens ranked 1-3 on the [Scanner BOT](https://t.me/solscannerbot) are the ones paying for ads, bringing revenue to LEIA as part of the [LEIA BURN PARTY](/leia-leia-the-cat/burn-party-auto-burn-+-manual-burn.md) goals.&#x20;

> Meanwhile, positions 4-10 are filled based on how often they're scanned daily. The more scans in 24 hours, the better chance a token has of appearing and getting listed on the trending list by the scanner bot.

<figure><img src="https://1321230459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo0lkQ8USAUG0rWS2wotb%2Fuploads%2FoaXLe3oWwL3puruaH3ZS%2Fimage.png?alt=media&amp;token=f9b57365-9b3c-4a02-9953-09d6c92088c6" alt=""><figcaption></figcaption></figure>

## Universal Buybot Trending

***Shows tokens where buyers are strongly dominating over sellers***

**Q: Which tokens get listed inside the** [**Trending Channel**](https://t.me/SOLTrend) **based on** [**Universal Buybot Database**](/leia-leia-the-cat/utility/universal-solana-buy-bot.md)**?**

The following formula demonstrates the process of determining the m value on a daily basis. The m value serves as the metric utilized for the Trending Channel. When selecting tokens for the Trending List, we assess the present Market Screener (m) metric in relation to the highest m value observed within the last 24 hours. The formula for calculating the m value over a 24-hour period is provided below.

<figure><img src="https://1321230459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo0lkQ8USAUG0rWS2wotb%2Fuploads%2Fp41AIvQRrSlhOCb0wlaM%2Fimage.png?alt=media&amp;token=2600b174-0ac8-4958-a654-c87e9dba351f" alt=""><figcaption></figcaption></figure>

The m value reflects the contrast between the buying and selling volumes of traders in the last 24 hours. The m value is similar to the [Speculative Sentiment Index](https://www.fxcm.com/markets/insights/speculative-sentiment-index-ssi/). The ratio in the formula decides whether the m value is positive or negative. A positive m indicates that traders bought more tokens than they sold, and vice versa. We use the ratio multiplied by the number of traders to filter tokens with a high probability of manipulation. For instance, when a single influential trader (like a Whale 🐳) buys a significant portion of a token's supply to push the price higher.

> When we create the Trending List, we look at the highest and lowest m values each day. We use a measure called the "k indicator," similar to the [stochastic oscillator](https://en.wikipedia.org/wiki/Stochastic_oscillator), to decide which tokens go in the Trending Channel. The k indicator can range from 0 to 100. If the k value is above 60, we consider the token for the Trending List. The k indicator shows how close the current m value is to the highest m value in the past 24 hours. We only list tokens with a positive m value, indicating that buyers are stronger than sellers.
