Chartbreaker
    Preparing search index...

    Type Alias PortfolioValueHistoryKnockOut

    An instrument that has knocked out or expired and thus has been booked out of the portfolio.

    type PortfolioValueHistoryKnockOut = {
        dateString: string;
        instrument?: Instrument;
        instrumentId?: InstrumentId;
        isin: string;
        name?: string;
        reason: string;
        size: NumericString;
    }
    Index
    dateString: string

    The day the instrument knocked out, YYYY-MM-DD. It is treated like a sale on that day.

    instrument?: Instrument

    The stock3 instrument the security has been mapped to, as the positions and orders of this library carry it. Missing if it could not be mapped - a client should then fall back to name / isin.

    instrumentId?: InstrumentId

    The id of instrument, for clients that only need to link the row.

    isin: string
    name?: string

    The security's name as the broker reports it. Missing if it reports none - a client should then fall back to isin.

    reason: string

    The raw reason, e.g. KO, expired, inactive or a comma-separated combination of those.

    The quantity that was still open when the instrument knocked out.