Longbridge OpenAPI SDK
    Preparing search index...

    Interface ProfitAnalysisItem

    P&L for one security

    interface ProfitAnalysisItem {
        name: string;
        market: string;
        isHolding: boolean;
        profit?: string;
        profitRate?: string;
        clearanceTimes: number;
        itemType: AssetType;
        currency: string;
        symbol: string;
        holdingPeriod: string;
        securityCode: string;
        isin: string;
        underlyingProfit?: string;
        derivativesProfit?: string;
        orderProfit?: string;
    }
    Index

    Properties

    name: string

    Security name

    market: string

    Market

    isHolding: boolean

    Whether still holding

    profit?: string

    Profit/loss amount

    profitRate?: string

    Profit/loss rate

    clearanceTimes: number

    Number of completed trades

    itemType: AssetType

    Asset type

    currency: string

    Currency

    symbol: string

    Security symbol

    holdingPeriod: string

    Holding period display string

    securityCode: string

    Ticker code

    isin: string

    ISIN (for funds)

    underlyingProfit?: string

    Underlying stock P&L

    derivativesProfit?: string

    Derivatives P&L

    orderProfit?: string

    P&L in order currency