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

TGINSIGHT SIMILAR POSTS

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

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

Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs

Резултати

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

Пребарај: #floatingloss

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

@CryptoM · Post #65418 · 13.04.2026 г., 06:24

🚀 Whale Opens High-Leverage Bitcoin Short Position A large cryptocurrency holder, identified by the address starting with 0x004, has opened a Bitcoin short position with 33x leverage. According to ChainCatcher, the average price for this position is $70,745, involving 200 BTC. The position currently shows a floating loss of 10%. Earlier today, the same address closed a previous Bitcoin short position at break-even and has now re-entered the market. This marks the fifth time this month that the address has opened a short position. #Whale#Bitcoin#ShortPosition#Leverage#Cryptocurrency#BTC#ChainCatcher#FloatingLoss#Market#CryptoTrading

Crypto M - Crypto News

@CryptoM · Post #64871 · 10.04.2026 г., 06:00

🚀 Cryptocurrency Analyst Reports Significant Gains and Losses in BTC and ETH Positions Analyst @ai_9684xtpa posted on X about the latest updates on cryptocurrency positions, highlighting substantial financial movements. A user, @Jason60704294, shared in the comments section that they have set ten major goals and updated their current positions, showing a floating profit of $644,000. In the Bitcoin (BTC) short position, the user holds 2,567.49 BTC with an opening price of $71,554.61, currently experiencing a floating loss of $1.374 million. Meanwhile, the Ethereum (ETH) short position consists of 38,465.22 ETH, opened at a price of $2,248.74, resulting in a floating profit of $2.018 million. The discussion reflects the volatile nature of cryptocurrency trading, where significant gains and losses can occur based on market fluctuations. Traders often set strategic goals and adjust their positions accordingly to navigate the unpredictable market landscape. #Cryptocurrency#BTC#ETH#Bitcoin#Ethereum#Trading#ProfitLoss#MarketFluctuations#ShortPosition#FloatingProfit#FloatingLoss#CryptoAnalysis

Crypto M - Crypto News

@CryptoM · Post #64534 · 09.04.2026 г., 06:35

🚀 BTC Short Position Expanded by Strategy Counterparty On April 9, a significant adjustment was made to a BTC short position by the entity known as 'Strategy Counterparty' (0x94d3). According to BlockBeats On-chain Detection, the position was increased by 81.06 BTC, valued at approximately $5.209 million. The total position size has now reached $75.2048 million, with the average price slightly rising from $69,036.20 to $69,181.40. The liquidation price is set at $79,320.81. Currently, the position is experiencing a floating loss of approximately $1.8229 million, marking a decrease of 96.96%. This makes it the largest BTC short position on the Hyperliquid platform. It is noted that this address previously established a substantial short position against mainstream cryptocurrencies during MicroStrategy's significant BTC acquisitions last December. At that time, the position size peaked at $120 million, making it the largest BTC short on the Hyperliquid platform. #BTC#ShortPosition#StrategyCounterparty#Blockchain#OnChainDetection#Crypto#Hyperliquid#FloatingLoss#BTCShort#MarketAdjustment#Cryptocurrency

Crypto M - Crypto News

@CryptoM · Post #65374 · 13.04.2026 г., 03:00

🚀 Hyperithm's Oil Short Positions Experience Rapid Losses Analyst @ai_9684xtpa posted on X that Hyperithm's oil short positions have seen significant changes in just one day. Initially, these positions had a floating profit of $5.886 million, but they have now turned into a floating loss of $2.1 million. The CL short position, valued at $37.88 million, was opened at a price of $95.211 and currently has a floating loss of $1.402 million. Meanwhile, the BRENTOIL short position, valued at $35.17 million, was opened at a price of $95.986 and is experiencing a floating loss of $620 thousand. Currently, the address holds the largest leveraged position in Hyperliquid BRENTOIL and the third-largest leveraged position in CL. #Hyperithm#oil#shortpositions#floatingloss#CL#BRENTOIL#leveragedposition#Hyperliquid#analyst