@cryptoangelsusa · Post #21884 · 31.10.2025 г., 08:09
Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures #1000FLOKI/USDT All take-profit targets achieved 😎 Profit: 85.9375% 📈 Period: 10 Days 22 Hours 31 Minutes ⏰
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #397 · 12 ное.
Использование Pydantic сегодня стало нормой, и это правильно. Но иногда на ревью вижу, что используют его не всегда корректно. Например, метод BaseModel.model_dump() по умолчанию не преобразует стандартные типы, такие как datetime, UUID или Decimal, в простой сериализуемый для JSON вид. Тогда пишут кастмоный сериализатор для этих типов чтобы функция json.dump() не падала с ошибкой. import uuid from datetime import datetime from decimal import Decimal from uuid import UUID from pydantic import BaseModel class MyModel(BaseModel): id: UUID date: datetime value: Decimal obj = MyModel( id=uuid.uuid4(), date=datetime.now(), value='1.23' ) print(obj.model_dump()) # не подходит для json.dump # { # 'id': UUID('4f8c1bc4-25fd-40cd-9dbe-2c73639b0dc1'), # 'date': datetime.datetime(2025, 12, 12, 12, 12, 12, 111111), # 'value': Decimal('1.23') # } # добавляем свой кастомный сериализатор json.dumps(obj.model_dump(), cls=MySerializer) # { # 'id': '4f8c1bc4-25fd-40cd-9dbe-2c73639b0dc1', # 'date': '2025-12-12T12:12:12.111111', # 'value': '1.23' # } В данном случае класс MySerializer обрабатывает datetime, UUID и Decimal. Например так: class MySerializer(json.JSONEncoder): def default(self, o): if isinstance(o, Decimal): return str(o) elif isinstance(o, datetime): return o.isoformat() elif isinstance(o, UUID): return str(o) return super().default(o) Специально для тех, кто всё еще так делает - в этом нет необходимости! Pydantic может это сделать сам, просто нужно добавить параметр mode="json". json.dumps(obj.model_dump(mode="json")) # { # 'id': '4f8c1bc4-25fd-40cd-9dbe-2c73639b0dc1', # 'date': '2012-12-12T12:12:12.111111', # 'value': '1.23' # } #pydantic#libs
Пребарај: #1000floki
@cryptoangelsusa · Post #21884 · 31.10.2025 г., 08:09
Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures #1000FLOKI/USDT All take-profit targets achieved 😎 Profit: 85.9375% 📈 Period: 10 Days 22 Hours 31 Minutes ⏰
Hashtags
@cryptoangelsusa · Post #21824 · 20.10.2025 г., 06:36
Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures #1000FLOKI/USDT All take-profit targets achieved 😎 Profit: 71.1599% 📈 Period: 1 Days 23 Hours 38 Minutes ⏰
Hashtags
@cryptoangelsusa · Post #21819 · 18.10.2025 г., 07:05
Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures #1000FLOKI/USDT Take-Profit target 1 ✅ Profit: 19.8231% 📈 Period: 7 Minutes ⏰
Hashtags
@cryptoangelsusa · Post #21673 · 05.10.2025 г., 06:17
Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures #1000FLOKI/USDT All take-profit targets achieved 😎 Profit: 68.9655% 📈 Period: 23 Hours 21 Minutes ⏰
Hashtags
@Futurentry · Post #3226 · 22.10.2023 г., 16:57
#1000FLOKI/USDT Fourth goal - ✅ Current price - 0.02509 Profits - 100%+ Target achieved at 0d:1h:32m
Hashtags
@cryptoangelsusa · Post #21739 · 12.10.2025 г., 11:42
🌊#1000FLOKI/USDT : #Long ✅ Buy: 0.06818 - 0.06617 ✔️ Target: 0.06886 - 0.06955 - 0.07036 - 0.07135 - 0.07209 - 0.07284 ❌ StopLoss: 0.06480 ⚜️ Leverage: 20x
Hashtags
@haydarcrypto · Post #162 · 12.06.2024 г., 09:56
#1000FLOKI#LONG📈 The coin on the strait tested the intersection of key supports: the trend sloping area and the green block (mirror). On the lower TFs there is an inclined resistance (marked in red), the breakdown of which will open the way for a correction of the fall by +20% from the current ones, Targets: $0.2508 - $0.2696 - $0.2845 ✅ Stop: $0.2221 🚫
Hashtags
@cryptobull_360 · Post #49116 · 07.04.2026 г., 17:42
🙅#TRB, #RARE, #NEIRO, #A, #ME, #XTZ, #KMNO, #RAY, #STX, #ENS, #GMT, #SNX, #1000FLOKI, #0G, #ORDI, #NIL, #BIO, #UMA, #BEAM, #INIT, #SOMI, #EGLD, #CLANKER, #SOPH, #BIGTIME delisted from Coinbase futures