# `CCXT.LongShortRatio`
[🔗](https://github.com/ZenHive/ccxt_client/blob/main/lib/ccxt/long_short_ratio.ex#L1)

Unified long/short ratio data.

Represents the ratio of long to short positions for a symbol.

## Fields

  * `symbol` - Unified symbol
  * `timestamp` - Data timestamp in milliseconds
  * `datetime` - ISO 8601 datetime string
  * `timeframe` - Aggregation timeframe (e.g., "5m", "1h")
  * `long_short_ratio` - Ratio of longs to shorts
  * `info` - Raw exchange response

# `t`

```elixir
@type t() :: %CCXT.LongShortRatio{
  datetime: String.t() | nil,
  info: map() | nil,
  long_short_ratio: number() | nil,
  symbol: String.t() | nil,
  timeframe: String.t() | nil,
  timestamp: integer() | nil
}
```

# `schema`

```elixir
@spec schema() :: map()
```

JSON Schema for the LongShortRatio unified type.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
