Get a summary of trading account information for a specific vault.
Retrieves a comprehensive summary of the trading account associated with
a vault, including margin information, account health, risk metrics,
and trading statistics.
Returns:
Dict[str, Any]: Account summary information, including:
- margin_ratio (float): Current margin ratio
- account_health (float): Account health percentage
- total_equity (float): Total account equity
- available_margin (float): Available margin for new positions
- used_margin (float): Margin currently in use
- unrealized_pnl (float): Total unrealized profit/loss
- realized_pnl_24h (float): Realized profit/loss in the last 24 hours
- open_orders_count (int): Number of open orders
- positions_count (int): Number of open positions
If an error occurs, returns:
- success (bool): False
- timestamp (str): ISO-formatted timestamp of the request
- environment (str): Current Paradex environment
- error (str): Error message
- account_summary (None): Null value for account summary