When I'm using the command /trades it shows "Retrieving executed trades..." but no output will apear after that.
The log shows following exception:
2021-05-13 21:07:23,482 - ERROR - telegram.ext.dispatcher - An uncaught error was raised while processing the update
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/dispatcher.py", line 279, in process_update
handler.handle_update(update, self)
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/conversationhandler.py", line 295, in handle_update
new_state = self.current_handler.handle_update(update, dispatcher)
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/commandhandler.py", line 171, in handle_update
return self.callback(dispatcher.bot, update, **optional_args)
File "telegram_kraken_bot.py", line 252, in _restrict_access
return func(bot, update)
File "telegram_kraken_bot.py", line 1163, in trades_cmd
if two.startswith("Z"):
AttributeError: 'NoneType' object has no attribute 'startswith'
It would be awesome if someone would get it to work. Basically I'll just need the notification feature when orders are filled. Couldn't find anything else and this seems very promising!
When I'm using the command /trades it shows "Retrieving executed trades..." but no output will apear after that.
The log shows following exception:
2021-05-13 21:07:23,482 - ERROR - telegram.ext.dispatcher - An uncaught error was raised while processing the update
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/dispatcher.py", line 279, in process_update
handler.handle_update(update, self)
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/conversationhandler.py", line 295, in handle_update
new_state = self.current_handler.handle_update(update, dispatcher)
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/commandhandler.py", line 171, in handle_update
return self.callback(dispatcher.bot, update, **optional_args)
File "telegram_kraken_bot.py", line 252, in _restrict_access
return func(bot, update)
File "telegram_kraken_bot.py", line 1163, in trades_cmd
if two.startswith("Z"):
AttributeError: 'NoneType' object has no attribute 'startswith'
It would be awesome if someone would get it to work. Basically I'll just need the notification feature when orders are filled. Couldn't find anything else and this seems very promising!