CCXT.LastPrice (ccxt_client v0.6.1)

Copy Markdown View Source

Unified last price data.

Represents the most recent trade price for a symbol.

Fields

  • symbol - Unified symbol
  • timestamp - Price timestamp in milliseconds
  • datetime - ISO 8601 datetime string
  • price - Last traded price
  • side - Last trade side ("buy" or "sell")
  • info - Raw exchange response

Summary

Functions

JSON Schema for the LastPrice unified type.

Types

t()

@type t() :: %CCXT.LastPrice{
  datetime: String.t() | nil,
  info: map() | nil,
  price: number() | nil,
  side: String.t() | nil,
  symbol: String.t() | nil,
  timestamp: integer() | nil
}

Functions

schema()

@spec schema() :: map()

JSON Schema for the LastPrice unified type.