Binance Connector JS
    Preparing search index...

    Interface TimeWeightedAveragePriceFutureAlgoRequest

    Request parameters for timeWeightedAveragePriceFutureAlgo operation in FutureAlgoApi. TimeWeightedAveragePriceFutureAlgoRequest

    interface TimeWeightedAveragePriceFutureAlgoRequest {
        clientAlgoId?: string;
        duration: number | bigint;
        limitPrice?: number;
        positionSide?: TimeWeightedAveragePriceFutureAlgoPositionSideEnum;
        quantity: number;
        recvWindow?: number | bigint;
        reduceOnly?: boolean;
        side: TimeWeightedAveragePriceFutureAlgoSideEnum;
        symbol: string;
    }
    Index

    Properties

    clientAlgoId?: string

    A unique id among Algo orders (length should be 32 characters), If it is not sent, we will give default value

    FutureAlgoApiTimeWeightedAveragePriceFutureAlgo

    duration: number | bigint

    Duration for TWAP orders in seconds

    FutureAlgoApiTimeWeightedAveragePriceFutureAlgo

    limitPrice?: number

    Limit price of the order; If it is not sent, will place order by market price by default

    FutureAlgoApiTimeWeightedAveragePriceFutureAlgo

    Default BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode.

    FutureAlgoApiTimeWeightedAveragePriceFutureAlgo

    quantity: number

    Quantity of base asset; The notional (quantity * mark price(base asset)) must be more than the equivalent of 1,000 USDT and less than the equivalent of 1,000,000 USDT

    FutureAlgoApiTimeWeightedAveragePriceFutureAlgo

    recvWindow?: number | bigint

    Request validity window in milliseconds

    FutureAlgoApiTimeWeightedAveragePriceFutureAlgo

    reduceOnly?: boolean

    "true" or "false". Default "false"; Cannot be sent in Hedge Mode; Cannot be sent when you open a position

    FutureAlgoApiTimeWeightedAveragePriceFutureAlgo

    Trading side ( BUY or SELL )

    FutureAlgoApiTimeWeightedAveragePriceFutureAlgo

    symbol: string

    Trading symbol eg. BTCUSDT

    FutureAlgoApiTimeWeightedAveragePriceFutureAlgo