Interface PolicyAccountOutcomeEntry

Plain-object form accepted wherever a policy returns an account outcome.

interface PolicyAccountOutcomeEntry {
    asset: string;
    averageEntryPrice?:
        | string
        | number
        | bigint
        | Price;
    balance?: OutcomeAmount | PolicyOutcomeAmount;
    held?: OutcomeAmount | PolicyOutcomeAmount;
    incoming?: OutcomeAmount | PolicyOutcomeAmount;
    realizedPnl?: PolicyPnlOutcomeAmount | PnlOutcomeAmount;
}

Properties

asset: string
averageEntryPrice?:
    | string
    | number
    | bigint
    | Price