Unified funding rate data.
Represents the current or historical funding rate for a perpetual swap contract.
Fields
symbol- Unified symbol (e.g., "BTC/USDT:USDT")timestamp- Data timestamp in millisecondsdatetime- ISO 8601 datetime stringfunding_rate- Current funding rate as decimalmark_price- Current mark priceindex_price- Current index priceinterest_rate- Interest rate componentestimated_settle_price- Estimated settlement pricefunding_timestamp- Funding event timestampfunding_datetime- Funding event datetimenext_funding_timestamp- Next funding event timestampnext_funding_datetime- Next funding event datetimenext_funding_rate- Next estimated funding rateprevious_funding_timestamp- Previous funding event timestampprevious_funding_datetime- Previous funding event datetimeprevious_funding_rate- Previous funding rateinterval- Funding interval (e.g., "8h")info- Raw exchange response
Summary
Types
@type t() :: %CCXT.FundingRate{ datetime: String.t() | nil, estimated_settle_price: number() | nil, funding_datetime: String.t() | nil, funding_rate: number() | nil, funding_timestamp: integer() | nil, index_price: number() | nil, info: map() | nil, interest_rate: number() | nil, interval: String.t() | nil, mark_price: number() | nil, next_funding_datetime: String.t() | nil, next_funding_rate: number() | nil, next_funding_timestamp: integer() | nil, previous_funding_datetime: String.t() | nil, previous_funding_rate: number() | nil, previous_funding_timestamp: integer() | nil, symbol: String.t() | nil, timestamp: integer() | nil }
Functions
@spec schema() :: map()
JSON Schema for the FundingRate unified type.