CCXT.LongShortRatio (ccxt_client v0.6.1)

Copy Markdown View Source

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

Summary

Functions

JSON Schema for the LongShortRatio unified type.

Types

t()

@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
}

Functions

schema()

@spec schema() :: map()

JSON Schema for the LongShortRatio unified type.