namespace MtApi { public enum TradeOperation { OP_BUY = 0, OP_SELL = 1, OP_BUYLIMIT = 2, OP_SELLLIMIT = 3, OP_BUYSTOP = 4, OP_SELLSTOP = 5, OP_BALANCE = 6, OP_CREDIT = 7, OP_REBATE = 8 } }