---
title: 'valuation-rank'
sidebar_label: 'valuation-rank'
sidebar_position: 11
---

# longbridge valuation-rank

Track a stock's daily PE/PB/PS valuation percentile rank within its industry over a date range.

## Basic Usage

```bash
longbridge valuation-rank TSLA.US
```

```
  (day)
Date                PE        PB        PS       Div
────────────────────────────────────────────────────
2026-04-08       19/49     35/49     37/49         -
2026-04-09       19/49     35/49     37/49         -
2026-04-10       19/49     35/49     36/49         -
...
```

Each column shows `rank/total` — for example `19/49` means the stock ranks 19th out of 49 peers for that metric on that day.

## Examples

### Default (1 year)

```bash
longbridge valuation-rank TSLA.US
longbridge valuation-rank AAPL.US
```

Returns daily valuation ranks for the past year (PE, PB, PS, dividend yield).

### Custom date range

```bash
longbridge valuation-rank TSLA.US --start 20250101 --end 20251231
longbridge valuation-rank 700.HK --start 20240101 --end 20241231
```

Date format is `YYYYMMDD`.

### JSON output

```bash
longbridge valuation-rank TSLA.US --format json
```

Returns the same rank data as a JSON array, suitable for scripting or further analysis.
