import {BaseCryptoExecution} from "./BaseCryptoExecution"; import {EnumValue} from "../../enums/EnumValue"; /** * Represents base class to notify that Crypto position Open P/L was updated. */ export interface BaseCryptoPositionOpenUpdate extends BaseCryptoExecution { /** * Current Open P/L value. * @type {number} */ Open: number; /** * Price of data type which was used to recalculate Open P/L. * @type {number} */ LastPrice: number; /** * Value indicating which data type was used to calculate Open P/L - Print or Quote. * @type {EnumValue} */ OpenUpdateReason: EnumValue; }