Если запустить 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
#AMP/USDT analysis :
#AMP is currently exhibiting an uptrend, consistently reaching new highs while trading above the 200 EMA. The price is now retracing toward the 200 EMA and a significant support level.
It is expected that the price will test this zone and subsequently rebound, which will allow the bullish momentum to persist and potentially lead to a retest of previous highs.
TF : 1D
Entry : $0.006750
Target : $0.011915
SL : $0.004950
#AMP/USDT analysis :
#AMP has broken above a previously tested resistance level and has bounced back after a retest. This suggests a continuation of its bullish momentum, with the price likely to test previous highs from the current level.
TF : 1D
Entry : $0.005420
Target : $0.013400
SL : $0.004180
#AMP has a trading range on 12H Time frame, we expect a good pump from bottom of this range,also after breakup will have another bullish movement again
📈
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️