MarketRef: string | MarketId | Market

A reference to a market: a symbol pair string (e.g. "ETH/USDC"), a hex MarketId, or a full Market object.

All client methods that accept a market parameter use this type. Runtime validation happens in resolveMarket() which matches the input against the cached market list.