import {CryptoExecutionCancelMessage} from "./CryptoExecutionCancelMessage"; import {BaseMessage} from "../BaseMessage"; import {EnumValue} from "../../enums/EnumValue"; /** * Message that indicates about successful execution of canceling Crypto order. */ export interface CryptoCanceled extends CryptoExecutionCancelMessage, BaseMessage { /** * Count of shares that were canceled. * @type {number} */ CanceledShares: number; /** * Reason of cancellation. * @type {string} */ CancelReason: string; /** * Identifier client set to order identifier for client. * @type {string} */ ClientOrderId: string; /** * Initial count of shares of order which was canceled. * @type {number} */ EntryShares: number; /** * Market exchange of order which was canceled. * @type {string} */ Exchange: string; /** * Value indicating whether order which was canceled was hidden from displaying in full order book. * @type {boolean} */ IsHidden: boolean; /** * Match number of current canceled. * @type {number} */ MatchNo: number; /** * Market strategy of order which was canceled. * @type {string} */ Method: string; /** * Type of order which was canceled. * @type {EnumValue} */ OrderType: EnumValue; /** * Identifier that client set to order identifier for client. * @type {string} */ OriginalClientOrderId: string; /** * Price of order which was canceled. * @type {number} */ Price: number; /** * Count of shares that remain after current cancel operation. * @type {number} */ RemainShares: number; /** * Side of order which was canceled. * @type {EnumValue} */ Side: EnumValue; /** * Stop price of order which was canceled. * @type {number} */ StopPrice: number; /** * Name of stock for which order was canceled. * @type {string} */ Symbol: string; /** * Period of time of topicality of order which was canceled. * @type {EnumValue} */ TimeInForce: EnumValue; }