#[non_exhaustive]pub enum TransactionRejectReason {
Show 199 variants
InternalServerError,
InstrumentPriceUnknown,
AccountNotActive,
AccountLocked,
AccountOrderCreationLocked,
AccountConfigurationLocked,
AccountDepositLocked,
AccountWithdrawalLocked,
AccountOrderCancelLocked,
InstrumentNotTradeable,
PendingOrdersAllowedExceeded,
OrderIdUnspecified,
OrderDoesntExist,
OrderIdentifierInconsistency,
TradeIdUnspecified,
TradeDoesntExist,
TradeIdentifierInconsistency,
InsufficientMargin,
InstrumentMissing,
InstrumentUnknown,
UnitsMissing,
UnitsInvalid,
UnitsPrecisionExceeded,
UnitsLimitExceeded,
UnitsMinimumNotMet,
PriceMissing,
PriceInvalid,
PricePrecisionExceeded,
PriceDistanceMissing,
PriceDistanceInvalid,
PriceDistancePrecisionExceeded,
PriceDistanceMaximumExceeded,
PriceDistanceMinimumNotMet,
TimeInForceMissing,
TimeInForceInvalid,
TimeInForceGtdTimestampMissing,
TimeInForceGtdTimestampInPast,
PriceBoundInvalid,
PriceBoundPrecisionExceeded,
OrdersOnFillDuplicateClientOrderIds,
TradeOnFillClientExtensionsNotSupported,
ClientOrderIdInvalid,
ClientOrderIdAlreadyExists,
ClientOrderTagInvalid,
ClientOrderCommentInvalid,
ClientTradeIdInvalid,
ClientTradeIdAlreadyExists,
ClientTradeTagInvalid,
ClientTradeCommentInvalid,
OrderFillPositionActionMissing,
OrderFillPositionActionInvalid,
TriggerConditionMissing,
TriggerConditionInvalid,
OrderPartialFillOptionMissing,
OrderPartialFillOptionInvalid,
InvalidReissueImmediatePartialFill,
OrdersOnFillRmoMutualExclusivityMutuallyExclusiveViolation,
OrdersOnFillRmoMutualExclusivityGsloExcludesOthersViolation,
TakeProfitOrderAlreadyExists,
TakeProfitOrderWouldViolateFifoViolationSafeguard,
TakeProfitOnFillPriceMissing,
TakeProfitOnFillPriceInvalid,
TakeProfitOnFillPricePrecisionExceeded,
TakeProfitOnFillTimeInForceMissing,
TakeProfitOnFillTimeInForceInvalid,
TakeProfitOnFillGtdTimestampMissing,
TakeProfitOnFillGtdTimestampInPast,
TakeProfitOnFillClientOrderIdInvalid,
TakeProfitOnFillClientOrderTagInvalid,
TakeProfitOnFillClientOrderCommentInvalid,
TakeProfitOnFillTriggerConditionMissing,
TakeProfitOnFillTriggerConditionInvalid,
StopLossOrderAlreadyExists,
StopLossOrderGuaranteedRequired,
StopLossOrderGuaranteedPriceWithinSpread,
StopLossOrderGuaranteedNotAllowed,
StopLossOrderGuaranteedHaltedCreateViolation,
StopLossOrderGuaranteedHaltedTightenViolation,
StopLossOrderGuaranteedHedgingNotAllowed,
StopLossOrderGuaranteedMinimumDistanceNotMet,
StopLossOrderNotCancelable,
StopLossOrderNotReplaceable,
StopLossOrderGuaranteedLevelRestrictionExceeded,
StopLossOrderPriceAndDistanceBothSpecified,
StopLossOrderPriceAndDistanceBothMissing,
StopLossOrderWouldViolateFifoViolationSafeguard,
StopLossOrderRmoMutualExclusivityMutuallyExclusiveViolation,
StopLossOrderRmoMutualExclusivityGsloExcludesOthersViolation,
StopLossOnFillRequiredForPendingOrder,
StopLossOnFillGuaranteedNotAllowed,
StopLossOnFillGuaranteedRequired,
StopLossOnFillPriceMissing,
StopLossOnFillPriceInvalid,
StopLossOnFillPricePrecisionExceeded,
StopLossOnFillGuaranteedMinimumDistanceNotMet,
StopLossOnFillGuaranteedLevelRestrictionExceeded,
StopLossOnFillDistanceInvalid,
StopLossOnFillPriceDistanceMaximumExceeded,
StopLossOnFillDistancePrecisionExceeded,
StopLossOnFillPriceAndDistanceBothSpecified,
StopLossOnFillPriceAndDistanceBothMissing,
StopLossOnFillTimeInForceMissing,
StopLossOnFillTimeInForceInvalid,
StopLossOnFillGtdTimestampMissing,
StopLossOnFillGtdTimestampInPast,
StopLossOnFillClientOrderIdInvalid,
StopLossOnFillClientOrderTagInvalid,
StopLossOnFillClientOrderCommentInvalid,
StopLossOnFillTriggerConditionMissing,
StopLossOnFillTriggerConditionInvalid,
GuaranteedStopLossOrderAlreadyExists,
GuaranteedStopLossOrderRequired,
GuaranteedStopLossOrderPriceWithinSpread,
GuaranteedStopLossOrderNotAllowed,
GuaranteedStopLossOrderHaltedCreateViolation,
GuaranteedStopLossOrderCreateViolation,
GuaranteedStopLossOrderHaltedTightenViolation,
GuaranteedStopLossOrderTightenViolation,
GuaranteedStopLossOrderHedgingNotAllowed,
GuaranteedStopLossOrderMinimumDistanceNotMet,
GuaranteedStopLossOrderNotCancelable,
GuaranteedStopLossOrderHaltedNotCancelable,
GuaranteedStopLossOrderNotReplaceable,
GuaranteedStopLossOrderHaltedNotReplaceable,
GuaranteedStopLossOrderLevelRestrictionVolumeExceeded,
GuaranteedStopLossOrderLevelRestrictionPriceRangeExceeded,
GuaranteedStopLossOrderPriceAndDistanceBothSpecified,
GuaranteedStopLossOrderPriceAndDistanceBothMissing,
GuaranteedStopLossOrderWouldViolateFifoViolationSafeguard,
GuaranteedStopLossOrderRmoMutualExclusivityMutuallyExclusiveViolation,
GuaranteedStopLossOrderRmoMutualExclusivityGsloExcludesOthersViolation,
GuaranteedStopLossOnFillRequiredForPendingOrder,
GuaranteedStopLossOnFillNotAllowed,
GuaranteedStopLossOnFillRequired,
GuaranteedStopLossOnFillPriceMissing,
GuaranteedStopLossOnFillPriceInvalid,
GuaranteedStopLossOnFillPricePrecisionExceeded,
GuaranteedStopLossOnFillMinimumDistanceNotMet,
GuaranteedStopLossOnFillLevelRestrictionVolumeExceeded,
GuaranteedStopLossOnFillLevelRestrictionPriceRangeExceeded,
GuaranteedStopLossOnFillDistanceInvalid,
GuaranteedStopLossOnFillPriceDistanceMaximumExceeded,
GuaranteedStopLossOnFillDistancePrecisionExceeded,
GuaranteedStopLossOnFillPriceAndDistanceBothSpecified,
GuaranteedStopLossOnFillPriceAndDistanceBothMissing,
GuaranteedStopLossOnFillTimeInForceMissing,
GuaranteedStopLossOnFillTimeInForceInvalid,
GuaranteedStopLossOnFillGtdTimestampMissing,
GuaranteedStopLossOnFillGtdTimestampInPast,
GuaranteedStopLossOnFillClientOrderIdInvalid,
GuaranteedStopLossOnFillClientOrderTagInvalid,
GuaranteedStopLossOnFillClientOrderCommentInvalid,
GuaranteedStopLossOnFillTriggerConditionMissing,
GuaranteedStopLossOnFillTriggerConditionInvalid,
TrailingStopLossOrderAlreadyExists,
TrailingStopLossOrderWouldViolateFifoViolationSafeguard,
TrailingStopLossOrderRmoMutualExclusivityMutuallyExclusiveViolation,
TrailingStopLossOrderRmoMutualExclusivityGsloExcludesOthersViolation,
TrailingStopLossOnFillPriceDistanceMissing,
TrailingStopLossOnFillPriceDistanceInvalid,
TrailingStopLossOnFillPriceDistancePrecisionExceeded,
TrailingStopLossOnFillPriceDistanceMaximumExceeded,
TrailingStopLossOnFillPriceDistanceMinimumNotMet,
TrailingStopLossOnFillTimeInForceMissing,
TrailingStopLossOnFillTimeInForceInvalid,
TrailingStopLossOnFillGtdTimestampMissing,
TrailingStopLossOnFillGtdTimestampInPast,
TrailingStopLossOnFillClientOrderIdInvalid,
TrailingStopLossOnFillClientOrderTagInvalid,
TrailingStopLossOnFillClientOrderCommentInvalid,
TrailingStopLossOrdersNotSupported,
TrailingStopLossOnFillTriggerConditionMissing,
TrailingStopLossOnFillTriggerConditionInvalid,
CloseTradeTypeMissing,
CloseTradePartialUnitsMissing,
CloseTradeUnitsExceedTradeSize,
CloseoutPositionDoesntExist,
CloseoutPositionIncompleteSpecification,
CloseoutPositionUnitsExceedPositionSize,
CloseoutPositionReject,
CloseoutPositionPartialUnitsMissing,
MarkupGroupIdInvalid,
PositionAggregationModeInvalid,
AdminConfigureDataMissing,
MarginRateInvalid,
MarginRateWouldTriggerCloseout,
AliasInvalid,
ClientConfigureDataMissing,
MarginRateWouldTriggerMarginCall,
AmountInvalid,
InsufficientFunds,
AmountMissing,
FundingReasonMissing,
OcaOrderIdsStopLossNotAllowed,
ClientExtensionsDataMissing,
ReplacingOrderInvalid,
ReplacingTradeIdInvalid,
OrderCancelWouldTriggerCloseout,
Unknown(String),
}Expand description
The reason that a Transaction was rejected.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InternalServerError
An unexpected internal server error has occurred
InstrumentPriceUnknown
The system was unable to determine the current price for the Order’s instrument
AccountNotActive
The Account is not active
AccountLocked
The Account is locked
AccountOrderCreationLocked
The Account is locked for Order creation
AccountConfigurationLocked
The Account is locked for configuration
AccountDepositLocked
The Account is locked for deposits
AccountWithdrawalLocked
The Account is locked for withdrawals
AccountOrderCancelLocked
The Account is locked for Order cancellation
InstrumentNotTradeable
The instrument specified is not tradeable by the Account
PendingOrdersAllowedExceeded
Creating the Order would result in the maximum number of allowed pending Orders being exceeded
OrderIdUnspecified
Neither the Order ID nor client Order ID are specified
OrderDoesntExist
The Order specified does not exist
OrderIdentifierInconsistency
The Order ID and client Order ID specified do not identify the same Order
TradeIdUnspecified
Neither the Trade ID nor client Trade ID are specified
TradeDoesntExist
The Trade specified does not exist
TradeIdentifierInconsistency
The Trade ID and client Trade ID specified do not identify the same Trade
InsufficientMargin
The Account had insufficient margin to perform the action specified. One possible reason for this is due to the creation or modification of a guaranteed StopLoss Order.
InstrumentMissing
Order instrument has not been specified
InstrumentUnknown
The instrument specified is unknown
UnitsMissing
Order units have not been not specified
UnitsInvalid
Order units specified are invalid
UnitsPrecisionExceeded
The units specified contain more precision than is allowed for the Order’s instrument
UnitsLimitExceeded
The units specified exceeds the maximum number of units allowed
UnitsMinimumNotMet
The units specified is less than the minimum number of units required
PriceMissing
The price has not been specified
PriceInvalid
The price specified is invalid
PricePrecisionExceeded
The price specified contains more precision than is allowed for the instrument
PriceDistanceMissing
The price distance has not been specified
PriceDistanceInvalid
The price distance specified is invalid
PriceDistancePrecisionExceeded
The price distance specified contains more precision than is allowed for the instrument
PriceDistanceMaximumExceeded
The price distance exceeds that maximum allowed amount
PriceDistanceMinimumNotMet
The price distance does not meet the minimum allowed amount
TimeInForceMissing
The TimeInForce field has not been specified
TimeInForceInvalid
The TimeInForce specified is invalid
TimeInForceGtdTimestampMissing
The TimeInForce is GTD but no GTD timestamp is provided
TimeInForceGtdTimestampInPast
The TimeInForce is GTD but the GTD timestamp is in the past
PriceBoundInvalid
The price bound specified is invalid
PriceBoundPrecisionExceeded
The price bound specified contains more precision than is allowed for the Order’s instrument
OrdersOnFillDuplicateClientOrderIds
Multiple Orders on fill share the same client Order ID
TradeOnFillClientExtensionsNotSupported
The Order does not support Trade on fill client extensions because it cannot create a new Trade
ClientOrderIdInvalid
The client Order ID specified is invalid
ClientOrderIdAlreadyExists
The client Order ID specified is already assigned to another pending Order
ClientOrderTagInvalid
The client Order tag specified is invalid
ClientOrderCommentInvalid
The client Order comment specified is invalid
ClientTradeIdInvalid
The client Trade ID specified is invalid
ClientTradeIdAlreadyExists
The client Trade ID specified is already assigned to another open Trade
ClientTradeTagInvalid
The client Trade tag specified is invalid
ClientTradeCommentInvalid
The client Trade comment is invalid
OrderFillPositionActionMissing
The OrderFillPositionAction field has not been specified
OrderFillPositionActionInvalid
The OrderFillPositionAction specified is invalid
TriggerConditionMissing
The TriggerCondition field has not been specified
TriggerConditionInvalid
The TriggerCondition specified is invalid
OrderPartialFillOptionMissing
The OrderFillPositionAction field has not been specified
OrderPartialFillOptionInvalid
The OrderFillPositionAction specified is invalid.
InvalidReissueImmediatePartialFill
When attempting to reissue an order (currently only a MarketIfTouched) that was immediately partially filled, it is not possible to create a correct pending Order.
OrdersOnFillRmoMutualExclusivityMutuallyExclusiveViolation
The Orders on fill would be in violation of the risk management Order mutual exclusivity configuration specifying that only one risk management Order can be attached to a Trade.
OrdersOnFillRmoMutualExclusivityGsloExcludesOthersViolation
The Orders on fill would be in violation of the risk management Order mutual exclusivity configuration specifying that if a GSLO is already attached to a Trade, no other risk management Order can be attached to a Trade.
TakeProfitOrderAlreadyExists
A Take Profit Order for the specified Trade already exists
TakeProfitOrderWouldViolateFifoViolationSafeguard
The Take Profit Order would cause the associated Trade to be in violation of the FIFO violation safeguard constraints.
TakeProfitOnFillPriceMissing
The Take Profit on fill specified does not provide a price
TakeProfitOnFillPriceInvalid
The Take Profit on fill specified contains an invalid price
TakeProfitOnFillPricePrecisionExceeded
The Take Profit on fill specified contains a price with more precision than is allowed by the Order’s instrument
TakeProfitOnFillTimeInForceMissing
The Take Profit on fill specified does not provide a TimeInForce
TakeProfitOnFillTimeInForceInvalid
The Take Profit on fill specifies an invalid TimeInForce
TakeProfitOnFillGtdTimestampMissing
The Take Profit on fill specifies a GTD TimeInForce but does not provide a GTD timestamp
TakeProfitOnFillGtdTimestampInPast
The Take Profit on fill specifies a GTD timestamp that is in the past
TakeProfitOnFillClientOrderIdInvalid
The Take Profit on fill client Order ID specified is invalid
TakeProfitOnFillClientOrderTagInvalid
The Take Profit on fill client Order tag specified is invalid
TakeProfitOnFillClientOrderCommentInvalid
The Take Profit on fill client Order comment specified is invalid
TakeProfitOnFillTriggerConditionMissing
The Take Profit on fill specified does not provide a TriggerCondition
TakeProfitOnFillTriggerConditionInvalid
The Take Profit on fill specifies an invalid TriggerCondition
StopLossOrderAlreadyExists
A Stop Loss Order for the specified Trade already exists
StopLossOrderGuaranteedRequired
An attempt was made to to create a non-guaranteed stop loss order in an account that requires all stop loss orders to be guaranteed.
StopLossOrderGuaranteedPriceWithinSpread
An attempt to create a guaranteed stop loss order with a price that is within the current tradeable spread.
StopLossOrderGuaranteedNotAllowed
An attempt was made to create a guaranteed Stop Loss Order, however the Account’s configuration does not allow guaranteed Stop Loss Orders.
StopLossOrderGuaranteedHaltedCreateViolation
An attempt was made to create a guaranteed Stop Loss Order when the market was halted.
StopLossOrderGuaranteedHaltedTightenViolation
An attempt was made to re-create a guaranteed Stop Loss Order with a tighter fill price when the market was halted.
StopLossOrderGuaranteedHedgingNotAllowed
An attempt was made to create a guaranteed Stop Loss Order on a hedged Trade (ie there is an existing open Trade in the opposing direction), however the Account’s configuration does not allow guaranteed Stop Loss Orders for hedged Trades/Positions.
StopLossOrderGuaranteedMinimumDistanceNotMet
An attempt was made to create a guaranteed Stop Loss Order, however the distance between the current price and the trigger price does not meet the Account’s configured minimum Guaranteed Stop Loss distance.
StopLossOrderNotCancelable
An attempt was made to cancel a Stop Loss Order, however the Account’s configuration requires every Trade have an associated Stop Loss Order.
StopLossOrderNotReplaceable
An attempt was made to cancel and replace a Stop Loss Order, however the Account’s configuration prevents the modification of Stop Loss Orders.
StopLossOrderGuaranteedLevelRestrictionExceeded
An attempt was made to create a guaranteed Stop Loss Order, however doing so would exceed the Account’s configured guaranteed StopLoss Order level restriction volume.
StopLossOrderPriceAndDistanceBothSpecified
The Stop Loss Order request contains both the price and distance fields.
StopLossOrderPriceAndDistanceBothMissing
The Stop Loss Order request contains neither the price nor distance fields.
StopLossOrderWouldViolateFifoViolationSafeguard
The Stop Loss Order would cause the associated Trade to be in violation of the FIFO violation safeguard constraints
StopLossOrderRmoMutualExclusivityMutuallyExclusiveViolation
The Stop Loss Order would be in violation of the risk management Order mutual exclusivity configuration specifying that only one risk management order can be attached to a Trade.
StopLossOrderRmoMutualExclusivityGsloExcludesOthersViolation
The Stop Loss Order would be in violation of the risk management Order mutual exclusivity configuration specifying that if a GSLO is already attached to a Trade, no other risk management Order can be attached to the same Trade.
StopLossOnFillRequiredForPendingOrder
An attempt to create a pending Order was made with no Stop Loss Order on fill specified and the Account’s configuration requires that every Trade have an associated Stop Loss Order.
StopLossOnFillGuaranteedNotAllowed
An attempt to create a pending Order was made with a Stop Loss Order on fill that was explicitly configured to be guaranteed, however the Account’s configuration does not allow guaranteed Stop Loss Orders.
StopLossOnFillGuaranteedRequired
An attempt to create a pending Order was made with a Stop Loss Order on fill that was explicitly configured to be not guaranteed, however the Account’s configuration requires guaranteed Stop Loss Orders.
StopLossOnFillPriceMissing
The Stop Loss on fill specified does not provide a price
StopLossOnFillPriceInvalid
The Stop Loss on fill specifies an invalid price
StopLossOnFillPricePrecisionExceeded
The Stop Loss on fill specifies a price with more precision than is allowed by the Order’s instrument
StopLossOnFillGuaranteedMinimumDistanceNotMet
An attempt to create a pending Order was made with the distance between the guaranteed Stop Loss Order on fill’s price and the pending Order’s price is less than the Account’s configured minimum guaranteed stop loss distance.
StopLossOnFillGuaranteedLevelRestrictionExceeded
An attempt to create a pending Order was made with a guaranteed Stop Loss Order on fill configured, and the Order’s units exceed the Account’s configured guaranteed StopLoss Order level restriction volume.
StopLossOnFillDistanceInvalid
The Stop Loss on fill distance is invalid
StopLossOnFillPriceDistanceMaximumExceeded
The Stop Loss on fill price distance exceeds the maximum allowed amount
StopLossOnFillDistancePrecisionExceeded
The Stop Loss on fill distance contains more precision than is allowed by the instrument
StopLossOnFillPriceAndDistanceBothSpecified
The Stop Loss on fill contains both the price and distance fields.
StopLossOnFillPriceAndDistanceBothMissing
The Stop Loss on fill contains neither the price nor distance fields.
StopLossOnFillTimeInForceMissing
The Stop Loss on fill specified does not provide a TimeInForce
StopLossOnFillTimeInForceInvalid
The Stop Loss on fill specifies an invalid TimeInForce
StopLossOnFillGtdTimestampMissing
The Stop Loss on fill specifies a GTD TimeInForce but does not provide a GTD timestamp
StopLossOnFillGtdTimestampInPast
The Stop Loss on fill specifies a GTD timestamp that is in the past
StopLossOnFillClientOrderIdInvalid
The Stop Loss on fill client Order ID specified is invalid
StopLossOnFillClientOrderTagInvalid
The Stop Loss on fill client Order tag specified is invalid
StopLossOnFillClientOrderCommentInvalid
The Stop Loss on fill client Order comment specified is invalid
StopLossOnFillTriggerConditionMissing
The Stop Loss on fill specified does not provide a TriggerCondition
StopLossOnFillTriggerConditionInvalid
The Stop Loss on fill specifies an invalid TriggerCondition
GuaranteedStopLossOrderAlreadyExists
A Guaranteed Stop Loss Order for the specified Trade already exists
GuaranteedStopLossOrderRequired
An attempt was made to to create a non-guaranteed stop loss order in an account that requires all stop loss orders to be guaranteed.
GuaranteedStopLossOrderPriceWithinSpread
An attempt to create a guaranteed stop loss order with a price that is within the current tradeable spread.
GuaranteedStopLossOrderNotAllowed
An attempt was made to create a Guaranteed Stop Loss Order, however the Account’s configuration does not allow Guaranteed Stop Loss Orders.
GuaranteedStopLossOrderHaltedCreateViolation
An attempt was made to create a Guaranteed Stop Loss Order when the market was halted.
GuaranteedStopLossOrderCreateViolation
An attempt was made to create a Guaranteed Stop Loss Order when the market was open.
GuaranteedStopLossOrderHaltedTightenViolation
An attempt was made to re-create a Guaranteed Stop Loss Order with a tighter fill price when the market was halted.
GuaranteedStopLossOrderTightenViolation
An attempt was made to re-create a Guaranteed Stop Loss Order with a tighter fill price when the market was open.
GuaranteedStopLossOrderHedgingNotAllowed
An attempt was made to create a Guaranteed Stop Loss Order on a hedged Trade (ie there is an existing open Trade in the opposing direction), however the Account’s configuration does not allow Guaranteed Stop Loss Orders for hedged Trades/Positions.
GuaranteedStopLossOrderMinimumDistanceNotMet
An attempt was made to create a Guaranteed Stop Loss Order, however the distance between the current price and the trigger price does not meet the Account’s configured minimum Guaranteed Stop Loss distance.
GuaranteedStopLossOrderNotCancelable
An attempt was made to cancel a Guaranteed Stop Loss Order when the market is open, however the Account’s configuration requires every Trade have an associated Guaranteed Stop Loss Order.
GuaranteedStopLossOrderHaltedNotCancelable
An attempt was made to cancel a Guaranteed Stop Loss Order when the market is halted, however the Account’s configuration requires every Trade have an associated Guaranteed Stop Loss Order.
GuaranteedStopLossOrderNotReplaceable
An attempt was made to cancel and replace a Guaranteed Stop Loss Order when the market is open, however the Account’s configuration prevents the modification of Guaranteed Stop Loss Orders.
GuaranteedStopLossOrderHaltedNotReplaceable
An attempt was made to cancel and replace a Guaranteed Stop Loss Order when the market is halted, however the Account’s configuration prevents the modification of Guaranteed Stop Loss Orders.
GuaranteedStopLossOrderLevelRestrictionVolumeExceeded
An attempt was made to create a Guaranteed Stop Loss Order, however doing so would exceed the Account’s configured guaranteed StopLoss Order level restriction volume.
GuaranteedStopLossOrderLevelRestrictionPriceRangeExceeded
An attempt was made to create a Guaranteed Stop Loss Order, however doing so would exceed the Account’s configured guaranteed StopLoss Order level restriction price range.
GuaranteedStopLossOrderPriceAndDistanceBothSpecified
The Guaranteed Stop Loss Order request contains both the price and distance fields.
GuaranteedStopLossOrderPriceAndDistanceBothMissing
The Guaranteed Stop Loss Order request contains neither the price nor distance fields.
GuaranteedStopLossOrderWouldViolateFifoViolationSafeguard
The Guaranteed Stop Loss Order would cause the associated Trade to be in violation of the FIFO violation safeguard constraints
GuaranteedStopLossOrderRmoMutualExclusivityMutuallyExclusiveViolation
The Guaranteed Stop Loss Order would be in violation of the risk management Order mutual exclusivity configuration specifying that only one risk management order can be attached to a Trade.
GuaranteedStopLossOrderRmoMutualExclusivityGsloExcludesOthersViolation
The Guaranteed Stop Loss Order would be in violation of the risk management Order mutual exclusivity configuration specifying that if a GSLO is already attached to a Trade, no other risk management Order can be attached to the same Trade.
GuaranteedStopLossOnFillRequiredForPendingOrder
An attempt to create a pending Order was made with no Guaranteed Stop Loss Order on fill specified and the Account’s configuration requires that every Trade have an associated Guaranteed Stop Loss Order.
GuaranteedStopLossOnFillNotAllowed
An attempt to create a pending Order was made with a Guaranteed Stop Loss Order on fill that was explicitly configured to be guaranteed, however the Account’s configuration does not allow guaranteed Stop Loss Orders.
GuaranteedStopLossOnFillRequired
An attempt to create a pending Order was made with a Guaranteed Stop Loss Order on fill that was explicitly configured to be not guaranteed, however the Account’s configuration requires Guaranteed Stop Loss Orders.
GuaranteedStopLossOnFillPriceMissing
The Guaranteed Stop Loss on fill specified does not provide a price
GuaranteedStopLossOnFillPriceInvalid
The Guaranteed Stop Loss on fill specifies an invalid price
GuaranteedStopLossOnFillPricePrecisionExceeded
The Guaranteed Stop Loss on fill specifies a price with more precision than is allowed by the Order’s instrument
GuaranteedStopLossOnFillMinimumDistanceNotMet
An attempt to create a pending Order was made with the distance between the Guaranteed Stop Loss Order on fill’s price and the pending Order’s price is less than the Account’s configured minimum guaranteed stop loss distance.
GuaranteedStopLossOnFillLevelRestrictionVolumeExceeded
Filling the Order would result in the creation of a Guaranteed Stop Loss Order with trigger number of units that violates the account’s Guaranteed Stop Loss Order level restriction volume.
GuaranteedStopLossOnFillLevelRestrictionPriceRangeExceeded
Filling the Order would result in the creation of a Guaranteed Stop Loss Order with trigger price that violates the account’s Guaranteed Stop Loss Order level restriction price range.
GuaranteedStopLossOnFillDistanceInvalid
The Guaranteed Stop Loss on fill distance is invalid
GuaranteedStopLossOnFillPriceDistanceMaximumExceeded
The Guaranteed Stop Loss on fill price distance exceeds the maximum allowed amount.
GuaranteedStopLossOnFillDistancePrecisionExceeded
The Guaranteed Stop Loss on fill distance contains more precision than is allowed by the instrument
GuaranteedStopLossOnFillPriceAndDistanceBothSpecified
The Guaranteed Stop Loss on fill contains both the price and distance fields.
GuaranteedStopLossOnFillPriceAndDistanceBothMissing
The Guaranteed Stop Loss on fill contains neither the price nor distance fields.
GuaranteedStopLossOnFillTimeInForceMissing
The Guaranteed Stop Loss on fill specified does not provide a TimeInForce
GuaranteedStopLossOnFillTimeInForceInvalid
The Guaranteed Stop Loss on fill specifies an invalid TimeInForce
GuaranteedStopLossOnFillGtdTimestampMissing
The Guaranteed Stop Loss on fill specifies a GTD TimeInForce but does not provide a GTD timestamp
GuaranteedStopLossOnFillGtdTimestampInPast
The Guaranteed Stop Loss on fill specifies a GTD timestamp that is in the past.
GuaranteedStopLossOnFillClientOrderIdInvalid
The Guaranteed Stop Loss on fill client Order ID specified is invalid
GuaranteedStopLossOnFillClientOrderTagInvalid
The Guaranteed Stop Loss on fill client Order tag specified is invalid
GuaranteedStopLossOnFillClientOrderCommentInvalid
The Guaranteed Stop Loss on fill client Order comment specified is invalid.
GuaranteedStopLossOnFillTriggerConditionMissing
The Guaranteed Stop Loss on fill specified does not provide a TriggerCondition.
GuaranteedStopLossOnFillTriggerConditionInvalid
The Guaranteed Stop Loss on fill specifies an invalid TriggerCondition.
TrailingStopLossOrderAlreadyExists
A Trailing Stop Loss Order for the specified Trade already exists
TrailingStopLossOrderWouldViolateFifoViolationSafeguard
The Trailing Stop Loss Order would cause the associated Trade to be in violation of the FIFO violation safeguard constraints
TrailingStopLossOrderRmoMutualExclusivityMutuallyExclusiveViolation
The Trailing Stop Loss Order would be in violation of the risk management Order mutual exclusivity configuration specifying that only one risk management order can be attached to a Trade.
TrailingStopLossOrderRmoMutualExclusivityGsloExcludesOthersViolation
The Trailing Stop Loss Order would be in violation of the risk management Order mutual exclusivity configuration specifying that if a GSLO is already attached to a Trade, no other risk management Order can be attached to the same Trade.
TrailingStopLossOnFillPriceDistanceMissing
The Trailing Stop Loss on fill specified does not provide a distance
TrailingStopLossOnFillPriceDistanceInvalid
The Trailing Stop Loss on fill distance is invalid
TrailingStopLossOnFillPriceDistancePrecisionExceeded
The Trailing Stop Loss on fill distance contains more precision than is allowed by the instrument
TrailingStopLossOnFillPriceDistanceMaximumExceeded
The Trailing Stop Loss on fill price distance exceeds the maximum allowed amount
TrailingStopLossOnFillPriceDistanceMinimumNotMet
The Trailing Stop Loss on fill price distance does not meet the minimum allowed amount
TrailingStopLossOnFillTimeInForceMissing
The Trailing Stop Loss on fill specified does not provide a TimeInForce
TrailingStopLossOnFillTimeInForceInvalid
The Trailing Stop Loss on fill specifies an invalid TimeInForce
TrailingStopLossOnFillGtdTimestampMissing
The Trailing Stop Loss on fill TimeInForce is specified as GTD but no GTD timestamp is provided
TrailingStopLossOnFillGtdTimestampInPast
The Trailing Stop Loss on fill GTD timestamp is in the past
TrailingStopLossOnFillClientOrderIdInvalid
The Trailing Stop Loss on fill client Order ID specified is invalid
TrailingStopLossOnFillClientOrderTagInvalid
The Trailing Stop Loss on fill client Order tag specified is invalid
TrailingStopLossOnFillClientOrderCommentInvalid
The Trailing Stop Loss on fill client Order comment specified is invalid
TrailingStopLossOrdersNotSupported
A client attempted to create either a Trailing Stop Loss order or an order with a Trailing Stop Loss On Fill specified, which may not yet be supported.
TrailingStopLossOnFillTriggerConditionMissing
The Trailing Stop Loss on fill specified does not provide a TriggerCondition
TrailingStopLossOnFillTriggerConditionInvalid
The Tailing Stop Loss on fill specifies an invalid TriggerCondition
CloseTradeTypeMissing
The request to close a Trade does not specify a full or partial close
CloseTradePartialUnitsMissing
The request to close a Trade partially did not specify the number of units to close
CloseTradeUnitsExceedTradeSize
The request to partially close a Trade specifies a number of units that exceeds the current size of the given Trade
CloseoutPositionDoesntExist
The Position requested to be closed out does not exist
CloseoutPositionIncompleteSpecification
The request to closeout a Position was specified incompletely
CloseoutPositionUnitsExceedPositionSize
A partial Position closeout request specifies a number of units that exceeds the current Position
CloseoutPositionReject
The request to closeout a Position could not be fully satisfied
CloseoutPositionPartialUnitsMissing
The request to partially closeout a Position did not specify the number of units to close.
MarkupGroupIdInvalid
The markup group ID provided is invalid
PositionAggregationModeInvalid
The PositionAggregationMode provided is not supported/valid.
AdminConfigureDataMissing
No configuration parameters provided
MarginRateInvalid
The margin rate provided is invalid
MarginRateWouldTriggerCloseout
The margin rate provided would cause an immediate margin closeout
AliasInvalid
The account alias string provided is invalid
ClientConfigureDataMissing
No configuration parameters provided
MarginRateWouldTriggerMarginCall
The margin rate provided would cause the Account to enter a margin call state.
AmountInvalid
Funding is not possible because the requested transfer amount is invalid
InsufficientFunds
The Account does not have sufficient balance to complete the funding request
AmountMissing
Funding amount has not been specified
FundingReasonMissing
Funding reason has not been specified
OcaOrderIdsStopLossNotAllowed
The list of Order Identifiers provided for a One Cancels All Order contains an Order Identifier that refers to a Stop Loss Order. OCA groups cannot contain Stop Loss Orders.
ClientExtensionsDataMissing
Neither Order nor Trade on Fill client extensions were provided for modification
ReplacingOrderInvalid
The Order to be replaced has a different type than the replacing Order.
ReplacingTradeIdInvalid
The replacing Order refers to a different Trade than the Order that is being replaced.
OrderCancelWouldTriggerCloseout
Canceling the order would cause an immediate margin closeout.
Unknown(String)
An unrecognized provider value, preserved for forward compatibility.