Binance Connector JS
    Preparing search index...

    Request parameters for placeOrder operation in TradeApi. PlaceOrderRequest

    interface PlaceOrderRequest {
        accountType: PlaceOrderAccountTypeEnum;
        fundingSource?: PlaceOrderFundingSourceEnum;
        fundTransferAmount?: string;
        orderType: PlaceOrderOrderTypeEnum;
        priceLimit?: string;
        quoteId: string;
        slippageBps: number;
        timeInForce: string;
        walletAddress: string;
        walletId: string;
    }
    Index

    Properties

    Payment account type. Enum: SPOT, FUNDING. This only determines the settlement/reference account — it does not control which balance is debited. See fundingSource below for that.

    TradeApiPlaceOrder

    Funding source. Enum: MPC, CEX. Default MPC. This determines which balance is actually debited, independent of accountType.

    TradeApiPlaceOrder

    fundTransferAmount?: string

    Auto-transfer amount before order (wei). Must be > 0 if provided

    TradeApiPlaceOrder

    Order type. Enum: MARKET, LIMIT only. Do not combine with timeInForce (e.g. LIMIT_GTC is not a valid value) — set timeInForce separately per the Validation Rules table below.

    TradeApiPlaceOrder

    priceLimit?: string

    Limit price. Required when orderType=LIMIT, must be > 0. Omitting it when orderType=LIMIT returns a generic -3026 (no field name in the message).

    TradeApiPlaceOrder

    quoteId: string

    Quote ID obtained from Get Quote

    TradeApiPlaceOrder

    slippageBps: number

    Slippage tolerance in basis points. Range 1–10000

    TradeApiPlaceOrder

    timeInForce: string

    Must match orderType: FOK for MARKET, GTC for LIMIT

    TradeApiPlaceOrder

    walletAddress: string

    User's prediction wallet address. Must be a valid address owned by the calling UID — a well-formed address not owned by the UID and a malformed (non-address) value both return the same generic -3026. An empty string instead returns -1102 naming the field.

    TradeApiPlaceOrder

    walletId: string

    Wallet ID

    TradeApiPlaceOrder