---
title: "Get Long Short Ratio"
method: GET
path: "/api/v1/market/account-ratio"
tags: ["Market"]
---

# Get Long Short Ratio

`GET /api/v1/market/account-ratio`

This refers to the net long and short positions as percentages of all position holders during the selected time.
Long account ratio = Number of holders with long positions / Total number of holders
Short account ratio = Number of holders with short positions / Total number of holders
Long-short account ratio = Long account ratio / Short account ratio

## Query parameters

- `symbol` string, required
- `period` IntervalTime, required — unresolved $ref
- `start_time` string, date-time, nullable
- `end_time` string, date-time, nullable
- `limit` integer, nullable
- `cursor` string, nullable

## Response `200`

Long short ratio data

- GetLongShortRatioResponse — This refers to the net long and short positions as percentages of all position holders during the selected time.
  - `list` LongShortRatio[], required
    - `buy_ratio` string, required — The ratio of the number of long position
    - `sell_ratio` string, required — The ratio of the number of short position
    - `symbol` string, required
    - `timestamp` string, date-time, required
  - `next_page_cursor` string, required

---

[API](https://skmtc.net/ekidenfi/apis/ekiden-gateway.md) · [All operations](https://skmtc.net/ekidenfi/apis/ekiden-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ekidenfi/ekiden-gateway/revisions/75ffe546b73a/schema)
