From f85814d2a65f001de933dbf1f7663cd60568d0fe Mon Sep 17 00:00:00 2001 From: Alexander Perechnev Date: Sat, 12 Sep 2026 14:01:47 +0300 Subject: [PATCH] docs: fix meta_and_asset_ctxs return format --- hyperliquid/info.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/hyperliquid/info.py b/hyperliquid/info.py index 360d0588..f2679861 100644 --- a/hyperliquid/info.py +++ b/hyperliquid/info.py @@ -306,19 +306,20 @@ def meta_and_asset_ctxs(self) -> Any: ... ] }, - [ - { - "dayNtlVlm": float string, - "funding": float string, - "impactPxs": Optional([float string, float string]), - "markPx": Optional(float string), - "midPx": Optional(float string), - "openInterest": float string, - "oraclePx": float string, - "premium": Optional(float string), - "prevDayPx": float string - }, - ... + [ + { + "dayNtlVlm": float string, + "funding": float string, + "impactPxs": Optional([float string, float string]), + "markPx": Optional(float string), + "midPx": Optional(float string), + "openInterest": float string, + "oraclePx": float string, + "premium": Optional(float string), + "prevDayPx": float string + }, + ... + ] ] """ return self.post("/info", {"type": "metaAndAssetCtxs"})