import {UserCryptoExecution} from "./UserCryptoExecution"; import {EnumValue} from "../../enums/EnumValue"; /** * Represents base class to notify client that his Crypto order was executed partially or fully. */ export interface BaseCryptoTrade extends UserCryptoExecution { /** * Abbreviation for stock name. * @type {string} */ Symbol: string; /** * Side of the order. * @type {EnumValue} */ Side: EnumValue; /** * Type of the order. * @type {EnumValue} */ OrderType: EnumValue; /** * Represents period of time of order topicality before execution or canceling. * @type {EnumValue} */ TimeInForce: EnumValue; /** * Price that was entered by client. * @type {number} */ EntryPrice: number; /** * Price which Pending was executed on. * @type {number} */ ExecPrice: number; /** * Count of shares that was entered by client. * @type {number} */ EntryShares: number; /** * Count of shares that was executed. * @type {number} */ ExecShares: number; /** * Count of shares that remain for execution. * @type {number} */ RemainShares: number; /** * Market exchange. * @type {string} */ Exchange: string; /** * Market method. * @type {string} */ Method: string; }