Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 14 September 2020 11:40 AM

This Enum used to indicate the order result.
The following are values and the descriptions for every value:


Value   Constant  Description
1 DoneResult Done result
2 NotEnoughMoney Not enough money
3 TradingIsClosed Trading is closed
4 Unable_MarketConditions Unable to get qoute on this symbol due to market conditions
5 Unable_BadConnection Unable to get qoute due to a bad connection
6 PositionIsClosed Position is closed
7 PositionIsPending Position is in pending mode
8 PositionHasPendingOrders Close position that had manage order
9 InvalidAmount 1-Open trade with amount less than the MinimumAmount or greater than the MaximumAmount 
2-Open trade with amount not multiples of MinimumAmount
10 NotFound Can't found orders or positions
11 AllAmountAreManaged Open managed order with position previously had managed at overall amount
12 UnableToDoOperation Can't to do the operation 
13 HedgingNotAllowed  Not allowed Hedge 
100 FailedResult Failed result

See Also

Back to VTL Server Script Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions