"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд???
Самый быстрый способ это просто "попробовать" 😜
text = "-0.3"
try:
num = float(text)
except ValueError:
print('Dough!')
Всё остальное это уже парсинг и разбор символов для иных целей.
#basic
#FUN/USDT analysis :
#FUN has established a breakout from its trendline after rebounding from the support zone. The price is anticipated to continue rising from its current level and is likely to test the previous swing high.
TF : 4H
Entry : $0.003263
Target : $0.003644
SL : $0.003008
#FUN/USDT analysis :
#FUN is currently consolidating within a resistance zone near the 200 EMA. A price rejection is expected from there, and a continuation of the downtrend is anticipated. Wait for the price to break below the trendline for a short entry.
TF : 2H
Entry : $0.00314
Target : $0.00287
SL : $0.00326