CCXT.ADLRank (ccxt_client v0.6.1)

Copy Markdown View Source

Unified auto-deleveraging (ADL) rank data.

Represents an account's ADL ranking on a derivatives exchange. Higher rank means higher priority for auto-deleveraging in case of liquidation cascades.

Fields

  • symbol - Unified symbol (e.g., "BTC/USDT:USDT")
  • rank - ADL rank (integer, lower = safer)
  • rating - ADL rating (e.g., "1", "2", "3", "4", "5")
  • percentage - ADL percentile
  • timestamp - Data timestamp in milliseconds
  • datetime - ISO 8601 datetime string
  • info - Raw exchange response

Summary

Functions

JSON Schema for the ADLRank unified type.

Types

t()

@type t() :: %CCXT.ADLRank{
  datetime: String.t() | nil,
  info: map() | nil,
  percentage: number() | nil,
  rank: integer() | nil,
  rating: String.t() | nil,
  symbol: String.t() | nil,
  timestamp: integer() | nil
}

Functions

schema()

@spec schema() :: map()

JSON Schema for the ADLRank unified type.