get https://api.cvex.trade/v1/portfolio/overview
This endpoint provides detailed information about a account's trading portfolio on the platform:
portfolio_id
: The Ethereum address associated with the portfolio.collateral_balance
: The total amount of collateral held in the account.unrealized_profit
: The current unrealized profit or loss from open positions.equity
: The total equity of the account, calculated as the sum of collateral balance and unrealized profit.required_margin
: The margin required to maintain all open positions.available_to_withdraw:
The amount available for withdrawal, considering current margin requirements.margin_utilization
: The fraction of equity being used as margin, represented as a fraction from 0 to 1.liquidation_risk_1d
: The estimated risk of liquidation within the next day, represented as a fraction from 0 to 1.
Each request to this endpoint costs 1 API credit.