@ethereumglobalnews · Post #1229 · 28.10.2025 г., 04:58
📊 Top Perp DEX Aggregators #Insight#DeFi#PerpDEX 📌 衍生品市場仍是主戰場,流動正向以太坊生態聚集。 👍@EthereumGlobalNews 🥲 🥲Follow for more Web3News 🤣
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #401 · 15 дек.
Функция asyncio.wait() это еще один способ вызвать множество асинхронных задач. Она работает в нескольких режимах. 1. Самый простой - ждем завершения всех задач async def main(): tasks = [asyncio.create_task(do_it(i)) for i in range(10)] done, pending = await asyncio.wait( tasks, return_when=asyncio.ALL_COMPLETED ) for task in done: try: print(task.result()) except Exception as e: print(e) Очень похоже на gather, но работает не так. ▫️возвращает не результаты, а два сета с объектами Task у которых можно забрать результат через task.result() если они в списке done ▫️не гарантирует порядок результатов так как оба объекта это set ▫️не выбрасывает исключение когда оно появляется, а сохраняет его в Task. Исключение появится когда попробуете забрать резултьтат. 2. Ждем завершения первой задачи, даже если там ошибка. async def main(): tasks = [asyncio.create_task(do_it(i)) for i in range(3)] done, pending = await asyncio.wait( tasks, return_when=asyncio.FIRST_COMPLETED ) # в done может быть несколько задач! for task in done: try: print(task.result()) except Exception as e: print(f"Fail: {e}") # Оставшиеся задачи в pending, как правило, нужно отменить, иначе они будут продолжать работать for task in pending: task.cancel() В сете done будут таски которые успели завершится, причем как успешно так и нет. 3. До первой ошибки. Тоже самое, но с аргументом FIRST_EXCEPTION done, pending = await asyncio.wait( tasks, return_when=asyncio.FIRST_EXCEPTION ) Функция завершается как только первая задача упадет с ошибкой. Учтите, что в любом случае done вы можете обранужить несколько задач, как с ошибками так и успешные. ↗️ Полный листинг примеров здесь #async
Hashtags
Пребарај: #perpdex
@ethereumglobalnews · Post #1229 · 28.10.2025 г., 04:58
📊 Top Perp DEX Aggregators #Insight#DeFi#PerpDEX 📌 衍生品市場仍是主戰場,流動正向以太坊生態聚集。 👍@EthereumGlobalNews 🥲 🥲Follow for more Web3News 🤣
@ethereumglobalnews · Post #1066 · 19.10.2025 г., 06:28
😤 永續合約賽道競爭升溫 : Hyperliquid 稱王Aster 強勢追趕 #PerpDEX#TVL排行#以太坊#生態競爭
@CryptoM · Post #64940 · 10.04.2026 г., 11:15
🚀 Perp DEX Market Sees Shift in Trading Volumes On April 10, data from DefiLlama indicates a decline in overall trading volumes in the on-chain Perp DEX market. According to BlockBeats, Aster's trading volume has surpassed that of EdgeX and Lighter, securing the second position. Meanwhile, the total holdings of the HIP-3 ecosystem projects TradeXYZ and Hyperliquid have seen a slight increase. The current rankings for major Perp DEX trading volumes are as follows: Hyperliquid has a 24-hour trading volume of approximately $8.23 billion, with open contract volumes around $7.46 billion. TradeXYZ records a 24-hour trading volume of about $3.02 billion, with open contract volumes near $1.74 billion. Aster shows a 24-hour trading volume of roughly $2.07 billion, with open contract volumes around $1.91 billion. Lighter has a 24-hour trading volume of approximately $1.90 billion, with open contract volumes about $706 million. EdgeX reports a 24-hour trading volume of around $1.84 billion, with open contract volumes near $1.05 billion. Pacifica's 24-hour trading volume is about $422 million, with open contract volumes approximately $79.34 million. #PerpDEX#DeFi#TradingVolume#Crypto#Blockchain#Aster#EdgeX#Lighter#Hyperliquid#TradeXYZ#HIP3#Pacifica#ASTER
@CryptoM · Post #64611 · 09.04.2026 г., 10:45
🚀 TradeXYZ Sees Decline After Surge in Trading Volume On April 9, according to BlockBeats, data from DefiLlama indicates that the trading volume of the HIP-3 ecosystem project TradeXYZ, which doubled the previous day, has now decreased. Hyperliquid's overall trading volume has also fallen below $10 billion, with 45.7% of its volume originating from TradeXYZ's traditional market. EdgeX ranks second in trading volume. The current rankings for major Perp DEX trading volumes are as follows: Hyperliquid: 24-hour trading volume is approximately $9.54 billion, with open contract volume around $7.25 billion. TradeXYZ: 24-hour trading volume is about $4.36 billion, with open contract volume around $1.69 billion. EdgeX: 24-hour trading volume is approximately $2.30 billion, with open contract volume around $1.03 billion. Aster: 24-hour trading volume is about $1.92 billion, with open contract volume around $1.87 billion. Lighter: 24-hour trading volume is approximately $1.82 billion, with open contract volume around $688 million. Pacifica: 24-hour trading volume is about $471 million, with open contract volume around $77.24 million. #TradeXYZ#DefiLlama#Hyperliquid#PerpDEX#CryptoTrading#EdgeX#Aster#Lighter#Pacifica#TradingVolume#CryptoMarket