MQL5-JSON-API icon indicating copy to clipboard operation
MQL5-JSON-API copied to clipboard

broker.mqh.Getpositions make a mistake

Open maoyongsheng opened this issue 4 years ago • 4 comments

Like the title, when i use this methord the result is a list with the same position -info if i opened more than one position on mt5.

maoyongsheng avatar Sep 14 '21 09:09 maoyongsheng

same issue

t3ch9 avatar Oct 25 '21 00:10 t3ch9

Please explain this more - it doesn't make sense. Of course it provides details of all open positions..

device-host avatar Jan 04 '22 14:01 device-host

Please explain this more - it doesn't make sense. Of course it provides details of all open positions..

for ex, the opened orderlist on mt5 terminal have 3 orders with different orderIds, but i got 3 save orderId and other same order info by the method.

maoyongsheng avatar Jan 17 '22 04:01 maoyongsheng

So you are saying that the terminal has 3 orders and obviously with 3 different IDs however the method returns the same IDs for the orders?

Meaning the methods isn't updating IDs properly...

Let me check this, if that's what you are meaning to convey here.

oswaldmotape avatar May 27 '22 08:05 oswaldmotape