import {Enum} from "./Enum"; import {EnumValue} from "./EnumValue"; /** * Represents possible values for current status of Crypto order. */ export interface CryptoOrderStatus extends Enum { /** * Default value. * @type {EnumValue} */ readonly Unknown: EnumValue; /** * Value indicating that order is canceled. * @type {EnumValue} */ readonly Canceled: EnumValue; /** * Value indicating that order to cancel pending order was accepted by server side and waiting for execution. * @type {EnumValue} */ readonly Canceling: EnumValue; /** * Value indicating that order to cancel pending order was received and hadn't been accepted yet. * @type {EnumValue} */ readonly CancelOrder: EnumValue; /** * Value indicating that order to cancel pending order was rejected. * @type {EnumValue} */ readonly CancelReject: EnumValue; /** * Value indicating that order is waiting for execution. * @type {EnumValue} */ readonly Pending: EnumValue; /** * Value indicating that order was rejected due to some issues. * @type {EnumValue} */ readonly Reject: EnumValue; /** * Value indicating that order was accepted by server side and waiting for sending to market. * @type {EnumValue} */ readonly Sending: EnumValue; /** * Value indicating that order was partially or fully executed. * @type {EnumValue} */ readonly Trade: EnumValue; /** * Value indicating that order wasn't accepted because of some invalid fields. * @type {EnumValue} */ readonly OrderError: EnumValue; }