Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User help #1

Open
spc789 opened this issue Jan 1, 2022 · 6 comments
Open

User help #1

spc789 opened this issue Jan 1, 2022 · 6 comments

Comments

@spc789
Copy link

spc789 commented Jan 1, 2022

  • Any chance on explaining what each var does ?

  • import module error while doing python3.7 main.py (from within the src dir) :

    File "main.py", line 1, in
    from message_operations import message_reader
    File "/home/user/TelegramTrader/src/message_operations/message_reader.py", line 4, in
    from config.config_reader import UserConfig
    ModuleNotFoundError: No module named 'config.config_reader'

@diliproshitha
Copy link
Owner

  • which vars exactly?

@spc789
Copy link
Author

spc789 commented Jan 1, 2022

forgeApiKey
can i set it to "" to disable 1forge or is it mandatory ?
and can ENV_CHAT_SOURCE_CHAT_IDS be a list of different ID's ?

@spc789
Copy link
Author

spc789 commented Jan 2, 2022

fixed, there are a few typo in your code ...
in ./utils en ./message_operations imports should be :
from config_tg.config_reader instead of from config.config_reader
from config_tg import constants instead of from config import constants

else it clashes with the python config module

@diliproshitha
Copy link
Owner

diliproshitha commented Jan 2, 2022

forgeApiKey can i set it to "" to disable 1forge or is it mandatory ? and can ENV_CHAT_SOURCE_CHAT_IDS be a list of different ID's ?

Forege is used to get latest price of the instrument. It is important. You can get a API key for free.
Were you able to configure zmq lib in MT4?

@diliproshitha
Copy link
Owner

fixed, there are a few typo in your code ... in ./utils en ./message_operations imports should be : from config_tg.config_reader instead of from config.config_reader from config_tg import constants instead of from config import constants

else it clashes with the python config module

Change it according to your requirements. I will refactor and organize this code later when I have time :)

@spc789
Copy link
Author

spc789 commented Jan 2, 2022

forgeApiKey can i set it to "" to disable 1forge or is it mandatory ? and can ENV_CHAT_SOURCE_CHAT_IDS be a list of different ID's ?

Forege is used to get latest price of the instrument. It is important. You can get a API key for free. Were you able to configure zmq lib in MT4?

zmq lib is working fine in mt4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants