diff --git a/datamaxi/_endpoints.py b/datamaxi/_endpoints.py index 63ba797..5d0ac7e 100644 --- a/datamaxi/_endpoints.py +++ b/datamaxi/_endpoints.py @@ -706,9 +706,9 @@ "group": "funding_rate", "params": { "exchange": { - "required": True, + "required": False, "type": "str", - "description": "Specifies exchange name", + "description": "Specifies exchange name. Omit to receive symbols for all exchanges; constrain to a single exchange when filtering.", }, }, }, @@ -852,6 +852,33 @@ }, }, }, + "liquidation_stats": { + "path": "/api/v1/liquidation/stats", + "method": "GET", + "tag": "liquidation", + "summary": "Liquidation KPI stats", + "requires_auth": True, + "group": "liquidation", + "params": { + "window": { + "required": False, + "type": "str", + "default": "1h", + "enum": ["1h", "4h", "24h"], + "description": "Rolling window", + }, + "exchange": { + "required": False, + "type": "str", + "description": "Exchange filter", + }, + "minVolumeUsd": { + "required": False, + "type": "float", + "description": "Minimum VolumeUsd filter", + }, + }, + }, "liquidation_symbol_history": { "path": "/api/v1/liquidation/symbol-history", "method": "GET",