Error
Hi I was making a python algo trader bot, when I send a message from my telegram bot than he does a trade but I still get the same error and I cannot get it fixed and even co pilot cannot fix it. Test_Telegram.zip I get this error: 2025-04-29 15:25:22.910928: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2025-04-29 15:25:28.360240: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. Traceback (most recent call last): File "C:\Users\silfo\Test_Telegram.py", line 206, in main() File "C:\Users\silfo\Test_Telegram.py", line 118, in main telegram_bot_polling() # Start Telegram bot polling in a separate thread ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\silfo\Test_Telegram.py", line 110, in telegram_bot_polling updater = Updater(token=TELEGRAM_API_TOKEN, use_context=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Updater.init() got an unexpected keyword argument 'token' PS C:\Users\silfo>
Hi, have you fix this problem? Or is there any other github repo could be a potential replacement? I'm also trying to develop my own trader bot with python but lack of documents or tutorials of commonest libraries like quickfix or simplefix, so I'm here to ask for help.
Hi, I just saw this issue open. Let me take a look when I have time. It's been a while since I checked the code, and unfortunately, as mentioned, the documentation for QuickFIX is not great. Could you tell me if you are using the exact same library versions as this project?
Hi I was making a python algo trader bot, when I send a message from my telegram bot than he does a trade but I still get the same error and I cannot get it fixed and even co pilot cannot fix it. Test_Telegram.zip I get this error: 2025-04-29 15:25:22.910928: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2025-04-29 15:25:28.360240: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. Traceback (most recent call last): File "C:\Users\silfo\Test_Telegram.py", line 206, in main() File "C:\Users\silfo\Test_Telegram.py", line 118, in main telegram_bot_polling() # Start Telegram bot polling in a separate thread ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\silfo\Test_Telegram.py", line 110, in telegram_bot_polling updater = Updater(token=TELEGRAM_API_TOKEN, use_context=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Updater.init() got an unexpected keyword argument 'token' PS C:\Users\silfo>
From the error message, it seems the problem is with the "Updater" function. I don't know if you wrote it or if it is part of a library, but it is telling you that the function does not have a keyword argument 'token'. Check the documentation for that library and use the correct keyword. It seems that this is not a QuickFIX issue.