Description
This Enum used to indicate the order type if sell, buy, sellStop, buyStop, buy limit, sell limit, buy stop limit or sell stop limit.
The following are values and the descriptions for every value:
ENUM_ORDER_TYPE
Constant | Description |
ORDER_TYPE_BUY | Buy order |
ORDER_TYPE_SELL | Sell order |
ORDER_TYPE_BUY_LIMIT | Buy Limit pending order |
ORDER_TYPE_SELL_LIMIT | Sell limit pending order |
ORDER_TYPE_BUY_STOP | Buy stop pending order |
ORDER_TYPE_SELL_STOP | Sell stop pending order |
ORDER_TYPE_BUY_STOP_LIMIT | Buy stop limit order |
ORDER_TYPE_SELL_STOP_LIMIT | Sell stop limit order |
See Also