CCXT.TradingFee (ccxt_client v0.6.1)

Copy Markdown View Source

Unified trading fee schedule data.

Describes the maker/taker fee rates for a symbol. Distinct from CCXT.Fee which represents the fee on a single trade or order.

Fields

  • symbol - Unified symbol (e.g., "BTC/USDT")
  • maker - Maker fee rate as decimal (e.g., 0.001 = 0.1%)
  • taker - Taker fee rate as decimal
  • percentage - Whether fees are percentage-based (vs flat)
  • tier_based - Whether fees vary by trading volume tier
  • info - Raw exchange response

Summary

Functions

JSON Schema for the TradingFee unified type.

Types

t()

@type t() :: %CCXT.TradingFee{
  info: map() | nil,
  maker: number() | nil,
  percentage: boolean() | nil,
  symbol: String.t() | nil,
  taker: number() | nil,
  tier_based: boolean() | nil
}

Functions

schema()

@spec schema() :: map()

JSON Schema for the TradingFee unified type.