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

Резултати

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

Пребарај: #trader

当前筛选 #trader清除筛选
TONlines – News

@tonlines · Post #7456 · 30.05.2025 г., 12:58

Tonnel Network: Trading Lol Pop Options #Tonnel#trader A humorous exchange highlights options trading on Tonnel Pre-Market. The recent update allows users to resell purchased gifts at higher prices, receiving partial payment upfront and full payment upon successful deal completion. Source: link @tonlines

PRICE ACTION EXPERT

@priceactionexpert · Post #8896 · 30.04.2026 г., 09:02

https://x.com/priceactiongann/status/2049776164886258167?s=20 Prop Firms in 2026 – The Ugly Truth 1/ Many traders pass challenges after many attempts and after long path of learning and then practicing and winning it after multiple failures… then get payout denied or rules suddenly changed once funded. This is the worst pattern right now. 2/ Hidden Rules That Appear ONLY at Payout - Consistency rule (15-35%) kicks in funded only - News trading ban (5-10 min window) - Leverage drop & daily profit caps - Risk-per-trade limits (2-3%) All invisible during the challenge. 3/ Classic Bait-and-Switch Challenge = full news + weekend holds + no consistency Funded = new restrictions + extra monitoring + profit deductions 4/ Payout Denials Are Rising Small payouts = fast Big payouts ($3K+) = sudden “review”, IP flags, copy-trading accusations, or vague “abusive pattern” excuses. Same strategy that got approved 5 times suddenly gets denied on the 6th. 5/ Hidden Swaps + Slippage Traps Real swaps eat your equity on weekend holds. Bad fills push you into drawdown. Many firms still not truly swap-free. 6/ Bottom Line Read every rule before paying. Demand firms with zero consistency, identical rules challenge-to-funded, and real swap-free. Test small. Trust verified payouts only. Which firm screwed you lately? Drop it below 👇 #PropFirms#Trader#trading https://x.com/priceactiongann/status/2049776164886258167?s=20

Shadow Traders Fx

@shadowtraderfx · Post #4139 · 18.08.2025 г., 15:48

📉GBP/USD – Bearish Pressure Building! The pair has finally broken below its rising channel on the H2 timeframe, confirming exhaustion near the 1.2700–1.2720 supply zone. Price action is now showing signs of momentum shift, with lower highs forming and downside liquidity becoming the primary target. 🔎Technical Outlook: • Rising channel breakdown ✅ • Rejection from higher timeframe resistance ✅ • Clean liquidity pool resting near 1.2480 support ✅ 📰Fundamental Outlook: The U.S. Dollar is gaining strength as markets price in the Fed’s hawkish stance and resilient U.S. data, while the British Pound remains pressured by weaker U.K. growth prospects and persistent inflationary concerns. The divergence in monetary policy continues to favor USD strength. ⚠️Bias: Bearish – Short-term downside remains likely unless buyers reclaim 1.2700 with strong volume. ⸻ 🔔 Subscribe for high-probability setups & real-time insights. 📲 Join our free Telegram for exclusive trade alerts & strategies! #gbpusd#forex#tradingsignals#trading#trade#trader

Venture Village Wall 🦄

@venturevillagewall · Post #3842 · 10.01.2025 г., 22:00

Bitcoin Mining Ban and Market Resilience In 2021, China's ban on Bitcoin mining caused market panic, leading to a significant dip. However, this event has less relevance now. Bitcoin continues to show resilience despite fluctuations. Data from PumpFun reveals that only 0.4% of meme coin traders made over $10,000, while 60% ended with losses. Most users either broke even or earned little. For insights on meme coin trading, check this post. #Bitcoin#Crypto#Trading#MemeCoins#MarketTrends#Mining#Investing#Blockchain#Finance#PumpFun#Statistics#MarketDip#Profit#Losses#Trader#Wealth#InvestmentStrategy#CryptoTwitter

GitHub Trends

@githubtrending · Post #14739 · 23.05.2025 г., 12:00

#c_lang#ctp#ctpapi#futures#options#quant#simnow#stock#tora#trader#tts#xtp openctp is a powerful open-source trading platform compatible with many Chinese securities and futures trading systems, offering both real and simulated trading environments for futures, options, stocks, funds, and bonds across domestic and global markets like A-shares, Hong Kong, and US stocks. It provides easy access to CTPAPI through Python and other programming languages, plus user-friendly trading clients with graphical and command-line interfaces. You can register free simulation accounts instantly via WeChat, enabling you to practice and test trading strategies in real-time or 24/7 environments. It also offers training, development support, and a monitoring platform for multiple trading systems, helping you learn, develop, and trade efficiently with low costs and broad market access. This benefits you by giving a flexible, comprehensive, and cost-effective way to develop, test, and execute trading strategies across many markets with strong community and technical support. https://github.com/openctp/openctp

Venture Village Wall 🦄

@venturevillagewall · Post #3910 · 18.01.2025 г., 07:00

Trump Launches Memecoin TRUMP on Solana Donald Trump has launched his memecoin, $TRUMP, on the Solana blockchain, coinciding with his upcoming inauguration. The token saw a rapid price surge, with one trader earning $29.8 million from an initial investment of $1.09 million. The memecoin achieved a market cap of $11 billion shortly after its release, outperforming several notable cryptocurrencies. Amidst this, WazirX froze $3 million of stolen funds, and the U.S. Supreme Court upheld potential TikTok bans. #Trump#Memecoin#Blockchain#Solana#Crypto#Bitcoin#CyberSecurity#WazirX#TikTok#MarketCap#Investment#Trader#Cryptocurrency#Trading#EconomicNews#SolanaBlockchain#DigitalAssets#MarketSurge#Inauguration#Finance#NFT