Если запустить 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
#MBL/USDT analysis :
#MBL is currently consolidating above the support zone. The price is expected to test this zone again before moving towards the swing high. It is recommended to wait for a pullback to enter a long position.
TF : 1D
Entry : $0.002672
Target : $0.003095
SL : $0.002527
#MBL/USDT analysis :
#MBL is in an uptrend, forming higher highs (HHs) and higher lows (HLs) above the 200 EMA. The price has recently bounced back from a support zone after retracement to it. It is expected that the price will sustain its bullish momentum and test the previous swing high.
TF : 1H
Entry : $0.00256
Target : $0.00265
SL : $0.00251
#MBL/USDT analysis :
#MBL is in a downtrend, trading below the 200 EMA. The price is expected to experience a pullback and will continue its downward momentum. Wait for the price to reject from the resistance zone for short entry.
TF : 15min
Entry : $0.00211
Target : $0.00190
SL : $0.00220
Falling wedges detected on #KMD & #MBL by CoinLegs algorithm 📉
Bullish reversal ahead? Now imagine never missing this unique combo setup or dozens of other patterns again 💫
Our platform tracks every asset, all timeframes so you get alerts first 🛎️
www.coinlegs.com