Reason of Order Failure is an enum that represents the reason of an order failure.
You would normally not need to use it directly.
class ReasonOfOrderFailure(Enum): """ Enum for reason of failure. """ INSUFFICIENT_FUNDS = "insufficientFunds" UNKNOWN = "unknown"