---
title: "Time-Weighted Average Price(Twap) New Order (TRADE)"
method: POST
path: "/sapi/v1/algo/futures/newOrderTwap"
tags: ["Futures Algo"]
---

# Time-Weighted Average Price(Twap) New Order (TRADE)

`POST /sapi/v1/algo/futures/newOrderTwap`

## Request

- Base URL: `https://api.binance.com`
- URL: `https://api.binance.com/sapi/v1/algo/futures/newOrderTwap`
- Auth: API key in header `X-MBX-APIKEY`

Send in a Twap new order. Only support on USDⓈ-M Contracts.

You need to enable Futures Trading Permission for the api key which requests this endpoint.
Base URL: https://api.binance.com

- Total Algo open orders max allowed: 10 orders.
- Leverage of symbols and position mode will be the same as your futures account settings. You can set up through the trading page or fapi.
- Receiving "success": true does not mean that your order will be executed. Please use the query order endpoints(GET sapi/v1/algo/futures/openOrders or GET sapi/v1/algo/futures/historicalOrders) to check the order status. For example: Your futures balance is insufficient, or open position with reduce only or position side is inconsistent with your own setting. In these cases you will receive "success": true, but the order status will be expired after we check it.
- quantity * 60 / duration should be larger than minQty
- duration cannot be less than 5 mins or more than 24 hours.
- For delivery contracts, TWAP end time should be one hour earlier than the delivery time of the symbol.

Weight(UID): 3000

## Query parameters

- `symbol` string, required
- `side` 'SELL' | 'BUY', required
- `positionSide` 'BOTH' | 'LONG' | 'SHORT'
- `quantity` number, double, required
- `duration` integer, required
- `clientAlgoId` string
- `reduceOnly` boolean
- `limitPrice` number, double
- `recvWindow` integer
- `timestamp` integer, required
- `signature` string, required

## Response `200`

Time-Weighted Average Price(Twap) New Order

- object
  - `clientAlgoId` string, required
  - `success` boolean, required
  - `code` integer, required
  - `msg` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized Request

## Changes

- **2022-10-13** `9d597b7942a9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/binance/apis/binance-public-spot-api/changes/sapi/v1/algo/futures/newOrderTwap/post.md)

---

[API](https://skmtc.dev/binance/apis/binance-public-spot-api.md) - [All operations](https://skmtc.dev/binance/apis/binance-public-spot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/binance/apis/binance-public-spot-api/revisions/0dd2f133e12d?raw)
