Click or drag to resize

Ret Enumeration

Result codes

Namespace:  mtapi.be.MT4ManagerNet
Assembly:  MT4ManagerNet (in MT4ManagerNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public enum Ret
Members
  Member nameValueDescription
Ok0 All OK
OkNone1 All OK-no operation
Error2 General error
InvalidData3 Invalid data
TechProblem4 Server technical problem
OldVersion5 Old client terminal
NoConnect6 No connection
NotEnoughRights7 No enough rights
TooFrequent8 Too frequently access to server
Malfunction9 Mulfunctional operation
GenerateKey10 Need to send public key
SecuritySession11 Security session start
AccountDisabled64 Account blocked
BadAccountInfo65 Bad account info
PublicKeyMissing66 No key
TradeTimeout128 Trade transatcion timeou expired
TradeBadPrices129 Order has wrong prices
TradeBadStops130 Wrong stops level
TradeBadVolume131 Wrong lot size
TradeMarketClosed132 Market closed
TradeDisable133 Trade disabled
TradeNoMoney134 No enough money for order execution
TradePriceChanged135 Price changed
TradeOffquotes136 No quotes
TradeBrokerBusy137 Broker is busy
TradeRequote138 Requote
TradeOrderLocked139 Order is proceed by dealer and cannot be changed
TradeLongOnly140 Allowed only BUY orders
TradeTooManyReq141 Too many requests from one client
TradeAccepted142 Trade request accepted by server and placed in request queue
TradeProcess143 Trade request accepted by dealerd
TradeUserCancel144 Trade request canceled by client
TradeModifyDenied145 Trade modification denied
TradeContextBusy146 Trade context is busy (used in client terminal)
TradeExpirationDenied147 Using expiration date denied
TradeTooManyOrders148 Too many orders
TradeHedgeProhibited149 Hedge is prohibited
TradeProhibitedByFifo150 Prohibited by fifo rule
See Also