"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд???
Самый быстрый способ это просто "попробовать" 😜
text = "-0.3"
try:
num = float(text)
except ValueError:
print('Dough!')
Всё остальное это уже парсинг и разбор символов для иных целей.
#basic
#POLYX/USDT analysis :
#POLYX has rebounded from the previously respected support zone and is currently trading above a minor support level. The price is expected to move upward from this level and test the swing high resistance.
TF : 2h
Entry : $0.1790
Target : $0.2036
SL : $0.1688
#POLYX/USDT analysis :
#POLYX has broken out and retested the support zone above the 200 EMA. The price is expected to continue its bullish momentum and test previous highs.
TF : 15min
Entry : $0.2353
Target : $0.2593
SL : $0.2232
#POLYX/USDT analysis :
#POLYX is presently establishing a bullish channel. The price has recently rebounded from the support zone and is now progressing to test the previous swing high.
TF : 4H
Entry : $0.2231
Target : $0.2538
SL : $0.2029