Enum OrderType
- Namespace
- ViiSync.AccountApi
- Assembly
- ViiSync.AccountApi.dll
MT5 order / position type. Market positions are Buy/Sell; pending orders the Limit/Stop/StopLimit kinds.
public enum OrderType
Fields
Buy = 0MT5 OrderType.Buy.
MT5 equivalent
OrderType.Buy— full
Sell = 1MT5 OrderType.Sell.
MT5 equivalent
OrderType.Sell— full
BuyLimit = 2MT5 OrderType.BuyLimit.
MT5 equivalent
OrderType.BuyLimit— full
SellLimit = 3MT5 OrderType.SellLimit.
MT5 equivalent
OrderType.SellLimit— full
BuyStop = 4MT5 OrderType.BuyStop.
MT5 equivalent
OrderType.BuyStop— full
SellStop = 5MT5 OrderType.SellStop.
MT5 equivalent
OrderType.SellStop— full
BuyStopLimit = 6MT5 OrderType.BuyStopLimit.
MT5 equivalent
OrderType.BuyStopLimit— full
SellStopLimit = 7MT5 OrderType.SellStopLimit.
MT5 equivalent
OrderType.SellStopLimit— full
CloseBy = 8MT5 OrderType.CloseBy.
MT5 equivalent
OrderType.CloseBy— full
Balance = 100MT5 OrderType.Balance.
MT5 equivalent
OrderType.Balance— full
Credit = 101MT5 OrderType.Credit.
MT5 equivalent
OrderType.Credit— full