vdemydiuk / mtapi

MetaTrader API (terminal bridge)
http://mtapi4.net/
MIT License
522 stars 281 forks source link

Function GetOrders returns orders only by #3

Closed vdemydiuk closed 8 years ago

vdemydiuk commented 8 years ago

Version 1.0.25 has bug in function GetOrders. It returns orders only from trading pool. Expected behavior: GetOrders returns orders from trading pool and history pool by input parameter. (Thanks John Fitton to find this issue).

vdemydiuk commented 8 years ago

I have fixed bug in MtApi.mq4 in function ExecuteRequestGetOrders to select pool of orders according to parameter of function GetOrder in MtApi.