Get a list of current trading positions for a specific vault.
Retrieves all open trading positions for a vault, including market,
size, entry price, liquidation price, unrealized PnL, and other
position-specific information.
Returns:
Dict[str, Any]: List of positions for the vault, each containing:
- market_id (str): Market identifier (e.g., "ETH-PERP")
- side (str): Position side ("LONG" or "SHORT")
- size (float): Position size
- entry_price (float): Average entry price
- mark_price (float): Current mark price
- liquidation_price (float): Price at which position would be liquidated
- unrealized_pnl (float): Unrealized profit/loss
- leverage (float): Current leverage
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
- positions (None): Null value for positions