> For the complete documentation index, see [llms.txt](https://docs.hypertracker.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hypertracker.io/hypertracker-dashboard/bias.md). Agents can also search and read this documentation through its [MCP server](https://docs.hypertracker.io/~gitbook/mcp).

# Bias

A single score that captures direction and conviction, from one wallet to an entire cohort.

Bias is HyperTracker’s way of summarizing positioning into something you can compare instantly. It combines two ideas: which side a wallet is leaning toward, and how much size that wallet is putting behind the view relative to its perp equity.

The result is a bias score that works at every level. You can read it for one wallet, or aggregate it across a cohort to see whether a segment of traders is meaningfully long, meaningfully short, or simply not committed.

Bias is descriptive. It is designed to help you spot trends, crowding, and leverage risk. It does not predict price by itself.

### Wallet Calculation

Perp Bias is calculated in three steps, using a weighted approach that separates direction from conviction.

#### 1) Net Directional Bias

This measures pure direction, independent of position size.

<figure><img src="https://642278797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegPbeMpGA2hOiEel0Kbr%2Fuploads%2FKPtrHPquVHaPQL4R4nIR%2FFrame%201410125957.svg?alt=media&amp;token=0f881fd7-2f81-4977-b56f-18a4bbfe42ea" alt=""><figcaption></figcaption></figure>

Range: -1 means fully short, +1 means fully long

#### 2) Exposure Ratio

This measures how much positioning is being taken relative to available perp equity.

<figure><img src="https://642278797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegPbeMpGA2hOiEel0Kbr%2Fuploads%2FyLJfDe4i9c58CwtMxv1u%2FFrame%201410125957.svg?alt=media&amp;token=58484df3-cd14-4789-af0a-d7bfcaae8527" alt=""><figcaption></figcaption></figure>

Interpretation: Higher values mean the wallet is taking larger positions relative to its equity.

#### 3) Final Bias Score

This combines direction and exposure into a single score.

<figure><img src="https://642278797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegPbeMpGA2hOiEel0Kbr%2Fuploads%2FiQFI8HDHRkM5tIvOFqDB%2FFrame%201410125957.svg?alt=media&amp;token=f62e887c-a743-4387-9b35-18659b04bcf6" alt=""><figcaption></figcaption></figure>

Range: Values beyond -1 or +1 indicate high leverage positioning, since exposure is exceeding equity.

#### Example 1

*Wallet (Equity: $100,000, Long: $1,000, Short: $0)*

<figure><img src="https://642278797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegPbeMpGA2hOiEel0Kbr%2Fuploads%2FcPB175oaa1335uL4rWPG%2FFrame%201410125960.png?alt=media&amp;token=84c685bd-b99e-4dfd-a73d-4435c1df3cb9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://642278797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegPbeMpGA2hOiEel0Kbr%2Fuploads%2FlrujMvhbEj46gzu4A04W%2FFrame%201410125957.svg?alt=media&amp;token=4fe4ac9d-40b7-4756-90ec-50977ea9935d" alt=""><figcaption></figcaption></figure>

#### Example 2

*Wallet (Equity: $500, Long: $1,000, Short: $0)*

<figure><img src="https://642278797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegPbeMpGA2hOiEel0Kbr%2Fuploads%2F8cT2mQPe1wAzdmwJSPVt%2FFrame%201410125960.png?alt=media&amp;token=72cb8649-9c34-4762-9443-a839066b7ba6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://642278797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegPbeMpGA2hOiEel0Kbr%2Fuploads%2Fspq1IlLNCOTAtu55IPmK%2FFrame%201410125957.svg?alt=media&amp;token=4e97c9ae-80fc-40e6-b573-1a29381b098b" alt=""><figcaption></figcaption></figure>

***

### Cohort Calculation

Cohort bias is computed by aggregating position totals across all wallets in the cohort, then applying the same bias formula used at the wallet level. This keeps the score consistent and comparable across cohorts of different sizes.

#### Steps

* Sum total cohort LONG across wallets
* Sum total cohort SHORT across wallets
* Aggregate total cohort Perp Equity
* Apply the same three step bias calculation

This approach highlights both direction and conviction at the cohort level. A cohort can only show strong bullish or bearish bias if it is both leaning in one direction and allocating meaningful exposure relative to its combined equity.

<figure><img src="https://642278797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegPbeMpGA2hOiEel0Kbr%2Fuploads%2F4MIpPATzHf2OorU6n4x5%2FFrame%20111.png?alt=media&amp;token=04a22295-c61f-4b46-b980-7c0064b49529" alt=""><figcaption></figcaption></figure>

#### Position Age Filter

When a timeframe filter is active (**24h**, **7d**, or **30d**), it controls which **wallets** qualify for the cohort, not which individual positions are counted within a qualifying wallet. This filter does not apply when **all** is selected; in that case, all wallets with open positions are included.

**Wallet eligibility:**

* A wallet is **included** if it has at least one open position whose open time falls within the selected timeframe.
* A wallet is **excluded entirely** if it has zero positions opened within the timeframe.

**For included wallets**, the full current state is used, not just the positions that triggered eligibility:

* **Sum Open Value** = the current total open notional of *all* open positions on that wallet, regardless of when they were opened.
* **Sum Perp Equity** = the wallet's full current perp equity.

Inclusion is all-or-nothing. A wallet either qualifies (at least one position in the timeframe, meaning all its open value and equity are counted) or it does not (nothing is counted). There is no partial inclusion.

Cohort Exposure is then calculated as `Sum Open Value / Sum Perp Equity`, computed over qualifying wallets only.

> **Why this matters:** Using the Position Age filter to gate wallet eligibility (rather than to filter individual positions) ensures that cohort exposure reflects how leveraged the qualifying wallets actually are. If only newly-opened positions were summed, a wallet with large older positions would appear far less leveraged than it truly is, distorting the cohort signal.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hypertracker.io/hypertracker-dashboard/bias.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
