@thekingfisher_btc · Post #4409 · 21.04.2026 г., 16:32
#GEX🐟 From: @thekingfisher_liqmap_bot $BTC GEX+ is currently slightly positive but watch out for any downside, it could get slippery and dip pretty deep if a down move getsnstarted...
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #146 · 16 сеп.
Функция sub в regex может принимать функцию в качестве аргумента repl. 📄 Из документации: If repl is a function, it is called for every non-overlapping occurrence of pattern. The function takes a single match object argument, and returns the replacement string. То есть для каждого совпадения будет вызвана функция для вычисления замены вместо замены на одну и ту же строку для всех совпадений. Иными словами, для замены разных совпадений на разные строки не потребуется запускать re.sub() много раз для каждой строки замены. Достаточно определить функцию, которая вернёт строку для каждого из совпадений. Описание слишком запутанное🤔, давайте лучше рассмотрим на простом примере: Создаем карту замены. То есть какие строки на какие требуется менять. remap = { 'раз': '1', 'два': '2', 'три': '3', 'четыре': '4', 'пять': '5', } Пишем функцию поиска строки для замены. Единственным аргументом будет объект re.Match. Используя данные этого объекта мы вычисляем замену on-the-fly! def get_str(match: re.Match): word = match.group(1) return remap.get(word.lower()) or word Пример текста. text = '''Раз Два Три Четыре Пять Вместе будем мы считать Пять Четыре Три Два Раз Мы считать научим вас ''' Теперь запускаем re.sub и вместо строки замены (repl) подаём имя функции. (Данный паттерн ищет отдельные слова в тексте) >>> print(re.sub(r'(\w+)', get_str, text)) 1 2 3 4 5 Вместе будем мы считать 5 4 3 2 1 Мы считать научим вас Думаю, достаточно наглядно 🤓 #libs#regex
Пребарај: #gex
@thekingfisher_btc · Post #4409 · 21.04.2026 г., 16:32
#GEX🐟 From: @thekingfisher_liqmap_bot $BTC GEX+ is currently slightly positive but watch out for any downside, it could get slippery and dip pretty deep if a down move getsnstarted...
Hashtags
@thekingfisher_btc · Post #4408 · 18.04.2026 г., 17:44
#GEX🐟 From: @thekingfisher_liqmap_bot $BTC options dealers are looking fairly well hedged eight now, but expect slippery upside/downside 🔥 Watch the GEX+ On thekingfisher only 🎣
Hashtags
@thekingfisher_btc · Post #4405 · 14.04.2026 г., 10:15
#GEX🐟 From: @thekingfisher_liqmap_bot Be ready for any downside on $BTC Not saying it WILL happen, but too likely to happen to have a 20x long liquidation price on the table 👀 If you want to long, there's better risk-reward in waiting for local pullbacks
Hashtags
@thekingfisher_btc · Post #4388 · 07.04.2026 г., 11:30
#GEX🐟 From: @thekingfisher_liqmap_bot $ETH options dealers are currently fairly hedged with a neutral market impact, for now Waiting for the gex+ to flip for further positioning 🎣
Hashtags
@thekingfisher_btc · Post #4387 · 05.04.2026 г., 08:47
#GEX🐟 From: @thekingfisher_liqmap_bot $ETH GEX shows negative gamma around 2227. Dealers short convexity here. Fuel for volatility if we push. Monitoring the situation… Explosive upside if we reach it 🔥️️️️️️
Hashtags
@thekingfisher_btc · Post #4371 · 25.03.2026 г., 18:38
#GEX🐟 From: @thekingfisher_liqmap_bot $BTC GEX neutral at 70.9k. Dealers not heavily skewed. Means less hedging pressure if we chop around here. Fuel for volatility if we break.
Hashtags
@thekingfisher_btc · Post #4368 · 20.03.2026 г., 15:17
#GEX🐟 From: @thekingfisher_liqmap_bot Options dealers are saying, we buy $BTC for every $ down We sell for every $ up Conclusion, they'll be a price stabilizing force that's fading liqs territory 🎣
Hashtags
@thekingfisher_btc · Post #4363 · 14.03.2026 г., 01:56
#GEX🐟 From: @thekingfisher_liqmap_bot $ETH dealer delta negative around 2091. Suggests dealers are short gamma there. Fuel for volatility if that level triggers. Could see a snap.
Hashtags
@thekingfisher_btc · Post #4352 · 08.03.2026 г., 13:10
#GEX🐟 From: @thekingfisher_liqmap_bot Be careful of potentially slippery downside on $BTC
Hashtags
@thekingfisher_btc · Post #4346 · 04.03.2026 г., 09:32
#GEX🐟 From: @thekingfisher_liqmap_bot $BTC Dealer short gamma exposure is notable. Any sustained move could get amplified quickly. Fuel for volatility.
Hashtags
@thekingfisher_btc · Post #4344 · 03.03.2026 г., 10:27
#GEX🐟 From: @thekingfisher_liqmap_bot $ETH GEX+ showing positive numbers right now Increased volatility would certainly lead to more negative numbers, leading to further volatility Hawkes process when you got us… For now, tempered volaility, keep an eye on the gex+ 🔥️️️️
Hashtags
@thekingfisher_btc · Post #4335 · 20.02.2026 г., 10:08
#GEX🐟 From: @thekingfisher_liqmap_bot $ETH option dealers fairly hedged and neutral right now, a first in a while We’re watching carefuly for their next move 👀️️️️️️
Hashtags