import {CryptoExecutionCancelMessage} from "./CryptoExecutionCancelMessage"; import {BaseMessage} from "../BaseMessage"; import {EnumValue} from "../../enums/EnumValue"; /** * Message that indicates about failed execution of canceling Crypto order. */ export interface CryptoCancelReject extends CryptoExecutionCancelMessage, BaseMessage { /** * Identifier client set to order identifier for client. * @type {string} */ ClientOrderId: string; /** * Identifier that client set to order identifier for client. * @type {string} */ OriginalClientOrderId: string; /** * Name of stock for which cancel order was rejected. * @type {string} */ Symbol: string; /** * Side of order which was tried to cancel but rejected. * @type {EnumValue} */ Side: EnumValue; /** * Type of order which was tried to cancel but rejected. * @type {EnumValue} */ OrderType: EnumValue; /** * Period of time of topicality of order which was cancel but rejected. * @type {EnumValue} */ TimeInForce: EnumValue; /** * Price of order which was cancel but rejected. * @type {number} */ Price: number; /** * Stop price of order which was cancel but rejected. * @type {number} */ StopPrice: number; /** * Initial count of shares of order which was cancel but rejected. * @type {number} */ EntryShares: number; /** * Market exchange of order which was cancel but rejected. * @type {string} */ Exchange: string; /** * Market strategy of order which was cancel but rejected. * @type {string} */ Method: string; /** * Market strategy of order which was tried to cancel but rejected. * @type {boolean} */ IsHidden: boolean; /** * Reason of cancel order failed execution. * @type {string} */ RejectReason: string; }