[−][src]Enum fxoanda::TransactionRejectReason
The reason that a Transaction was rejected.
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
UnitsMimimumNotMet
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
TakeProfitOrderAlreadyExists
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
StopLossOnFillRequiredForPendingOrder
StopLossOnFillGuaranteedNotAllowed
StopLossOnFillGuaranteedRequired
StopLossOnFillPriceMissing
StopLossOnFillPriceInvalid
StopLossOnFillPricePrecisionExceeded
StopLossOnFillGuaranteedMinimumDistanceNotMet
StopLossOnFillGuaranteedLevelRestrictionExceeded
StopLossOnFillDistanceInvalid
StopLossOnFillPriceDistanceMaximumExceeded
StopLossOnFillDistancePrecisionExceeded
StopLossOnFillPriceAndDistanceBothSpecified
StopLossOnFillPriceAndDistanceBothMissing
StopLossOnFillTimeInForceMissing
StopLossOnFillTimeInForceInvalid
StopLossOnFillGtdTimestampMissing
StopLossOnFillGtdTimestampInPast
StopLossOnFillClientOrderIdInvalid
StopLossOnFillClientOrderTagInvalid
StopLossOnFillClientOrderCommentInvalid
StopLossOnFillTriggerConditionMissing
StopLossOnFillTriggerConditionInvalid
TrailingStopLossOrderAlreadyExists
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
ClientExtensionsDataMissing
ReplacingOrderInvalid
ReplacingTradeIdInvalid
Trait Implementations
impl<'de> Deserialize<'de> for TransactionRejectReason
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<TransactionRejectReason, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<TransactionRejectReason, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Serialize for TransactionRejectReason
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl Display for TransactionRejectReason
[src]
impl FromStr for TransactionRejectReason
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<TransactionRejectReason, ()>
[src]
impl Debug for TransactionRejectReason
[src]
Auto Trait Implementations
impl Send for TransactionRejectReason
impl Sync for TransactionRejectReason
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,