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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #175 · 30 окт.

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks

Hashtags

Резултати

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

Пребарај: #longpositions

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

@CryptoM · Post #65037 · 10.04.2026 г., 15:24

🚀 Huang Licheng Adjusts Bitcoin Holdings Amid Market Changes Huang Licheng has begun to take profits from some of his Bitcoin long positions. According to ChainCatcher, he currently retains 98 Bitcoin long positions. In addition, Huang holds 11,950 Ethereum long positions. His account shows a total unrealized profit of $1,020,000. #HuangLicheng#Bitcoin#Ethereum#ChainCatcher#longpositions#profit#cryptocurrency#BTC#ETH

Crypto M - Crypto News

@CryptoM · Post #65182 · 11.04.2026 г., 16:55

🚀 Ethereum Price Movements Could Trigger Significant Liquidations Ethereum's price fluctuations could lead to substantial liquidations on major centralized exchanges. According to ChainCatcher, data from Coinglass indicates that if Ethereum surpasses $2,346, the cumulative liquidation of short positions could reach $893 million. Conversely, if Ethereum falls below $2,135, the liquidation of long positions could total $877 million. #Ethereum#Crypto#PriceMovements#Liquidations#CryptoTrading#Coinglass#ChainCatcher#ShortPositions#LongPositions#Cryptocurrency#ETH

Crypto M - Crypto News

@CryptoM · Post #64985 · 10.04.2026 г., 12:56

🚀 Ethereum Price Movements Could Trigger Significant Liquidations Ethereum's price fluctuations could lead to substantial liquidations on major centralized exchanges. According to ChainCatcher, Coinglass data indicates that if Ethereum falls below $2,082, the liquidation intensity for long positions could reach $974 million. Conversely, if Ethereum surpasses $2,299, the liquidation intensity for short positions could amount to $855 million. #Ethereum#PriceMovements#Liquidations#CentralizedExchanges#Coinglass#ChainCatcher#LongPositions#ShortPositions#ETH

Crypto M - Crypto News

@CryptoM · Post #64480 · 09.04.2026 г., 02:14

🚀 Hyperliquid Platform Whale Positions Reach $3.58 Billion Hyperliquid platform whales currently hold positions valued at $3.58 billion, according to ChainCatcher. Data from Coinglass reveals that long positions account for $1.84 billion, representing 51.4% of the total, while short positions amount to $1.74 billion, making up 48.6%. The long positions have incurred a loss of $39.92 million, whereas the short positions have gained $49.03 million. Notably, a whale address identified as 0xa5b0..41 has taken a 15x leveraged long position on ETH at a price of $2,148.7, resulting in an unrealized profit of $2.0716 million. #Hyperliquid#CryptoWhales#ETH#LeverageTrading#LongPositions#ShortPositions#CryptoMarket#DeFi#CryptoNews#BlockchainData

Crypto M - Crypto News

@CryptoM · Post #64988 · 10.04.2026 г., 12:58

🚀 Hyperliquid Platform Whale Holdings Reach $3.721 Billion, Data Shows Hyperliquid platform whales currently hold positions valued at $3.721 billion, according to ChainCatcher. Data from Coinglass reveals that long positions account for $1.902 billion, representing 51.13% of the total holdings, while short positions amount to $1.818 billion, making up 48.87%. The long positions have incurred a loss of $6.8165 million, whereas the short positions have gained $17.7438 million. Notably, a whale address identified as 0xa5b0..41 has engaged in a 15x leveraged long position on ETH at a price of $2,148.7, currently showing an unrealized profit of $2.6246 million. #Hyperliquid#WhaleHoldings#ChainCatcher#Coinglass#LongPositions#ShortPositions#ETH#LeveragedPosition#Crypto#UnrealizedProfit

Crypto M - Crypto News

@CryptoM · Post #65366 · 13.04.2026 г., 02:44

🚀 Hyperliquid Whale Positions Reach $3.745 Billion, Data Shows Hyperliquid platform's whale positions currently total $3.745 billion, according to ChainCatcher. Coinglass data reveals that long positions account for $1.91 billion, representing 50.98% of the total, while short positions amount to $1.836 billion, making up 49.02%. The long positions have incurred a loss of $12.4197 million, whereas the short positions have gained $19.721 million. Notably, a whale address 0xa5b0..41 has taken a 15x leveraged long position on ETH at a price of $2,148.7, with an unrealized profit of $3.7797 million. #Hyperliquid#WhalePositions#ChainCatcher#Coinglass#LongPositions#ShortPositions#ETH#LeveragedPositions#UnrealizedProfit#Crypto

Crypto M - Crypto News

@CryptoM · Post #65338 · 13.04.2026 г., 00:45

🚀 Ethereum Price Movements Could Trigger Significant Liquidations Ethereum's price fluctuations could lead to substantial liquidations on major centralized exchanges. According to ChainCatcher, Coinglass data indicates that if Ethereum surpasses $2,309, the cumulative liquidation intensity of short positions on mainstream centralized exchanges will reach $798 million. Conversely, if Ethereum falls below $2,093, the cumulative liquidation intensity of long positions will amount to $581 million. #Ethereum#PriceMovements#Liquidations#CentralizedExchanges#CryptoTrading#Coinglass#ChainCatcher#ShortPositions#LongPositions#CryptoMarket#ETH

Crypto M - Crypto News

@CryptoM · Post #65132 · 11.04.2026 г., 09:34

🚀 Crypto Trader 'Maji' Increases Long Positions Amid Market Fluctuations On April 11, 'Maji' continued to strategically increase long positions, according to BlockBeats. The total value of these positions has risen to $42.17 million, up from approximately $34 million the previous evening. These positions are reported to have a high safety margin, with liquidation prices significantly lower than current market values. As of the latest update, 'Maji' holds detailed positions including a 25x leverage on Ethereum with 12,131.7179 ETH at a liquidation price of $2,090.95, a 40x leverage on Bitcoin with 180 BTC at a liquidation price of $62,529.3, and a 10x leverage on HYPE with 43,750 units. Additionally, 'Maji' has achieved a total contract profit of $1.85 million over the past week, and has turned a monthly loss into a profit of $190,000. #CryptoTrading#Maji#LongPositions#MarketFluctuations#Ethereum#Bitcoin#LeverageTrading#CryptoProfit#HYPE#ContractProfit#BTC#ETH

Crypto M - Crypto News

@CryptoM · Post #65184 · 11.04.2026 г., 16:56

🚀 Hyperliquid Whale Positions Reach $3.905 Billion Hyperliquid platform's whale positions have reached a total of $3.905 billion, according to ChainCatcher. Data from Coinglass reveals that long positions account for $1.992 billion, representing 51.01% of the total, while short positions amount to $1.913 billion, making up 48.99%. The profit and loss for long positions stands at $29.0862 million, whereas short positions show a loss of $13.7305 million. Notably, a whale address, 0xa5b0..41, has engaged in a 15x leveraged long position on ETH at a price of $2,148.7, currently showing an unrealized profit of $6.6987 million. #Hyperliquid#WhalePositions#Billion#ChainCatcher#Coinglass#LongPositions#ShortPositions#ETH#LeveragedPosition#ProfitLoss