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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #239 · 3 мај

Один из самых удобных способов записать данные это использование готовых форматов, такие как JSON или YAML. Из плюсов такого подхода стоит отметить вот что: 🔸 готовый, повсеместно используемый и поддерживаемый формат 🔸 простой и понятный файл, удобочитаемый для человека 🔸 можно легко редактировать в любом текстовом редакторе без специальных программ и библиотек Но есть и минусы 🔹 затраты времени при записи файла (кодирование данных в нужный формат строки) 🔹 затраты времени при чтении файла (декодирование данных в Python объекты) 🔹 размер файла увеличивается из-за разметки данных (скобки, запятые, переносы, отступы...) 🔹 перед записью все данные должны быть помещены в память в полном объёме (не всегда) 🔹 при чтении необходимо считать весь файл в память и только потом декодировать данные Если нужно писать немного данных в несколько файлов, то затраты по времени не ощутимы. Обычно это файлы конфига или какие-либо метаданные. Это отличный вариант под такие задачи. Есть и другой поход к записи файлов - это бинарные файлы. Используется, когда данных достаточно много и никто их не собирается читать глазками😳. 🔸 очень быстрая запись 🔸 чтение значительно быстрей чем JSON, YAML итд 🔸 размер файла значительно меньше, так как нет разметки 🔸 можно записывать данные по мере поступления не загружая всё в память 🔸 можно извлечь любую часть данных независимо Из минусов 🔹 нужно определить свой формат записи данных (если не используете готовую спецификацию определённого формата) 🔹 не получится открыть файл и визуально понять что там записано, а для чтения файла потребуется знать его спецификацию. 🔹 не так-то просто создать такой файл без специальной библиотеки В таком виде удобно записывать большой массив любых однородных данных. Например, мониторинг валютной биржи или кэшированная анимация 3D геометрии. (Это не означает что нельзя записать данные разного типа, просто это будет не так удобно) Представьте себе JPG-картинку. По сути это немного мета-информации и большой массив пикселей. Тоже самое со звуком или видео файлом. Поэтому, если вы попробуете открыть картинку в текстовом редакторе вы увидите что-то вроде такого f15d cd29 a564 4578 ... 09e2 9bc4 a696 1253 ... 84e9 4de1 3b23 c24a ... 2534 5161 28e0 709d ... ... Это и есть записанные байтики. И для их чтения требуется определённый софт который знает что с ними делать. Под каждый тип файла. К чему это я? Читайте в следующем посте... #tricks#basic

Резултати

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

Пребарај: #bitcoinetf

当前筛选 #bitcoinetf清除筛选
TokenPocket

@tokenpocket_channel · Post #1092 · 09.01.2024 г., 15:30

✅Ready for spot #BitcoinETF approval? 👀 Before getting the latest news from SEC, TokenPocket leads you to know more about #BitcoinETF! #TokenPocket Let's take a look 👉https://help.tokenpocket.pro/en/wallet-faq-en/btc-wallet/bitcoin-etf 【Details】https://twitter.com/TokenPocket_TP/status/1744742843728662924 【Powered By】Crypto Box

SpotOnChain | Announcement

@spotonchain · Post #646 · 11.01.2024 г., 03:22

🔥🔥 After #BitcoinETF was officially approved, lots of the heat now turns to $ETH! We noticed that 6 whales accumulated a large amount of 57,432 $ETH ($131M) in the past 7 days. They are probably big expectants of $ETH #ETFs. 1️⃣ Whale 0x931 spent $48M to buy 21,192 $ETH at ~$2,265 ~4 days ago, making $6.71M in unrealised profit from $ETH. 2️⃣ Justin Sun allegedly withdrew 11,267 $ETH ($25.31M) at $2,247 from #Binance ~6 days ago. 3️⃣ Smart whale 0xb82 (with $5.59M profit) withdrew 12,219 $ETH ($28.9M) at ~$2,367 from #Binance yesterday, further making $2.56M in unrealized profit. 4️⃣ Three fresh whales withdrew 13,800 $ETH ($31.3M) at ~$2,265 from #Binance, currently making $4.6M. ✅ Set alerts for the whales with us now to see when they will take profit. What if the whales just want to ride the $ETH #ETFs hype for profits and will not hold until the end?

SpotOnChain | Announcement

@spotonchain · Post #270 · 02.07.2023 г., 02:22

🚨 Smart whale 0xb15 received another 8,166 $ETH from #Binance at $1,921 ($15.68M) an hour ago. ➡️ This is part of its latest accumulation when #SEC calling spot #BitcoinETF filings inadequate made $ETH price plung a day ago: - deposited 31.89M $USDT to #Binance - accumulated 8,188 $ETH at $1,864 ($15.23M) 33 hrs ago. ➡️ Notably, it closed an $ETH deal for a $2.04M profit just 4 days ago. 💰Total estimated realized profit from $ETH so far: $10.4M (ROI: 4.8%). 👉 Latest accumulation: 0x17fedab4d3b442c32c8dfa35d5b74d428373ae2a9ba50c90eedc2bf915cc9ddb

TokenPocket

@tokenpocket_channel · Post #1093 · 10.01.2024 г., 02:22

GM🫡 Today's trending post on Twitter and Web3 World! 🫠 #ETFApproval#BitcoinETF#Bitcoin 【Details】https://twitter.com/TokenPocket_TP/status/1744907013849792744 【Powered By】Crypto Box

TokenPocket

@tokenpocket_channel · Post #1099 · 11.01.2024 г., 00:07

🆕#BitcoinETF is approved by the SEC! ​SECGov 💥Big Congrats to all the #Crypto holders! 📈📈📈 Create your #TokenPocket Wallet and get ready to enjoy a booming crypto market! 👉https://www.tokenpocket.pro/ 👉https://extension.tokenpocket.pro/#/ #Bitcoin#BitcoinETF#BitcoinEFTs 【Details】https://twitter.com/TokenPocket_TP/status/1745235299830255668 【Powered By】Crypto Box

SpotOnChain | Announcement

@spotonchain · Post #650 · 14.01.2024 г., 03:30

#FTX and #Alameda used the past #BitcoinETF rally week to deposit $28.2M worth of assets to CEX at good prices, including: • 402.6 $WBTC ($18.7M) • 3,200 $ETH ($8.09M) • 602K $PENDLE ($1.04M) • 9.03M $PEOPLE ($350K) They still have ~$1.2B left in #EVM assets. 👉 For more updates, follow @spotonchain and turn on your 🔔 at: 1. FTX entity: https://platform.spotonchain.ai/en/platform/entity/354 2. Alameda Research entity: https://platform.spotonchain.ai/en/platform/entity/79

Crypto M - Crypto News

@CryptoM · Post #64837 · 10.04.2026 г., 03:17

🚀 Morgan Stanley's Bitcoin ETF Achieves Record First-Day Trading Performance Morgan Stanley's newly launched Bitcoin ETF has achieved the best first-day trading performance among all of the bank's ETF products. According to ChainCatcher, the head of digital assets at Morgan Stanley highlighted this achievement and mentioned that more cryptocurrency products are in development. #MorganStanley#BitcoinETF#cryptocurrency#ETF#digitalassets#ChainCatcher#BTC

Venture Village Wall 🦄

@venturevillagewall · Post #3871 · 14.01.2025 г., 07:00

Crypto Funds Struggle Compared to Bitcoin OKX's founder Star claims no crypto fund has outperformed Bitcoin over the last decade, predicting a 100x growth for the industry. He acknowledged feedback on OKB's lack of use cases and poor listings. A new secret business line for OKX is set to launch in February. In other news, Ethereum spot ETFs saw a net outflow of $39.432 million, while Bitcoin ETFs faced a larger outflow of $284 million. Notably, BlackRock's ETHA and IBIT ETFs saw significant inflows. Read more about OKX's updates here, Ethereum's ETF activity here, and Bitcoin's ETF activity here. #OKX#Bitcoin#Ethereum#Crypto#ETFs#BlackRock#OKB#NFTs#Web3#DeFi#Soneium#S.BLOX #Blockchain#Investing#Finance#BitcoinETF#EthereumETF#VC#AI

Crypto M - Crypto News

@CryptoM · Post #64886 · 10.04.2026 г., 07:04

🚀 BlackRock's Bitcoin Trust Sees Significant Inflows Amid Market Dynamics Investors directed $269.3 million into BlackRock’s iShares Bitcoin Trust on Thursday, marking its most successful day since early March, coinciding with the escalation of the US-Iran conflict. According to Cointelegraph, this influx helped reverse two days of net outflows among the 12 U.S. spot Bitcoin ETFs, culminating in a net inflow of $358.1 million. Bitcoin ETF inflows serve as a measure of both retail and institutional interest in Bitcoin. The Fidelity Wise Origin Bitcoin Fund (FBTC) followed with $53.3 million in inflows, while the newly launched Morgan Stanley Bitcoin Trust (MSBT) contributed $14.9 million on its second trading day, as reported by Farside Investors. Bitwise and ARK 21Shares' Bitcoin ETFs saw inflows of $11.7 million and $4.8 million, respectively, while Franklin Templeton and VanEck’s Bitcoin products recorded around $2 million. Since March 23, BlackRock’s IBIT has accumulated $1.5 billion in net inflows, despite a broader crypto market downturn that saw Bitcoin's price drop from a 2026 high of $97,000 to $72,100. Robert Mitchnick, BlackRock’s digital assets head, remarked in March that IBIT investors tend to be "disproportionately long-term buy and hold" investors, even amid significant selling pressure in the Bitcoin market. Meanwhile, Amy Oldenburg, Morgan Stanley’s digital asset head, highlighted in a Bloomberg interview that MSBT was the bank’s most successful ETF launch to date. She noted, "This is just the first of a long roadmap of new products on the asset management side." Morgan Stanley has also filed to list a staked Ether (ETH) ETF and Solana (SOL) ETF. With the recent inflows, U.S. spot Bitcoin ETFs are nearing a year-to-date net inflow. The Bitcoin ETFs concluded 2025 with $56.59 billion in net inflows and currently stand at $56.51 billion, just $80 million shy of returning to their initial inflow figures for the year. #BlackRock#BitcoinTrust#BitcoinETF#MarketInflows#Fidelity#MorganStanley#Cryptocurrency#Bitcoin#ETFs#Investment#DigitalAssets#USIranConflict#CryptoMarket#BTC#ETH#SOL

Crypto M - Crypto News

@CryptoM · Post #65177 · 11.04.2026 г., 16:40

🚀 Morgan Stanley Explores Tokenized Money-Market Fund After Bitcoin ETF Launch Morgan Stanley, managing $9.3 trillion in client assets, is considering launching a tokenized money-market fund following its recent introduction of a spot Bitcoin ETF. According to NS3.AI, Amy Oldenburg from Morgan Stanley highlighted the bank's interest in tax-loss harvesting for digital assets through its subsidiary, Parametric. Data from Farside Investors indicates that the new Bitcoin ETF has attracted approximately $46 million in net inflows since its launch on Wednesday. Additionally, Morgan Stanley submitted applications in January for ETFs linked to Ethereum and Solana. #MorganStanley#TokenizedMoneyMarketFund#BitcoinETF#DigitalAssets#TaxLossHarvesting#EthereumETF#SolanaETF#Parametric#NS3AI#FarsideInvestors#CryptoInvesting#BTC#ETH#SOL