Manage MT5 orders using Python

--

Post id: 36, 22/04/2022

1. Connect Python to MT5

2. Open Position

Please note:

Order type: BUYLIMIT, BUYSTOP, SELLLIMIT, SELLSTOP ==> Call “Order”

Order type: BUY, SELL ==> Call “Position”

3. Modify position

4. Read data from position

5. Delete pending order

6. Close position

Note: How to get “deal_id” (order_ticket) please see in topic 7

7. Close position by symbol

8. Count position and order on symbol

9. Get time

10. Get symbol info

--

--

Responses (1)