@gongjiaoweiy · Post #68699 · 05.02.2026 г., 07:39
#ALTCOINS Still at major HTF support. Same plan. Strong bounce (short squeeze), then bearish continuation.
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #241 · 5 мај
Можно ли в Python создавать бинарные файлы? Конечно можно. Для этого в Python есть следующие инструменты: ▫️ тип данных bytes и bytearray ▫️ открытие файла в режиме wb (write binary) или rb (read binary) ▫️ модуль struct Про модуль struct поговорим в первую очередь. Файл в формате JSON или Yaml внутри себя содержит разметку данных. Всегда можно определить где список начался а где закончился. Где записана строка а где словарь. То есть формат записи данных содержит в себе элементы разметки данных. В binary-файле данные не имеют визуальной разметки. Это просто байты, записанные один за другим. Правила записи и чтения находятся вне файла. Модуль struct как раз и помогает с организацией данных в таком файле с помощью определения форматов записи для разных частей файла. Модуль struct преобразует Python-объекты в массив байт, готовый к записи в файл и имеющий определённый вид. Для этого всегда следует указывать формат преобразования (или, как оно здесь называется - запаковки). Формат нужен для того, чтобы выделить достаточное количество байт для записи конкретного типа объекта. В последствии с помощью того же формата будет производиться чтение. При этом следует помнить что мы говорим о типах языка С а не Python. Именно формат определяет, что записано в конкретном месте файла, число, строка или что-то еще. Вот какие токены формата у нас есть. Помимо этого, первым символом можно указать порядок байтов. На разных системах одни и те же типы данных могут записываться по-разному, поэтому желательно указать конкретный способ из доступных. Если этого не сделать, то используется символ '@', то есть нативный для текущей системы. В строке формата мы пишем в каком порядке и какие типы собираемся преобразовать в байты. Запакуем в байты простое число, токен "i". >>> import struct >>> struct.pack('=i', 10) b'\n\x00\x00\x00' Теперь несколько float, при этом нужно передавать элементы не массивом а последовательностью аргументов. >>> struct.pack('=fff', 1.0, 2.5, 4.1) b'\x00\x00\x80?\x00\x00 @33\x83@' Вместо нескольких токенов можно просто указать нужное количество элементов перед одним токеном, результат будет тот же. >>> struct.pack('=3f', 1.0, 2.5, 4.1) b'\x00\x00\x80?\x00\x00 @33\x83@' Теперь запакуем разные типы >>> data = struct.pack('=fiQ', 1.0, 4, 100500) я запаковал типы float, int и unsigned long long (очень большой int, на 8 байт) b'\x00\x00\x80?\x04\x00\x00...' Распаковка происходит аналогично, но нужно указать тот же формат, который использовался при запаковке. Результат возвращается всегда в виде кортежа. >>> struct.unpack('=fiQ', data) (1.0, 4, 100500) Как видите, ничего страшного! #lib#basic
Пребарај: #altcoins
@gongjiaoweiy · Post #68699 · 05.02.2026 г., 07:39
#ALTCOINS Still at major HTF support. Same plan. Strong bounce (short squeeze), then bearish continuation.
Hashtags
@btctradingclub · Post #26233 · 01.11.2025 г., 16:02
✔️✔️Reversal on #Altcoins soon
Hashtags
@coin_signals · Post #16875 · 11.08.2025 г., 19:28
📊 There is no strength in the market; very few coins have posted double-digit returns in the past 7 days. First, LTC pumped, then ETH, and then BTC. The overall market is not trending upward together. (possibility of exit pumps) $BTC Bullish if holds above $121k. $ETH Bullish Right Now #Altcoins still Bearish.
Hashtags
@wolfoftrading · Post #5301 · 10.08.2025 г., 20:40
#Altcoins dominance has probably hit the bottom here New high coming for Alts as this starts moving higher:
Hashtags
@michaelvandepoppeanalyst · Post #4883 · 28.09.2024 г., 06:58
Back on the grind from Monday. #Altcoins are waking up significantly, but this is nothing compared to what we're going to be seeing in the coming 6 months. It's going to be glorious. It already is.
Hashtags
@michaelvandepoppeanalyst · Post #4836 · 15.09.2024 г., 13:19
#Altcoins have bottomed out. The next target is $1.8T in Q1 2025.
Hashtags
@michaelvandepoppeanalyst · Post #4828 · 13.09.2024 г., 10:18
The markets are heating up for a strong October and November. That's why you want to be positioned into strong #Altcoins. $OM is one of them, only 24% down from the ATH, it's looking primed for a strong continuation in upcoming months.
Hashtags
@michaelvandepoppeanalyst · Post #4824 · 12.09.2024 г., 10:26
#Altcoins are doing relatively well. $SEI continues to find momentum, and I'd like to see it rally to $0.34 (preferably even above the previous high, but not expecting that yet), make an HL, and continue that rally to $0.44 in October.
Hashtags
@michaelvandepoppeanalyst · Post #4795 · 09.09.2024 г., 13:30
#Altcoins are doing great, silently. $OP has been gaining momentum, up 28% since the recent low. Rounded bottom with a 3-day bullish divergence. Needs to break through 2750-2850 sats, and then the divergence becomes valid. Expecting a big breakout.
Hashtags
@michaelvandepoppeanalyst · Post #4789 · 08.09.2024 г., 10:40
The #Altcoins show a potential bullish divergence on the Others/BTC chart. Very important, as that might be an indicator of what's going to come. The bottoming process is fully in place.
Hashtags
@michaelvandepoppeanalyst · Post #4787 · 07.09.2024 г., 16:08
Ethereum #altcoins aren't doing bad, as $OP is currently up from the lows. However, on the larger scale, it's currently down substantially and it's back to the lows. I'm expecting a lot more upside to come on this one once EigenLayer comes into action.
Hashtags
@michaelvandepoppeanalyst · Post #4776 · 06.09.2024 г., 16:52
#Altcoins aren't doing that wrong, as $SEI is currently looking at a crucial support test. I'd like to see $SEI stay above $0.24. If that's the case, we'll be good to go towards $0.45.
Hashtags