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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #402 · 22 дек.

Отдельно разберём TaskGroup, который пришел на замену gather в Python 3.11. Ключевые отличия ▫️create_task() возвращает объект asyncio.Task, у которого есть соответствюущие методы управления. То есть у нас больше контроля ▫️это контекстный менеджер, который гарантирует что все таски будут остановлены по выходу из контекста ▫️ошибка автоматически отменяет незавершенные задачи, ▫️except* передает нам ExceptionGroup, в котором каждую ошибку можно обработать отдельно import asyncio import random async def do_it() -> str: if random.random() < 0.1: raise ValueError('Oops') delay = random.uniform(0.5, 1.5) await asyncio.sleep(delay) return delay async def main(): try: async with asyncio.TaskGroup() as tg: for _ in range(10): tasks.append(tg.create_task(do_it())) for t in tasks: print(t.result()) except *ValueError as e: for err in e.exceptions: print(err) asyncio.run(main()) Рекомендую изучить страницу Coroutines and Tasks из документации, где представлено больше интересных примеров и механизмов - таймауты - отмена задач - создание задач из другого потока #async

Hashtags

Резултати

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

Пребарај: #mvrv

当前筛选 #mvrv清除筛选
Crypto Australia🇭🇲🇭🇲

@CryptoAustralia · Post #15801 · 13.02.2024 г., 10:21

We can use Short-Term Holder MVRV to monitor the unrealized profit or loss of new market participants. Comparing the STH cost-basis to the spot price reveals the pressure they face to sell at a loss or take profit. #MVRV is already above the 1.0 Mark, which shows strong bullishness in the market and #MVRV tested the Moving Average as Resistance already, and more momentum yet to come if it crosses the 155D Moving Average with MVRV By Crypto Australia

Hashtags

Crypto Australia🇭🇲🇭🇲

@CryptoAustralia · Post #15790 · 12.02.2024 г., 13:02

#MVRV started flipping bullish as #MVRV Ratio flipping above the 1Y MRVR Moving Average. Historically, we've seen this indicating some good mid-term and long-term trends successfully, so this could be another indication to us. By Crypto Australia

Hashtags

Crypto M - Crypto News

@CryptoM · Post #65021 · 10.04.2026 г., 14:11

🚀 Bitcoin's Potential Bear-Market 'Iron Bottom' Predicted by Analyst A CryptoQuant analyst has projected that Bitcoin might establish a bear-market 'iron bottom' within the $55,000–$60,000 range by the end of 2026. According to NS3.AI, this prediction is grounded in on-chain indicators, notably the MVRV Z-score, which has moderated but remains above negative levels. #Bitcoin#Crypto#BearMarket#CryptoAnalysis#MVRV#OnChainData#CryptoPredictions#BTC

🤣 以太區塊鏈新聞 🗓 2025-10-14 EthereumGlobalNews 💵#鏈上數據觀察 📊【 #BTC穩站135日均線,鏈上指標顯示投機降溫、結構穩固 】同時 #MVRV回落至 1.0 附近,顯示市場正從過度投機中冷卻,但整體結構依然穩健。 #技術走勢#BTC趨勢觀察#市場情緒#區塊鏈數據

以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1050 · 18.10.2025 г., 12:58

#Santiment:主流币种 #MVRV 转为负值,显示潜在抄底时机浮现 —————————————————— 🔻 各資產的 30 日平均回報如下: • #BTC:-5.8% • #ETH:-8.4% • #XRP:-15.3% —————————————————— #鏈上情緒分析#數據回調#逢低買入訊號 🤣 以太區塊鏈新聞 🗓 2025-10-18 EthereumGlobalNews 💵#鏈上數據分析