# Basic Components

<details>

<summary><mark style="color:blue;">Delimiters</mark></summary>

Delimiters are different entities for which we want to conduct the analysis.\
For example, they can be:

1. C (Chain)
2. A (Asset)
3. APP (App)
4. LP (Liquidity Pool)
5. ...

</details>

<details>

<summary><mark style="color:purple;">Tickers</mark></summary>

Tickers are names of the underlying for the specified delimiters.\
For example, they can be:

1. `ETH` (Ethereum)
2. `USDC` (USDC Asset)
3. `UNIV3` (Uniswap V3 App)
4. `USDC-USDT-DAI` (Liquidity pool containing usdc, usdt and dai assets)
5. ...

Tickers and delimiters always go together.\
`[USDC, USDT]A` -> USDC and USDT assets\
`[UNIV2]APP` -> Uniswap V2 application

</details>

<details>

<summary><mark style="color:red;">Functions</mark></summary>

Functions are the metrics of interest.\
For example, they can be:

1. `P` (Price in USD)
2. `MC` (Market Cap)
3. `L` (Liquidity)
4. `CSUPP` (Circulating Supply)
5. ...

</details>

<details>

<summary><mark style="color:yellow;">Display Type</mark></summary>

Specifies how to render the data:

1. `G` (Line Chart)
2. `T` (Table) -> <mark style="color:yellow;">We're working on it!</mark>
3. `TREE` (TreeMap Chart) -> <mark style="color:yellow;">We're working on it!</mark>

</details>

<details>

<summary><mark style="color:green;">Timeframe</mark></summary>

Specifies the timeframe of the data to query, consists of:

1. Time value
2. Time unit

For example, it can be:

1. `30D` (30 days)
2. `10W` (10 weeks)
3. `3M` (3 months)
4. `5Y` (5 years)

</details>

### Basic Examples

```
Price of ether asset in the past 180 days.
[ETH]A P G 180D

Transaction count on bitcoin chain in the past 3 years.
[BTC]C TXC G 3Y

Volatility with 10 days lookback of usdc and usdt on ethereum 
and polygon chains in the past 2 weeks.
[ETH, POLYGON]C [USDC, USDT]A VOL_10D G 2W

Liquidity of all usdc-weth pools on ethereum chain in the past 30 days.
[ETH]C [USDC-WETH]LP G 30D
```

{% hint style="info" %}
Functions present the actual metrics you want to see on your charts.

Combination of tickers and delimiters represent filters you want to apply on your data.
{% endhint %}
