Если запустить 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
#FET/USDT Analysis-
The price has formed a symmetrical triangle pattern. Given the current bullish market scenario, there is a high probability of an upward breakout.
If the breakout occurs, the price is likely to rally toward the target zone from the breakout point.
T.F.- 1-D
ENTRY- as soon as it gives breakout
SL- 1.2
TARGET- 2.04
Note: If the stop-loss is triggered before entry, disregard the trade as the price action may develop differently.
#FET/USDT analysis :
#FET has broken down the 200 EMA and previous support levels. It is now undergoing a pullback and retesting the resistance zone. The price is expected to reject from there and bounce back to continue its bearish momentum.
TF : 1H
Entry : $1.170
Target : $1.057
SL : $1.252