Longbridge OpenAPI SDK
    Preparing search index...

    Interface ProfitAnalysisDetail

    Detailed profit analysis for one security

    interface ProfitAnalysisDetail {
        profit?: string;
        underlyingDetails: ProfitDetails;
        derivativePnlDetails: ProfitDetails;
        name: string;
        updatedAt: string;
        updatedDate: string;
        currency: string;
        defaultTag: number;
        start: string;
        end: string;
        startDate: string;
        endDate: string;
    }
    Index

    Properties

    profit?: string

    Total profit/loss

    underlyingDetails: ProfitDetails

    Underlying stock P&L details

    derivativePnlDetails: ProfitDetails

    Derivative P&L details

    name: string

    Security name

    updatedAt: string

    Last updated time (unix timestamp string)

    updatedDate: string

    Last updated date string

    currency: string

    Currency

    defaultTag: number

    Default detail tab: 0 = underlying, 1 = derivative

    start: string

    Query start time (unix timestamp string)

    end: string

    Query end time (unix timestamp string)

    startDate: string

    Query start date string

    endDate: string

    Query end date string