This Enum used to indicate the orderresult.
The following are values and the descriptions for every value:
NewOrderResultEnum
Value | Constant | Description |
1 | Done result | |
2 | Not enough money | |
3 | TradingIsClosed | Trading is closed |
4 | Unable_MarketConditions | Unable to get |
5 | Unable_BadConnection | Unable to get |
6 | PositionIsClosed | Position is closed |
7 | PositionIsPending | |
8 | PositionHasPendingOrders | |
9 | InvalidAmount | 1-Open trade with 2-Open trade with |
10 | NotFound | Can’t found orders or positions |
11 | AllAmountAreManaged | Open managed order with |
12 | UnableToDoOperation | Can’t to do the operation |
13 | HedgingNotAllowed | Not allowed Hedge |
100 | FailedResult | Failed |