Gemini Crypto Exchange Logo
Version 2

Funding Amount Feed

The Funding Amount feed provides funding amount updates for a subscribed perpetual instrument.


Funding Amount Feed Subscribe Message

Send a JSON formatted message with following fields upon connecting to v2/marketdata:

Field NameTypeValues
typestringsubscribe
subscriptionsarray
-- namestringfunding_amount
-- symbolsarray["BTC-GUSD-PERP", ...]

Funding Amount Response

When you receive funding amount updates, they will have the following format:

Field NameTypeValues
typestringfunding_amount_updates
symbolstringBTC-GUSD-PERP
changesarraychange to funding amount

All elements of changes share the following fields:

Field NameTypeValues
timestampintegernanoseconds
funding_amountstringfunding amount
funding_date_timeintegerfunding date time
funding_interval_in_minutesintegerfunding interval in minutes
is_realizedbooleanis realized funding

Examples

JSON Funding Amount Subscription Message

JSONCode
{ "type": "subscribe", "subscriptions": [ { "name": "funding_amount", "symbols": ["BTC-GUSD-PERP"] } ] }

JSON Funding Amount Response

JSONCode
{ "type": "funding_amount_updates", "symbol": "BTCGUSDPERP", "changes": [ { "timestamp": 1673932380007696874, "funding_amount": "0", "funding_date_time": 1673932380007696874, "funding_interval_in_minutes": 60, "is_realized": false } ] }
Last modified on