Skip to main content
This page describes the margin- and funding-related fields returned by the position endpoints.

Position Information

Position information is available through:
The response includes commonly used margin and risk fields such as:
  • entry_price
  • mark_price
  • unrealised_pnl
  • realised_pnl
  • margin_mode
  • initial_margin
  • maintenance_margin
  • leverage
  • liq_price
  • funding

Margin Mode

Ekiden currently supports Cross Margin only. In Cross Margin mode:
  • Margin is shared across all positions within the trading account.
  • Available account equity may be used to prevent liquidation.
  • Liquidation risk is evaluated using the account’s available margin.
The current margin mode is returned in the margin_mode field.

Risk Fields

Position responses include the following risk-related fields:
  • initial_margin
  • maintenance_margin
  • leverage
  • liq_price
These values are calculated by the trading engine and returned for informational purposes.

Funding

Funding-related information is available through:
  • Position responses (funding)
  • Funding Rate History:
Refer to the Market Data documentation for funding rate history endpoints.