@husnullinartur · Post #519 · 10.10.2024 г., 09:06
📚 В период рыночной неопределенности самое время вспомнить о стратегии усреднения долларовой стоимости (DCA). #DCA
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #22 · 19 јан.
Заметка начинающим, которые часто сталкиваются с подобной непоняткой. Ситуация следующая, есть список файлов: names = [ 'image.bmp', 'second.txt.bkp', 'data.db', '.config.cfg', 'file.ext.bkp' ] И мы хотим убрать у них окончание ".bkp". Не знаю зачем, пример довольно надуманный) Но суть он показывает, а это главное. Те, кто еще не очень знаком с библиотекой os.path или pathlib, вероятно решат обработать имена как строки. И тут вполне подойдет метод строки strip(). Что делает этот метод? Он отрезает указанные символы по обеим сторонам строки. Если ничего не указать, то убирает невидимые символы (пробелы, табуляции и переносы строк). В нашем случае будет выглядеть вот так: >>> name.strip('.bkp') То есть просим удалить строку '.bkp' по краям имени файла, если таковая есть. Можно применить аналогичный метод rstrip(), чтобы отрезать только справа, но для этого примера используем обычный. >>> for name in names: >>> print(name.strip('.bkp')) image.bm second.txt data.d config.cfg file.ext Хм, что-то не то с нашими именами! Что случилось??? Видим нежелательное переименование в именах, где и близко не было указанной строки '.bkp' А дело всё в том, что данный метод ищет не указанную строку, а указанные символы, и не важно в каком порядке. Для метода strip() строка '.bkp' это не паттерн для поискаа список символов. Потому он отрезал симовол 'p' от '.bmp' и удалил точку из файла '.config.cfg'. Как тогда правильно заменить именно паттерн? Для начинающего можно посоветовать метод строки replace(), который как раз использует для замены указанную строку целиком. В нашем примере заменим её на пустую строку. >>> for name in names: >>> print(name.replace('.bkp', '')) image.bmp second.txt data.db .config.cfg file.ext Уже лучше, но помните, это лишь пример про strip(). Для работы с именами файлов есть способы и более "правильные", дающие однозначно верный результат. Я взял файлы только в качестве примера. Даже replase() тут может сделать не то что ожидаем. Просто впредь будьте внимательны с этим strip(). #basic
Hashtags
Пребарај: #dca
@husnullinartur · Post #519 · 10.10.2024 г., 09:06
📚 В период рыночной неопределенности самое время вспомнить о стратегии усреднения долларовой стоимости (DCA). #DCA
Hashtags
@HostEvaluate · Post #871 · 13.08.2023 г., 12:21
#crunchbits#DCA Host Provider: crunchbits Location: Liberty Lake, Washington, USA Specification: 2vCore (E5-2696 v4) | 3GB RAM | 25GB SSD | 4TB @ 250Mbps | $11.69 / Yearly (Promo code: PATIENCE) 性能上来讲,能用。IP 已不能解锁 Netflix 但仍然算比较干净。现在以 he 为主不像以前基本走 WSI. https://pastebin.com/L2Ja8XjS 流媒体报告 https://pastebin.com/dmMVgQ8r
Hashtags
@slex_io · Post #87 · 08.09.2023 г., 13:34
🎉Check out DCA Strategy page on SLEX🎉 🌈Hey, SLEXians, do you know something about one of the most influential and profitable investment and trading strategies — Dollar-Cost Averaging (DCA)? 📊 DCA investment strategy is: ✅Minimum Risk; ✅ Maximum Returns; ✅ Simplifying Decision-Making. 📚We've prepared the whole page on the SLEX platform to ensure you have comprehensive guides, real-life examples, and pro tips for trading successfully!🎯 📈 Explore DCA — this is Your Path to Profitable Trading on SLEX👉slex.io/dca #SLEX#DCA#CryptoTrading#ProfitableInvesting Email | Telegram | Reddit | Facebook | Instagram | Medium | Linkedin | Twitter
@husnullinartur · Post #643 · 04.03.2025 г., 09:38
🔥 Батя в крипте – доллар косит 🔥 Сидим мы тут, братцы, в баньке, парок гоняем, пивком запиваем… И вот зашел разговор: а что, если бы ты, как умный, пять лет назад по соточке баксов в Биток закидывал каждый месяц? 🤔 Ну, считай сам: всего-то вложил 6 000 баксов. Мелочь, а приятно. А сейчас бы на балансе уже 16 657 баксов красовалось! Х2.7 на ровном месте! 🔥 Вот это я понимаю – тема! 🔥 Пацаны, пока кто-то ноет, что рынок скачет, другие просто стабильно кидают бабки и не парятся. DCA – это как отложенный жирок перед зимой, только в битке. 📊 График есть – всё по красоте! 💡 Вывод: Хочешь, чтобы через 5 лет в бане ты уже не просто пивко пил, а вискарь наливал? Просто инвестируй регулярно! 🚀 #Крипта#ПацанскийИнвест#ДелаемБабки#DCA#Bitcoin
@CryptoM · Post #64661 · 09.04.2026 г., 13:04
🚀 Bitcoin's Current Volatility May Present a Generational Buying Opportunity Cryptocurrency analyst Ali Martinez recently shared an analysis on the X platform, suggesting that instead of debating whether Bitcoin has hit its bottom, attention should be focused on whether the current volatility presents a 'generational buying opportunity.' According to Odaily, Martinez identifies key 'value zones' for the current cycle based on long-term trend lines, on-chain liquidity, and cost distribution indicators. The UTXO Realized Price Distribution (URPD) indicates a significant concentration of holdings between $63,111 and $70,685, forming the primary support band. If Bitcoin falls below $63,111, the market may enter a liquidity vacuum. From a long-term perspective, Bitcoin is nearing a critical ascending trend line from the past decade, approximately between $56,000 and $60,000. Historically, this position has often marked the accumulation phase before significant price increases. In more extreme scenarios, the CVDD indicator suggests a structural bottom around $47,960, while the MVRV 0.8 range at approximately $43,647 indicates a market in an 'extreme pain' phase, typically associated with exhaustion of selling pressure. In the event of a black swan event, prices could briefly dip to an extreme range of around $36,657. Based on these zones, Martinez employs a dollar-cost averaging (DCA) strategy, gradually increasing positions across different support bands to reduce overall holding costs. He believes the market is currently in a phase of low sentiment, but potential opportunities are gradually emerging. #Bitcoin#Cryptocurrency#CryptoTrading#MarketAnalysis#Volatility#InvestmentOpportunity#DCA#OnChainAnalysis#CryptoMarket#TradingStrategy#BTC
@addisstandardeng · Post #21605 · 04.03.2026 г., 08:32
News: #Ethiopia, #Kenya agree to launch joint military operations to secure border corridor, #LAPSSET Ethiopia and Kenya have agreed to strengthen security coordination along the #Moyale–#Marsabit–#Turkana corridor, endorsing structured joint military operations aimed at addressing cross-border threats and safeguarding key infrastructure linking the two countries. The agreement is part of renewed efforts to operationalise the existing Defence Cooperation Agreement (#DCA) between the two neighbours. Under the arrangement, the Ethiopian National Defence Force (#ENDF) and the Kenya Defence Forces (#KDF) are expected to undertake phased and coordinated operations targeting vulnerable border areas and strategic assets. In a related development, Ethiopia’s defence ministry also held bilateral talks with a delegation from the #Rwanda Defence Force (#RDF) on the margins of the Adwa anniversary celebrations. According to RDF, discussions focused on deepening.... Read more: https://addisstandard.com/?p=55528