Manage MT5 orders using Python
Apr 22, 2022
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