Triendster / MT5TradeSignal

Get MT5 positions and send them as signals to Telegram.
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

invalid literal for int() with base 10 #1

Open jirapatr opened 2 years ago

jirapatr commented 2 years ago

when run loop.py got this error "invalid literal for int() with base 10"

config.ini [Telegram] api_id = 123456789 api_hash = 'xxxxxxxxxxxx' bot_token = channel_id = -xxxxxxxxx discuss_id = phone = username =

Triendster commented 2 years ago

Hey jirapatr

when run loop.py got this error "invalid literal for int() with base 10"

config.ini [Telegram] api_id = 123456789 api_hash = 'xxxxxxxxxxxx' bot_token = channel_id = -xxxxxxxxx discuss_id = phone = username =

Do not put any of the values of the config file in quotation marks. That should fix the error. Your file should look something like this:

api_id = 1234567 api_hash = 690b64df030d35db6cc75145c2d21714 channel_id = -123456789 phone = +1-234-567-8910 username = Your_username