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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #418 · 9 мар.

Оператор pipe позволяет писать более компактный код, реализуя логику объединения данных (Union). Важно помнить, что его поведение зависит от контекста. Побитовые операции (логическое OR) result = 5 | 3 # 5 (0101) | 3 (0011) = 7 (0111) Самое главное - не путать с оператором or, это другое! Объединение множеств set_a = {1, 2, 3} set_b = {3, 4, 5} set_c = set_a | set_b # {1, 2, 3, 4, 5} set_c |= {5, 6} # {1, 2, 3, 4, 5, 6} Слияние словарей dict_1 = {"a": 1, "b": 2} dict_2 = {"b": 3, "c": 4} merged = dict_1 | dict_2 # {'a': 1, 'b': 3, 'c': 4} merged |= {"d": 5} # {'a': 1, 'b': 3, 'c': 4, 'd': 5} Аннотации типов, заменяет Union def process_data(value: int | str) -> None: print(value) Допустимо использовать в isinstance или issubclass isinstance(3, int | float) # True Паттерн-матчинг status_code = 404 match status_code: case 200 | 201 | 204: print("OK") case 400 | 404 | 500: print("ERROR") Для использования в своих классах требуется переопределить метод __or__ Так же нашел библиотеку pipe которая добавляет еще много возможностей. Рекомендую ознакомиться ;) #basic

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 💵#鏈上數據分析