Major bug in order type enum: sell limit and buy stop have been switched!

Jan 27, 2014 at 10:06 AM
After spending a long time figuring out why I couldn't place certain orders with TradePlatform.NET I found out that the TradePlatform.MT4.SDK.API.ORDER_TYPE enum is incorrect.

Specifically, the values for OP_BUYSTOP and OP_SELLLIMIT have been switched:
namespace TradePlatform.MT4.SDK.API
{
    public enum ORDER_TYPE : int
    {
...
        OP_BUYSTOP = 3,
        OP_SELLLIMIT = 4,
...
    }
}
versus the MQL4 documentation
OP_SELLLIMIT =3
OP_BUYSTOP = 4
To be honest the fact that such a basic function as sending an order contains such a bug when the status is shown as 'stable' makes me doubt if I want to use this platform to trade for me.