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

# Sector Metrics

> Methodology and metric definitions for Perpetual Exchanges, Decentralized Exchanges, Lending Protocols, and Liquid Staking sectors including trading volume, TVL, fees, deposits, borrows, and staked ETH.

[Artemis Dashboard](https://www.artemis.ai/sectors?tab=perpetuals)

## Sectors

We cover metrics in the following sectors: Perpetual Exchanges, Decentralized Exchanges, Lending Protocols and Liquid Staking.

### Perpetual Exchanges

| Metric Definition | Methodology                                                                                                                              | Source                                                                                                                                                                          | Excel Metric Name |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- |
| Trading Volume    | Using <code>FillOrder</code> or equivalent event, sum the amount traded each day or pulled directly from APIs provided by each protocol. | On-chain events or API                                                                                                                                                          | TRADING\_VOLUME   |
| Unique Traders    | Daily unique trading address on the protocol.                                                                                            | Unique addresses that initiate a <code>FillOrder</code> or equivalent event from the set of exchange contracts associated with a protocol or pulled directly from protocol API. | UNIQUE\_TRADERS   |

### Decentralized Exchanges

| Metric Definition | Methodology                                                                                                                                                                                 | Source          | Excel Metric Name |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | ----------------- |
| Trading Volume    | Trading volume is filtered using a blacklist to remove pools that trade tokens that do not follow the ERC-20 standard as well as are extremely illiquid and not able to be properly priced. | On-chain events | DEX\_VOLUMES      |
| TVL               | TVL is filtered using a blacklist to remove pools that trade tokens that do not follow the ERC-20 standard as well as are extremely illiquid and not able to be properly priced.            | On-chain events | TVL               |
| Fees              | Trading fees are filtered using a blacklist to remove pools that trade tokens that do not follow the ERC-20 standard as well as are extremely illiquid and not able to be properly priced.  | On-chain events | FEES              |
| Unique Traders    | Unique addresses that initiate a <code>swap</code> or equivalent event from the set of exchange contracts associated with a protocol.                                                       | On-chain events | UNIQUE\_TRADERS   |

### Lending Protocols

| Metric Definition | Methodology                                           | Source                                                                                                            | Excel Metric Name |
| ----------------- | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------- |
| Deposits          | The amount of deposited funds in the protocol in USD. | Query an archive node getting total outstanding borrows directly from the contracts associated with the protocol. | DEPOSITS          |
| Borrows           | The amount of funds owed to the protocol in USD.      | Query an archive node getting total supply of funds directly from the contracts associated with the protocol.     | BORROWS           |

### Liquid Staking

| Metric Definition | Methodology                                         | Source                                                                                                      | Excel Metric Name   |
| ----------------- | --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------- |
| Staked ETH        | The amount of staked ETH in the protocol.           | Query an archive node getting total supply of ETH directly from the contracts associated with the protocol. | STAKED\_ETH         |
| Staked ETH Inflow | The amount of newly deposited ETH into the protocol | Calculate the daily change of ETH supplied from Staked ETH.                                                 | STAKED\_ETH\_INFLOW |
