Функция dir() - удобна для получения списка атрибутов у любого объекта.
Ранее я писал про функцию __dir__() в модуле (не путайте её с переменной __all__(), которая указывает список объектов для импорта если встречается конструкция from module import *).
Скорее всего вы уже знаете как использовать функцию dir(). Любой объект может реализовать метод __dir__() чтобы указать список имеющийхся и динамических атрибутов. И функция dir() поможет получить список этих атрибутов.
>>> dir(str)
['__add__', '__class__', '__contains__', ...]
У этой функции есть еще один способ применения. Её можно вызвать без аргумента, и в таком случае она вернёт список имён в текущем неймспейсе.
>>> dir()
['__builtins__', '__doc__', '__file__', ...]
>>> def test():
>>> x = 1
>>> print(dir())
>>> test()
['x']
#basic#tricks
#MATIC/USDT analysis -
#Matic is trading above the support zone and forming a rejection candle. It is expected to bounce off from there and test new highs.
TF : 1D
Entry : $0.5148
Target : $0.5740 & $0.6198
SL : $0.4579
#MATIC/USDT ANALYSIS
MATIC has broken out of a falling wedge pattern with strong volume. It is currently undergoing a retest, and a successful retest would confirm a bullish reversal. However, if the retest fails, the pattern's validity will be nullified.
💰#MATIC is losing bottom of the bullish channel on 1H Time frame,in the case of breakdown,it will drop until the Green zone
📉
❄️@signal_bitcoins❄️
❄️@Shadow_support0o❄️
💰#MATIC has a Bullish flag pattern on Weekly time frame,now price is trying to break up the flag pattern👀
We expect another bullish trend will start after breakout and pullback💎
❄️@signal_bitcoins❄️
❄️@Shadow_support0o❄️
💰#MATIC created a symmetrical triangle pattern successfully on Weekly time frame,we expect a huge drop on this chart
📉
Also we will buy it around $0.30 - $0.20✅
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️
💰#MATIC price is near the bottom of bullish channel on 8H Time frame,if saved this area will have good pump again, atleast until ceiling of this pattern 💎
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️
💰#MATIC is trying to break up the Supply zone,we will wait for a pullback to the broken supply then will buy and hold✅
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️