/** * toFixed() for numbers */ export declare function toFixedNumber(stringNumber: string | number, decimalPlaces?: number): number; /** * Account for last seen price to determine upnl of a position * * For a SHORT position, the asset quantity should be NEGATIVE */ export declare function getUnrealisedPNL(lastSeenPrice: number, positionAssetQuantity: number, positionAvgEntryPrice: number): number;