This project is read-only.
1
Vote

Swapped SELLLIMIT and BUYSTOP

description

In ORDER_TYPE.cs at TradePlatform.MT4.SDK.API are swapped SELLLIMIT and BUYSTOP.
    public enum ORDER_TYPE : int
    {
        OP_BUY = 0,
        OP_SELL = 1,
        OP_BUYLIMIT = 2,
        OP_BUYSTOP = 3,
        OP_SELLLIMIT = 4,
        OP_SELLSTOP = 5,
        OP_DEPOSIT = 6,
    }
In mql4 documentation (Trade operations) is as follows:
OP_BUY = 0
OP_SELL = 1
OP_BUYLIMIT = 2
OP_SELLLIMIT = 3
OP_BUYSTOP = 4
OP_SELLSTOP = 5

comments