@qtsurfer/sdk
    Preparing search index...

    Type Alias LivePaperPosition

    type LivePaperPosition = {
        base: number;
        cost: number;
        instrument: string;
        markedAtMs?: number;
        markPrice?: number;
        unrealisedPnl?: number;
    }
    Index
    base: number

    Amount held, in the base asset.

    cost: number

    What it cost, in the account's currency.

    instrument: string
    markedAtMs?: number

    Market time (epoch ms) of that mark.

    markPrice?: number

    The price the position was valued at in the last mark. Present, with markedAtMs and unrealisedPnl, only when that mark is of the position as it stands now.

    unrealisedPnl?: number

    base times markPrice, minus cost, in the account's currency.