Result codes
Namespace:
mtapi.be.MT4ManagerNet
Assembly:
MT4ManagerNet (in MT4ManagerNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax Members
| Member name | Value | Description |
---|
| Ok | 0 |
All OK
|
| OkNone | 1 |
All OK-no operation
|
| Error | 2 |
General error
|
| InvalidData | 3 |
Invalid data
|
| TechProblem | 4 |
Server technical problem
|
| OldVersion | 5 |
Old client terminal
|
| NoConnect | 6 |
No connection
|
| NotEnoughRights | 7 |
No enough rights
|
| TooFrequent | 8 |
Too frequently access to server
|
| Malfunction | 9 |
Mulfunctional operation
|
| GenerateKey | 10 |
Need to send public key
|
| SecuritySession | 11 |
Security session start
|
| AccountDisabled | 64 |
Account blocked
|
| BadAccountInfo | 65 |
Bad account info
|
| PublicKeyMissing | 66 |
No key
|
| TradeTimeout | 128 |
Trade transatcion timeou expired
|
| TradeBadPrices | 129 |
Order has wrong prices
|
| TradeBadStops | 130 |
Wrong stops level
|
| TradeBadVolume | 131 |
Wrong lot size
|
| TradeMarketClosed | 132 |
Market closed
|
| TradeDisable | 133 |
Trade disabled
|
| TradeNoMoney | 134 |
No enough money for order execution
|
| TradePriceChanged | 135 |
Price changed
|
| TradeOffquotes | 136 |
No quotes
|
| TradeBrokerBusy | 137 |
Broker is busy
|
| TradeRequote | 138 |
Requote
|
| TradeOrderLocked | 139 |
Order is proceed by dealer and cannot be changed
|
| TradeLongOnly | 140 |
Allowed only BUY orders
|
| TradeTooManyReq | 141 |
Too many requests from one client
|
| TradeAccepted | 142 |
Trade request accepted by server and placed in request queue
|
| TradeProcess | 143 |
Trade request accepted by dealerd
|
| TradeUserCancel | 144 |
Trade request canceled by client
|
| TradeModifyDenied | 145 |
Trade modification denied
|
| TradeContextBusy | 146 |
Trade context is busy (used in client terminal)
|
| TradeExpirationDenied | 147 |
Using expiration date denied
|
| TradeTooManyOrders | 148 |
Too many orders
|
| TradeHedgeProhibited | 149 |
Hedge is prohibited
|
| TradeProhibitedByFifo | 150 |
Prohibited by fifo rule
|
See Also