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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #60 · 31 мар.

Вторая по частоте future-функция, которую я использовал, это абсолютный импорт from __future__ import absolute_import Что она делает? Изменения, которые вносит эта инъекция описаны в PEP328 Покажу простой пример. Допустим, есть такой пакет: /my_package /__init__.py /main.py /string.py Смотрим код в my_package/main.py # main.py import string Простой пример готов) Вопрос в том, какой модуль импортируется в данном случае? Есть два варианта: 1. модуль в моём пакете my_package.string 2. стандартный модуль string И вот тут вступает в дело приоритет импортов. В Python2 порядок следующий: помимо иных источников, раньше ищется модуль внутри текущего пакета, а потом в стандартных библиотеках. Таким образом мы импортнём my_package.string. Но в Python3 это поведение изменилось. Если мы указываем просто имя пакета, то ищется именно такой модуль, игнорируя имена в текущем пакете. Если мы хотим импортнуть именно подмодуль из нашего пакета то, мы должны теперь явно это указывать. from my_package import string или относительный импорт, но с указанием пути относительно текущего модуля main from . import string Еще одной неоднозначностью меньше 😎 Подробней про импорты здесь: https://docs.python.org/3/tutorial/modules.html #2to3#pep#basic

Резултати

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

Пребарај: #tradingstrategy

当前筛选 #tradingstrategy清除筛选
Crypto M - Crypto News

@CryptoM · Post #65210 · 12.04.2026 г., 02:09

🚀 Analyst Discusses Stop-Loss Adjustment Strategy An analyst, @ai_9684xtpa, posted on X about the rationale behind adjusting a stop-loss point to $73,500. The adjustment was made to prevent precise liquidation, and the analyst noted that the price nearly reached this adjusted level. #StopLoss#TradingStrategy#MarketAnalysis#RiskManagement#PriceAdjustment#Investing

Crypto M - Crypto News

@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

Venture Village Wall 🦄

@venturevillagewall · Post #3926 · 20.01.2025 г., 04:00

Melania Meme Token Debuts on Major Exchanges Centralized exchanges like MEXC, BingX, Gate, and Bitget list Melania Meme (MELANIA) token. The token's economic model: 35% team share (30-day lock), 20% treasury, 20% community, 15% public offering, 10% liquidity. Major transaction: an address bought 3.8M MELANIA for 800k USDC, now with a profit of $38.6M. Read more: Wu Blockchain News #Crypto#MemeToken#MELANIA#TrumpProject#Dogecoin#Bitcoin#Profit#Exchanges#Trading#Finance#USDC#MarketAnalysis#Tokenomics#Investment#TradingStrategy#Speculation#ProfitableAddresses#MarketTrends#Blockchain#Web3#VC

SS7 TRADER

@ss7trader · Post #29955 · 26.02.2026 г., 22:28

Binary trading isn't gambling if you have the right tools. 📈 Watch how Pro Thunder V12 identifies the signal on MT5 before I even open the broker. No repainting, no delay, just pure accuracy. #binaryoptions#pocketoption#quotex#tradingstrategy#mt5#forexsignals#otctrading#daytrading#prothunderv12#fintok#wealthbuilding#tradingtips#makemoneyonline#investing2026

Venture Village Wall 🦄

@venturevillagewall · Post #4198 · 20.02.2025 г., 10:00

Traders Face Major Losses with LIBRA Coin Nansen research reveals that 86% of LIBRA coin traders lost money, totaling $251 million in investor losses. Meanwhile, insiders profited over $100 million from the token issuance. For more details, visit CoinDesk. #LIBRA#Argentina#Crypto#Investors#Losses#Trading#Nansen#Market#Finance#Tokens#Wealth#Volatility#DeFi#Research#Blockchain#Memecoin#VC#Funds#Loss#Insiders#TradingStrategy

Venture Village Wall 🦄

@venturevillagewall · Post #3760 · 31.12.2024 г., 13:00

XRP Market Insights and Predictions 📉 Current XRP Price: $2.16 with a $123B market cap. Trading volume: $2.21B. 📊Consolidation Phase: Support at $2.1, resistance at $2.5. RSI: 49.81 | Stochastic: 26.35 | CCI: -95.21. Mixed signals overall, MACD suggests bearish sentiment. 🔄Short-term Downtrend: Testing support at $2.115; resistance at $2.22 - $2.25. EMAs indicate sell signals for 10- and 20-periods. 📈Bullish/ Bearish Scenarios: Break above $2.25 targets $2.5; break below $2.1 targets $1.9. Traders should implement tight stop-losses. Full analysis details can be read here. #XRP#Crypto#MarketAnalysis#TradingStrategy#Investing#TechnicalAnalysis#PricePrediction#Bullish#Bearish#Support#Resistance#EMAs#MACD#RSI#Stochastic#CCI#Volume#Traders#Bulls#Bears#Consolidation