Nado Typescript SDK Documentation
    Preparing search index...

    Interface EngineServerSubscriptionPositionChangeEvent

    Event from subscribing to a position_change stream.

    interface EngineServerSubscriptionPositionChangeEvent {
        type: "position_change";
        product_id: number;
        timestamp: string;
        subaccount: string;
        amount: string;
        v_quote_amount: string;
        reason: PositionChangeReason;
        isolated: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    type: "position_change"
    product_id: number
    timestamp: string
    subaccount: string
    amount: string
    v_quote_amount: string

    Zero for everything except perps

    isolated: boolean

    True if the position change was for an isolated position