One Trading API
REST APIWebSocket API
REST APIWebSocket API
  1. Trading
  • Introduction
  • Authenticate
  • Subscribe
  • Ping / Pong
  • Trading
    • Introduction
    • Dead Man Switch (Auto Cancellation)
    • Create Order
    • Cancel All Orders
    • Cancel Order by Client ID
    • Cancel Order by Order ID
    • Margin Update
    • Settlement
    • Funding Payment
    • Order Booked
    • Order Rejected
    • Order Closed
    • Trade Executed
    • Order Fully Filled
    • Balance Adjustment
  • Orderbook
    • Introduction
    • Orderbook Snapshot
    • Orderbook Update
  • Price Ticks
    • Introduction
    • Price Tick
  • Book Ticker
    • Introduction
    • Book Tick
  1. Trading

Funding Payment

You must be authenticated and subscribed to the TRADING channel in order to receive FUNDING_PAYMENT messages.
The FUNDING_PAYMENT message is sent via the trading channel every four hours, when the funding rate payment is made.
{
    "type": "FUNDING_PAYMENT",
    "channel_name": "TRADING",
    "instrument_code": "BTC_EUR_P",
    "direction": "SHORT",
    "open_volume": "0.03",
    "pending_buy_size": "0",
    "pending_sell_size": "0.05",
    "funding_rate": "1",
    "funding_payment": "-15.3",
    "cash_balance": "100015.3",
    "maintenance_margin": "53.55",
    "maintenance_used": "153",
    "account_ratio": 0.46
}
FundingPayment
type
enum<string> 
required
The message type, always "FUNDING_PAYMENT" for this event.
Allowed value:
FUNDING_PAYMENT
channel_name
enum<string> 
required
The WebSocket channel name, always "TRADING".
Allowed value:
TRADING
instrument_code
string 
required
The trading instrument symbol, e.g., "BTC_EUR_P".
direction
enum<string> 
required
The position direction, either "LONG" or "SHORT".
Allowed values:
LONGSHORT
open_volume
string 
required
The size of the currently open position in the instrument.
pending_buy_size
string 
required
The size of any pending (unfilled) buy orders for this instrument.
pending_sell_size
string 
required
The size of any pending (unfilled) sell orders for this instrument.
funding_rate
string 
required
The funding rate percentage applied to the position (e.g., "1" represents 1%).
funding_payment
string 
required
The funding payment amount applied to the account. A negative value indicates a deduction, while a positive value indicates a credit.
cash_balance
string 
required
The updated account cash balance after the funding payment is applied.
maintenance_margin
string 
required
The minimum margin required to maintain the open position.
maintenance_used
string 
required
The total maintenance margin currently being used across all positions.
account_ratio
number 
required
The account margin ratio.
Previous
Settlement
Next
Order Booked
Built with