chore: add response sample to private endpoint

This commit is contained in:
Matthias
2025-09-26 06:44:10 +02:00
parent 55b90917e4
commit f92caf0f1f

View File

@@ -467,6 +467,21 @@ class Binance(Exchange):
return self.get_spot_pair_delist_time(pair, refresh=False)
def get_spot_delist_schedule(self):
"""
Get the delisting schedule for spot pairs
Only works in live mode as it requires API keys,
Return sample:
[{
"delistTime": "1759114800000",
"symbols": [
"OMNIBTC",
"OMNIFDUSD",
"OMNITRY",
"OMNIUSDC",
"OMNIUSDT"
]
}]
"""
try:
delist_schedule = self._api.sapi_get_spot_delist_schedule()
return delist_schedule