User Guide
Constants for Deals and Orders
NetTradeX PC
NetTradeX Android
NetTradeX iOS
NetTradeX Mobile
NetTradeX Advisors
Constants for Deals and Orders
Direction
- OpSell - sell
- OpBuy - buy
Selection mode
- smID - selecting a deal/order by a unique identifier
- smPosition - selecting a deal/order by ordinal number of its position
Order duration
- odDaily - order is automatically deleted by the trading server at the end of the trading day
- odGTC - duration of the order is unlimited
Order types
- otMarket - market order
- otPending - pending order
- otOCO - one cancels other (ОСО)
- otActivation - activation order
- otPosition - linked limit and stop orders
Subtypes of orders
- ostFirst - 1st level order
- ostSecond - 2nd level order