ENUM

OrderRejectionReason

Reason for the order being rejected by the core node

link GraphQL Schema definition

1 enum OrderRejectionReason {
2
3 # Market id is invalid
4 InvalidMarketId
5
6 # Order id is invalid
7 InvalidOrderId
8
9 # Order is out of sequence
10 OrderOutOfSequence
11
12 # Remaining size in the order is invalid
13 InvalidRemainingSize
14
15 # Time has failed us
16 TimeFailure
17
18 # Unable to remove the order
19 OrderRemovalFailure
20
21 # Expiration time is invalid
22 InvalidExpirationTime
23
24 # Order reference is invalid
25 InvalidOrderReference
26
27 # Edit is not allowed
28 EditNotAllowed
29
30 # Order amend fail
31 OrderAmendFailure
32
33 # Order does not exist
34 OrderNotFound
35
36 # Party id is invalid
37 InvalidPartyId
38
39 # Market is closed
40 MarketClosed
41
42 # Margin check failed
43 MarginCheckFailed
44
45 # Order missing general account
46 MissingGeneralAccount
47
48 # An internal error happened
49 InternalError
50
51 # Invalid size
52 InvalidSize
53
54 # Invalid persistence
55 InvalidPersistence
56
57 # Invalid type
58 InvalidType
59
60 # Self trading
61 SelfTrading
62
63 # Insufficient funds to pay fees
64 InsufficientFundsToPayFees
65
66 # Invalid Time In Force
67 InvalidTimeInForce
68
69 # Attempt to amend order to GTT without ExpiryAt
70 AmendToGTTWithoutExpiryAt
71
72 # Attempt to amend ExpiryAt to a value before CreatedAt
73 ExpiryAtBeforeCreatedAt
74
75 # Attempt to amend to GTC without an ExpiryAt value
76 GTCWithExpiryAtNotValid
77
78 # Amending to FOK or IOC is invalid
79 CannotAmendToFOKOrIOC
80
81 # Amending to GFA or GFN is invalid
82 CannotAmendToGFAOrGFN
83
84 # Amending from GFA or GFN is invalid
85 CannotAmendFromGFAOrGFN
86
87 # Invalid Market Type
88 InvalidMarketType
89
90 # Good for normal order received during an auction
91 GFNOrderDuringAuction
92
93 # Good for auction order received during continuous trading
94 GFAOrderDuringContinuousTrading
95
96 # IOC orders are not allowed during auction
97 IOCOrderDuringAuction
98
99 # FOK orders are not allowed during auction
100 FOKOrderDuringAuction
101
102 # Pegged orders must be LIMIT orders
103 PeggedOrderMustBeLimitOrder
104
105 # Pegged orders can only have TIF GTC or GTT
106 PeggedOrderMustBeGTTOrGTC
107
108 # Pegged order must have a reference price
109 PeggedOrderWithoutReferencePrice
110
111 # Buy pegged order cannot reference best ask price
112 PeggedOrderBuyCannotReferenceBestAskPrice
113
114 # Pegged order offset must be <= 0
115 PeggedOrderOffsetMustBeLessOrEqualToZero
116
117 # Pegged order offset must be < 0
118 PeggedOrderOffsetMustBeLessThanZero
119
120 # Pegged order offset must be >= 0
121 PeggedOrderOffsetMustBeGreaterOrEqualToZero
122
123 # Sell pegged order cannot reference best bid price
124 PeggedOrderSellCannotReferenceBestBidPrice
125
126 # Pegged order offset must be > zero
127 PeggedOrderOffsetMustBeGreaterThanZero
128
129 # Insufficient balance to submit the order (no deposit made)
130 InsufficientAssetBalance
131
132 # Cannot change pegged order fields on a non pegged order
133 CannotAmendPeggedOrderDetailsOnNonPeggedOrder
134
135 # Unable to reprice a pegged order
136 UnableToRepricePeggedOrder
137
138 # Unable to amend pegged order price
139 UnableToAmendPeggedOrderPrice
140
141 # Non-persistent order exceeds price bounds
142 NonPersistentOrderExceedsPriceBounds
143 }