Вы заметили что с интерактивной консолью из прошлого поста что-то не так? Что происходит если нажать стрелки вверх/вниз? Полный бардак!
Давайте поправим это дело!
Для сохранения и загрузки истории будем использовать специальный модуль readline.
Что добавлено?
🔸 Сохранение истории команд с возможностью выбора предыдущих (клавиши ⬆️⬇️ )
🔸 Сохранение истории в файл перед выходом из интерактива для будущих сессий
🔸 Автокомплит по нажатию клавиши TAB
🔸 Cписок вариантов автокомплита по двойному нажатию TAB
Код забираем здесь ↗️
#tricks#source
#FIO/USDT analysis :
#FIO is in an uptrend, forming higher highs (HHs) and higher lows (HLs) while trading above the 200 EMA. The price has broken out and retested the previous swing high resistance levels. It is expected to bounce back from this point and continue its bullish momentum to test the recent swing high.
TF : 1D
Entry : $0.0305
Target : $0.0417
SL : $0.0270
#FIO/USDT analysis :
#FIO is currently in an uptrend, forming higher highs (HHs) and higher lows (HLs), while finding support above the trendline. The price is anticipated to rebound from the current level to sustain its bullish momentum and test new highs.
TF : 4h
Entry : $0.0259
Target : $0.0300
SL : $0.0238
#FIO/USDT analysis :
#FIO is currently experiencing a decline from the resistance zone following rejections in that region. It is anticipated to maintain its downward momentum and possibly test previous lows.
TF : 4H
Entry : $0.0198
Target : $0.0162
SL : $0.0210