You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-6Lines changed: 32 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,45 @@
1
1
# MetaTrader 5 for linux system
2
2
3
-
A simple package that use [wine](https://www.winehq.org), [rpyc](https://github.com/tomerfiliba-org/rpyc) and a Python Windows version to allow the use of [MetaTrader5](https://pypi.org/project/MetaTrader5) on linux.
3
+
A simple package that use [wine](https://www.winehq.org), [rpyc](https://github.com/tomerfiliba-org/rpyc) and a Python Windows version to allow using [MetaTrader5](https://pypi.org/project/MetaTrader5) on Linux.
2. Install [Python for Windows](https://www.python.org/downloads/windows/) on Linux with the help of Wine.
11
+
12
+
3. Find the path to `python.exe`.
13
+
14
+
- I installed on `/home/user/.wine/drive_c/users/user/Local Settings/Application Data/Programs/Python/Python39`.
15
+
16
+
4. Install [mt5](https://www.mql5.com/en/docs/integration/python_metatrader5) library on your **Windows** Python version.
17
+
18
+
```bash
19
+
pip install MetaTrader5
20
+
pip install --upgrade MetaTrader5
21
+
```
22
+
23
+
5. Install this package on your **Linux** Python version:
8
24
9
25
```
10
26
pip install mt5linux
11
27
```
12
28
13
-
## How to use
29
+
## How To Use
14
30
15
31
Follow the steps:
16
32
17
-
1. open [MetaTrader5](https://www.metatrader5.com)
18
-
2. open the server: `python -m mt5linux <path/to/python.exe>`
0 commit comments