TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
int OrderType ( )

Returns order operation type of the currently selected order

Returns
Order operation type of the currently selected order.It can be any of the following values:
OP_BUYBuy operation
OP_SELLSell operation
OP_BUYLIMITBuy limit pending order
OP_SELLLIMITSell limit pending order
OP_BUYSTOPBuy stop pending order
OP_SELLSTOPSell stop pending order

The order must be previously selected by the OrderSelect() function