latestOpenAPI 3.0.32026-08-10336178.7 KB

6b7d8bd51050

Vaults (Authenticated)

Get user's position in a vault

Returns the authenticated user's share holdings and PnL for a specific vault.

get/v2/vault/position

Query parameters

vault_idstring uuid required

Vault UUID to query position for.

Response

User's vault position.

vault_idstring uuid required
sharesstring required

Total shares owned (decimal string).

shares_lockedstring required

Shares locked for pending withdrawals.

available_sharesstring required

Shares available for withdrawal.

total_depositedstring required

Cumulative USD deposited.

total_withdrawnstring required

Cumulative USD withdrawn.

avg_entry_pricestring required

Weighted average share price at deposits.

current_valuestring required

Current value (shares * share_price).

net_contributionstring required

Net contribution (deposited - withdrawn).

unrealized_pnlstring required

Unrealised PnL (current_value - net_contribution).

total_pnlstring required

Total PnL (current_value + withdrawn - deposited).