import {CryptoTrading} from "./CryptoTrading"; import {EnumValue} from "../../enums/EnumValue"; /** * Represents base class to notify that some parameter of shares of specified company changed. * It can be size, average price, possible profit or loss. */ export interface BaseCryptoPosition extends CryptoTrading { /** * Abbreviation for stock name. * @type {string} */ Symbol: string; /** * Market exchange. * @type {string} */ Exchange: string; /** * Side of the position. * @type {EnumValue} */ Side: EnumValue; /** * Count of open shares in position. * @type {number} */ Shares: number; /** * Price of the position. * @type {number} */ Price: number; /** * Value indicating possible income calculated by last quote. * @type {number} */ Open: number; /** * Value indicating possible income calculated by last print. * @type {number} */ OpenPrint: number; /** * Commission charged for executed orders. * @type {number} */ Commission: number; /** * Price of last quote. * @type {number} */ LastQuotePrice: number; /** * Price of last print. * @type {number} */ LastPrintPrice: number; }