Если запустить 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
#ALPINE/USDT analysis :
#ALPINE is currently in a downtrend, trading below the 200 Exponential Moving Average (EMA) and making new lows. The price is expected to continue its bearish momentum and test lower levels. For a short entry, wait for the price to test the zone and resume its bearish momentum.
TF : 4H
Entry : $0.923
Target : $0.819
SL : $0.991
#ALPINE/USDT analysis :
#ALPINE is in a downtrend, trading below the 200 EMA. The price is currently facing rejection from the resistance zone and is expected to continue its downward movement. look for retracement to enter short positions.
TF : 4H
Entry : $1.094
Target : $0.917
SL : $1.202
#ALPINE/USDT analysis -
#ALPINE is in a downtrend. It is currently experiencing a pullback while finding support over the trendline. Wait for the price to break the trendline for a short entry as the price is expected to face resistance from the 200 EMA and continue its bearish momentum.
TF : 1H
Entry : $1.055
Target : $0.927
SL : $1.124