Если запустить REPL с модулем asyncio, то вы входите в особый асинхронный REPL.
user@host:~$ python -m asyncio
asyncio REPL 3.12.7 ...
Use "await" directly instead of "asyncio.run()".
>>> import asyncio
>>>
В этом режиме
- создаётся и настраивается event loop
- уже импортирован asyncio
- работает await на верхнем уровне
То есть такая команда сработает без ошибок!
await asyncio.sleep(3)
Удобно для тестирования асинхронных функций без создания ивентлупов и остальной обвязки.
Работает в: 3.8+
#tricks#async
#LPT is consolidating within a falling wedge pattern and is currently trading above the support trendline.
A bounce from this level is possible, while a breakout of the pattern would confirm bullish momentum.
Conversely, a breakdown below the wedge could lead to further correction.
#LPT/USDT analysis :
#LPT is currently experiencing a bearish trend, trading below the 200 Exponential Moving Average (EMA). The price has encountered resistance at the 200 EMA and has broken below the established trendline, suggesting further downward momentum. A decline to test the swing low level is anticipated.
TF : 2h
Entry : $5.423
Target : $4.883
SL : $5.740
#LPT/USDT analysis :
#LPT has broken down and retested the previous support zone, which is now acting as resistance for the price. It is anticipated that the price will resume its bearish momentum from the current level and test lower levels. For a short entry, it is advisable to wait for a price retracement.
TF : 1H
Entry : $13.76
Target : $12.78
SL : $14.36
#LPT/USDT analysis :
#LPT is currently consolidating sideways in a correction phase above the 200 EMA. The price is likely to test the support zone and then bounce back from there to test the resistance zone.
TF : 1H
Entry : $14.60
Target : $15.30
SL : $14.25