Open Qoyyuum opened 2 years ago
Found this: https://pypi.org/project/ejtraderMT/ may probably easier to use than rebuilding from scratch?
To actually have full and better control, best to build my own docker image but combine all 3 services into 1. At least for now, that's the plan for a pilot project.
Found a new issue. When running in docker, for each new docker image build, the mt5 still needs to manually enable algotrading in order for the python script to send orders/manage account. Let's make this simpler:
That should do it.
The docker build should be able to run the trading bot python script in a single container, while running as a celery task and handled by the environment's cron job (or cron tab). Separately, it should be able to communicate with a docker container running the mt5 running on wine (for easier deployment to any linux VPS/cloud/kubernetes cluster/etc)
env
or by cron tab)mt5.initialize
's path to an executable running in a separate container