TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #424 · 13 апр.

Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами. Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как: - trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки. - curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками. - anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов. anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного. В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах) Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно. #libs#async

Hashtags

Резултати

Пронајдени 3 слични објави

Пребарај: #stoploss

当前筛选 #stoploss清除筛选
Crypto M - Crypto News

@CryptoM · Post #65211 · 12.04.2026 г., 02:14

🚀 Crypto Whale Adjusts Stop-Loss to Secure Profits On April 12, a prominent crypto trader known as 'Set 10 Big Goals' (@Jason60704294) announced adjustments to their stop-loss positions to prevent targeted liquidation. According to BlockBeats, the trader has already secured profits from their current short positions. Previously, it was reported that the trader held a short position of 2,567.49 BTC with an entry price of $71,554.61, and a short position of 38,465.22 ETH with an entry price of $2,248.74. #Crypto#Bitcoin#Ethereum#Trading#StopLoss#ProfitTaking#CryptoWhale#BTC#ETH

Crypto M - Crypto News

@CryptoM · Post #65210 · 12.04.2026 г., 02:09

🚀 Analyst Discusses Stop-Loss Adjustment Strategy An analyst, @ai_9684xtpa, posted on X about the rationale behind adjusting a stop-loss point to $73,500. The adjustment was made to prevent precise liquidation, and the analyst noted that the price nearly reached this adjusted level. #StopLoss#TradingStrategy#MarketAnalysis#RiskManagement#PriceAdjustment#Investing

Crypto M - Crypto News

@CryptoM · Post #64987 · 10.04.2026 г., 12:57

🚀 Major BTC Long Position Liquidated on Hyperliquid Platform In the last 10 minutes, a significant BTC long position was liquidated on Hyperliquid, according to ChainCatcher. The position, held by the entity identified as 0x1e9, was closed at a price of $71,463, resulting in a substantial sell order. The position was initially opened today at 6 a.m. UTC+8, when BTC was trading above $72,000. It involved 247 BTC, equivalent to approximately $17.65 million. As the price declined, the holder opted for a rapid stop-loss exit, incurring a loss of about $180,000. #BTC#longposition#liquidation#Hyperliquid#ChainCatcher#cryptocurrency#BTCprice#stoploss#cryptotrading#loss