francesco.re1107 / Publications
Forum
Closing position with Metatrader5 for Python library
Hi, I'm trying to use this library for python. I've successfully connected to my account and placed an order with this code: request = { "action" : mt5. TRADE_ACTION_DEAL , "symbol" : pair, "volume" : 0.02 , "type" : mt5. ORDER_TYPE_SELL , "price" : tick.bid