Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions datamaxi/_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
},
},
},
Expand Down Expand Up @@ -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",
Expand Down
Loading