Quantreo / Publications
Forum
How to find the trading session with the MQL5 library on Python?
Hi, I would like to know how to know if the market I trade is closed or no currently using the MetaTrader5 library on Python? Any ideas? (The order_check function doesn't detect that the market is closed so it makes me send the order when market closed) Thanks in advance
Close sell limit on python using mt5 library
Hi, I work on Python using the MT5 library. I have found how to put a buy/sell limit/stop order but I don't find how to close it when it is placed but not already executed? How can I remove the placed order please? # OPEN THE ORDER request = { "action" : mt5. TRADE_ACTION_PENDING , "symbol"