CHANGELOG for Binance's API (2022-09-30)
2022-09-30
Scheduled changes to the removal of !bookTicker around November 2022.
- The All Book Tickers stream (
!bookTicker) is set to be removed in November 2022. - More details of the actual removal date will be announced at a later time.
- Please use the Individual Book Ticker Streams instead. (
<symbol>@bookTicker). - Multiple
<symbol>@bookTickerstreams can be subscribed to over one connection.- Example: wss://stream.binance.com:9443/stream?streams=btcusdt@bookTicker/bnbbtc@bookTicker
2022-09-15
Note that these are rolling changes, so it may take a few days for it to rollout to all our servers.
- Changes to
GET /api/v3/exchangeInfo- New optional parameter
permissionsadded to display all symbols with the permissions matching the parameter provided. (eg.SPOT,MARGIN) - If not provided, the default value will be
["SPOT","MARGIN","LEVERAGED"].- This means the request
GET /api/v3/exchangeInfowithout any parameters will show all symbols that can be used forSPOT,MARGIN, and/orLEVERAGEDtrading. - To search for symbols that can be traded on other permissions (e.g.
TRD_GRP_004, etc), then this needs to be searched for explicitly. (e.g.permissions=TRD_GRP_004)
- This means the request
- Cannot be combined with
symbolorsymbols
- New optional parameter
2022-08-23
Note that these are rolling changes, so it may take a few days for it to rollout to all our servers.
- Changes to
GET /api/v3/tickerandGET /api/v3/ticker/24hr- New optional parameter
typeadded - Supported values for parameter
typeareFULLandMINIFULLis the default value and the response that is currently being returned from the endpointMINIomits the following fields from the response:priceChangePercent,weightedAvgPrice,bidPrice,bidQty,askPrice,askQty, andlastQty
- New optional parameter
- New error code
-1008- This is sent whenever the servers are overloaded with requests.
- New field
brokeredhas been added toGET /api/v3/account - New kline interval:
1s - New endpoint added:
GET /api/v3/uiKlines
2022-08-08
REST API
- Changes to
POST /api/v3/orderandPOST /api/v3/order/cancelReplace- New optional fields
strategyIdandstrategyTypestrategyIdis a parameter used to identify an order as part of a strategy.strategyTypeis a parameter used to identify what strategy was running. (E.g. If all the orders are part of spot grid strategy, it can be set tostrategyType=1000000)- Note that the minimum value allowed for
strategyTypeis1000000.
- Note that the minimum value allowed for
- New optional fields
- Changes to
POST /api/v3/order/oco- New optional fields
limitStrategyId,limitStrategyType,stopStrategyId,stopStrategyType - These are the strategy metadata parameters for both legs of the OCO orders.
limitStrategyTypeandstopStrategyTypeboth cannot be less than1000000.
- New optional fields
- Changes to
GET /api/v3/order,GET /api/v3/openOrders, andGET /api/v3/allOrders- New fields
strategyIdandstrategyTypewill appear in the response JSON for orders that had these fields populated upon order placement.
- New fields
- Changes to
DELETE /api/v3/orderandDELETE /api/v3/openOrders- New fields
strategyIdandstrategyTypewill appear in the response JSON for cancelled orders that had these fields populated upon order placement.
- New fields
USER DATA STREAM
- New fields to eventType
executionReportjforstrategyIdJforstrategyType- Note that these fields only appear if these were populated upon order placement.
2022-06-20
Changes to GET /api/v3/ticker
- Weight has been reduced from 5 to 2 per symbol, regardless of
windowSize. - The max number of symbols that can be processed in a request is 100.
- If the number of
symbolssent is more than 100, the error will be as follows:
{ "code": -1101, "msg": "Too many values sent for parameter 'symbols', maximum allowed up to 100." } - If the number of
- The max Weight for this endpoint will cap at 100.
- I.e. If the request has more than 50 symbols, the Weight will still be 100, regardless of
windowSize.
- I.e. If the request has more than 50 symbols, the Weight will still be 100, regardless of
2022-06-15
Note: The update is being rolled out over the next few days, so these changes may not be visible right away.
SPOT API
GET /api/v3/tickeradded- Rolling window price change statistics based on
windowSizeprovided. - Contrary to
GET /api/v3/ticker/24hrthe list of symbols cannot be omitted. - If
windowSizenot specified, the value will default to1d. - Response is similar to
GET /api/v3/ticker/24hr, minus the following fields:prevClosePrice,lastQty,bidPrice,bidQty,askPrice,askQty
- Rolling window price change statistics based on
GET /api/v3/exchangeInforeturns new fieldcancelReplaceAllowedinsymbolslist.POST /api/v3/order/cancelReplaceadded- Cancels an existing order and places a new order on the same symbol.
- The filters are evaluated before the cancel order is placed.
- e.g. If the
MAX_NUM_ORDERSfilter is 10, and the total number of open orders on the account is also 10, when usingPOST /api/v3/order/cancelReplaceboth the cancel order placement and new order will fail because of the filter.
- e.g. If the
- The change is being rolled out in the next few days, thus this feature will be enabled once the upgrade is completed.
- New filter
NOTIONALhas been added.- Defines the allowed notional value (
price * quantity) based on a configuredminNotionalandmaxNotional
- Defines the allowed notional value (
- New exchange filter
EXCHANGE_MAX_NUM_ICEBERG_ORDERShas been added.- Defines the limit of open iceberg orders on an account
2022-05-23
-
Changes to Order Book Depth Levels
- Quantities in the Depth levels were returning negative values in situations where they were exceeding the max value, resulting in an overflow.
- Going forward depth levels will not overflow, but will be capped at the max value based on the precision of the base asset. This means that the depth level is at max value or more.
- E.g. If the precision is 8, then the max value for quantity will be at 92,233,720,368.54775807.
- When the fix has been applied, a change in the order book at the affected price level is required for the changes to be visible.
-
What does this affect?
- SPOT API
GET /api/v3/depth
- Websocket Streams
<symbol>@depth<symbol>@depth@100ms<symbol>@depth<levels><symbol>@depth<levels>@100ms
- SPOT API
-
Updates to
MAX_POSITION- If an order's
quantitycan cause the position to overflow, this will now fail theMAX_POSITIONfilter.
- If an order's
2022-05-17
- Changes to GET
api/v3/aggTrades- When providing
startTimeandendTime, the oldest items are returned.
- When providing
- Changed error messaging on
GET /api/v3/myTradeswhere parametersymbolis not provided:
{
"code": -1102,
"msg": "Mandatory parameter 'symbol' was not sent, was empty/null, or malformed."
}- The following endpoints now support multi-symbol querying using the parameter
symbols.GET /api/v3/ticker/24hrGET /api/v3/ticker/priceGET /api/v3/ticker/bookTicker
- In the above, the request weight will depend on the number of symbols provided in
symbols.
Please refer to the table below:
| Endpoint | Number of Symbols | Weight |
|---|---|---|
GET /api/v3/ticker/price |
Any | 2 |
GET /api/v3/ticker/bookTicker |
Any | 2 |
GET /api/v3/ticker/24hr |
1-20 | 1 |
GET /api/v3/ticker/24hr |
21-100 | 20 |
GET /api/v3/ticker/24hr |
101 or more | 40 |
2022-04-13
REST API
- Trailing Stops have been enabled.
- This is a type of algo order where the activation is based on a percentage of a price change in the market using the new parameter
trailingDelta. - This can only used with any of the following order types:
STOP_LOSS,STOP_LOSS_LIMIT,TAKE_PROFIT,TAKE_PROFIT_LIMIT. - The
trailingDeltaparameter will be done in Basis Points or BIPS.- For example: a STOP_LOSS SELL order with a
trailingDeltaof 100 will trigger after a price decrease of 1% from the highest price after the order is placed. (100 / 10,000 => 0.01 => 1%)
- For example: a STOP_LOSS SELL order with a
- When used in combination with OCO Orders, the
trailingDeltawill determine when the contingent leg of the OCO will trigger. - When
trailingDeltais used in combination withstopPrice, once thestopPricecondition is met, the trailing stop starts tracking the price change from thestopPricebased on thetrailingDeltaprovided. - When no
stopPriceis sent, the trailing stop starts tracking the price changes from the last price based on thetrailingDeltaprovided.
- This is a type of algo order where the activation is based on a percentage of a price change in the market using the new parameter
- Changes to POST
/api/v3/order- New optional field
trailingDelta
- New optional field
- Changes to POST
/api/v3/order/test- New optional field
trailingDelta
- New optional field
- Changes to POST
/api/v3/order/oco- New optional field
trailingDelta
- New optional field
- A new filter
TRAILING_DELTAhas been added.- This filter is defined by the minimum and maximum values for the
trailingDeltavalue.
- This filter is defined by the minimum and maximum values for the
USER DATA STREAM
- New field in
executionReport- "d" for
trailingDelta
- "d" for
2022-04-12
Note: The changes are being rolled out during the next few days, so these will not appear right away.
- Error message changed on
GET api/v3/allOrderswheresymbolis not provided:{ "code": -1102, "msg": "Mandatory parameter 'symbol' was not sent, was empty/null, or malformed." } - Fixed a typo with an error message when an account has disabled permissions (e.g. to withdraw, to trade, etc)
"This action is disabled on this account." - During a market data audit, we detected some issues with the Spot aggregate trade data.
- Missing aggregate trades were recovered.
- Duplicated records were marked invalid with the following values:
- p = '0' // price
- q = '0' // qty
- f = -1 // first_trade_id
- l = -1 // last_trade_id
2022-02-28
- New field
allowTrailingStophas been added toGET /api/v3/exchangeInfo
2022-02-24
(price-minPrice) % tickSize == 0rule inPRICE_FILTERhas been changed toprice % tickSize == 0.- A new filter
PERCENT_PRICE_BY_SIDEhas been added. - Changes to GET
api/v3/depth- The
limitvalue can be outside of the previous values (i.e. 5, 10, 20, 50, 100, 500, 1000,5000) and will return the correct limit. (i.e. if limit=3 then the response will be the top 3 bids and asks) - The limit still cannot exceed 5000. If the limit provided is greater than 5000, then the response will be truncated to 5000.
- Due to the changes, these are the updated request weights based on the limit value provided:
- The
| Limit | Request Weight |
|---|---|
| 1-100 | 1 |
| 101-500 | 5 |
| 501-1000 | 10 |
| 1001-5000 | 50 |
- Changes to GET
api/v3/aggTrades- When providing
startTimeandendTime, the oldest items are returned.
- When providing
2021-12-29
- Removed out dated "Symbol Type" enum; added "Permissions" enum.
2021-11-01
GET /api/v3/rateLimit/orderadded- The endpoint will display the user's current order count usage for all intervals.
- This endpoint will have a request weight of 20.
2021-09-14
- Add a YAML file with OpenApi specification on the RESTful API.
2021-08-12
- GET
api/v3/myTradeshas a new optional fieldorderId
2021-05-12
- Added
Data Sourcein the documentation to explain where each endpoint is retrieving its data. - Added field
Data Sourceto each API endpoint in the documentation - GET
api/v3/exchangeInfonow supports single or multi-symbol query
2021-04-26
On April 28, 2021 00:00 UTC the weights to the following endpoints will be adjusted:
GET /api/v3/orderweight increased to 2GET /api/v3/openOrdersweight increased to 3GET /api/v3/allOrdersweight increased to 10GET /api/v3/orderListweight increased to 2GET /api/v3/openOrderListweight increased to 3GET /api/v3/accountweight increased to 10GET /api/v3/myTradesweight increased to 10GET /api/v3/exchangeInfoweight increased to 10
2021-01-01
USER DATA STREAM
outboundAccountInfohas been removed.
2020-11-27
New API clusters have been added in order to improve performance.
Users can access any of the following API clusters, in addition to api.binance.com
If there are any performance issues with accessing api.binance.com please try any of the following instead:
- https://api1.binance.com/api/v3/*
- https://api2.binance.com/api/v3/*
- https://api3.binance.com/api/v3/*
2020-09-09
USER DATA STREAM
outboundAccountInfohas been deprecated.outboundAccountInfowill be removed in the future. (Exact date unknown) Please useoutboundAccountPositioninstead.outboundAccountInfowill now only show the balance of non-zero assets and assets that have been reduced to 0.
2020-05-01
- From 2020-05-01 UTC 00:00, all symbols will have a limit of 200 open orders using the MAX_NUM_ORDERS filter.
- No existing orders will be removed or canceled.
- Accounts that have 200 or more open orders on a symbol will not be able to place new orders on that symbol until the open order count is below 200.
- OCO orders count as 2 open orders before the
LIMITorder is touched or theSTOP_LOSS(orSTOP_LOSS_LIMIT) order is triggered; once this happens the other order is canceled and will no longer count as an open order.
2020-04-25
REST API
- New field
permissions- Defines the trading permissions that are allowed on accounts and symbols.
permissionsis an enum array; values:SPOTMARGIN
permissionswill replaceisSpotTradingAllowedandisMarginTradingAllowedonGET api/v3/exchangeInfoin future API versions (v4+).- For an account to trade on a symbol, the account and symbol must share at least 1 permission in common.
- Updates to
GET api/v3/exchangeInfo- New field
permissionsadded. - New field
quoteAssetPrecisionadded; a duplicate of thequotePrecisionfield.quotePrecisionwill be removed in future API versions (v4+).
- New field
- Updates to
GET api/v3/account- New field
permissionsadded.
- New field
- New endpoint
DELETE api/v3/openOrders- This will allow a user to cancel all open orders on a single symbol.
- This endpoint will cancel all open orders including OCO orders.
- Orders can be canceled via the API on symbols in the
BREAKorHALTstatus.
USER DATA
OutboundAccountInfohas new fieldPwhich shows the trading permissions of the account.
2020-04-23
WEB SOCKET STREAM
- WebSocket connections have a limit of 5 incoming messages per second. A message is considered:
- A PING frame
- A PONG frame
- A JSON control message (e.g. subscribe, unsubscribe)
- A connection that goes beyond the limit will be disconnected; IPs that are repeatedly disconnected may be banned.
- A single connection can listen to a maximum of 1024 streams.
2020-03-24
MAX_POSITIONfilter added.-
This filter defines the allowed maximum position an account can have on the base asset of a symbol. An account's position defined as the sum of the account's:
- free balance of the base asset
- locked balance of the base asset
- sum of the qty of all open BUY orders
-
BUYorders will be rejected if the account's position is greater than the maximum position allowed.
-
2019-11-22
- Quote Order Qty Market orders have been enabled on all symbols.
- Quote Order Qty
MARKETorders allow a user to specify the totalquoteOrderQtyspent or received in theMARKETorder. - Quote Order Qty
MARKETorders will not breakLOT_SIZEfilter rules; the order will execute a quantity that will have the notional value as close as possible toquoteOrderQty. - Using
BNBBTCas an example:- On the
BUYside, the order will buy as many BNB asquoteOrderQtyBTC can. - On the
SELLside, the order will sell as much BNB as needed to receivequoteOrderQtyBTC.
- On the
- Quote Order Qty
2019-11-13
Rest API
- api/v3/exchangeInfo has new fields:
quoteOrderQtyMarketAllowedbaseCommissionDecimalPlacesquoteCommissionDecimalPlaces
MARKETorders have a new optional field:quoteOrderQtyused to specify the quote quantity to BUY or SELL. This cannot be used in combination withquantity.- The exact timing that
quoteOrderQtyMARKET orders will be enabled is TBD. There will be a separate announcement and further details at that time.
- The exact timing that
- All order query endpoints will return a new field
origQuoteOrderQtyin the JSON payload. (e.g. GET api/v3/allOrders) - Updated error messages for -1128
- Sending an
OCOwith astopLimitPricebut without astopLimitTimeInForcewill return the error:
{ "code": -1128, "msg": "Combination of optional parameters invalid. Recommendation: 'stopLimitTimeInForce' should also be sent." } - Sending an
- Updated error messages for -1003 to specify the limit is referring to the request weight, not to the number of requests.
Deprecation of v1 endpoints:
By end of Q1 2020, the following endpoints will be removed from the API. The documentation has been updated to use the v3 versions of these endpoints.
- GET api/v1/depth
- GET api/v1/historicalTrades
- GET api/v1/aggTrades
- GET api/v1/klines
- GET api/v1/ticker/24hr
- GET api/v1/ticker/price
- GET api/v1/exchangeInfo
- POST api/v1/userDataStream
- PUT api/v1/userDataStream
- GET api/v1/ping
- GET api/v1/time
- GET api/v1/ticker/bookTicker
These endpoints however, will NOT be migrated to v3. Please use the following endpoints instead moving forward.
| Old V1 Endpoints | New V3 Endpoints |
|---|---|
| GET api/v1/ticker/allPrices | GET api/v3/ticker/price |
| GET api/v1/ticker/allBookTickers | GET api/v3/ticker/bookTicker |
USER DATA STREAM
-
Changes to
executionReportevent- If the C field is empty, it will now properly return
null, instead of"null". - New field Q which represents the
quoteOrderQty.
- If the C field is empty, it will now properly return
-
balanceUpdateevent type added- This event occurs when funds are deposited or withdrawn from your account.
WEB SOCKET STREAM
- WSS now supports live subscribing/unsubscribing to streams.
2019-09-09
- New WebSocket streams for bookTickers added:
<symbol>@bookTickerand!bookTicker. Seeweb-socket-streams.mdfor details.
2019-09-03
- Faster order book data with 100ms updates:
<symbol>@depth@100msand<symbol>@depth#@100ms - Added "Update Speed:" to
web-socket-streams.md - Removed deprecated v1 endpoints as per previous announcement:
- GET api/v1/order
- GET api/v1/openOrders
- POST api/v1/order
- DELETE api/v1/order
- GET api/v1/allOrders
- GET api/v1/account
- GET api/v1/myTrades
2019-08-16 (Update 2)
- GET api/v1/depth
limitof 10000 has been temporarily removed
2019-08-16
-
In Q4 2017, the following endpoints were deprecated and removed from the API documentation. They have been permanently removed from the API as of this version. We apologize for the omission from the original changelog:
- GET api/v1/order
- GET api/v1/openOrders
- POST api/v1/order
- DELETE api/v1/order
- GET api/v1/allOrders
- GET api/v1/account
- GET api/v1/myTrades
-
Streams, endpoints, parameters, payloads, etc. described in the documents in this repository are considered official and supported. The use of any other streams, endpoints, parameters, or payloads, etc. is not supported; use them at your own risk and with no guarantees.
2019-08-15
Rest API
-
New order type: OCO ("One Cancels the Other")
-
An OCO has 2 orders: (also known as legs in financial terms)
STOP_LOSSorSTOP_LOSS_LIMITlegLIMIT_MAKERleg
-
Price Restrictions:
SELL Orders: Limit Price > Last Price > Stop PriceBUY Orders: Limit Price < Last Price < Stop Price- As stated, the prices must "straddle" the last traded price on the symbol. EX: If the last price is 10:
- A SELL OCO must have the limit price greater than 10, and the stop price less than 10.
- A BUY OCO must have a limit price less than 10, and the stop price greater than 10.
-
Quantity Restrictions:
- Both legs must have the same quantity.
ICEBERGquantities however, do not have to be the same.
-
Execution Order:
- If the
LIMIT_MAKERis touched, the limit maker leg will be executed first BEFORE canceling the Stop Loss Leg. - if the Market Price moves such that the
STOP_LOSSorSTOP_LOSS_LIMITwill trigger, the Limit Maker leg will be canceled BEFORE executing theSTOP_LOSSLeg.
- If the
-
Canceling an OCO
- Canceling either order leg will cancel the entire OCO.
- The entire OCO can be canceled via the
orderListIdor thelistClientOrderId.
-
New Enums for OCO:
ListStatusTypeRESPONSE- used when ListStatus is responding to a failed action. (either order list placement or cancellation)EXEC_STARTED- used when an order list has been placed or there is an update to a list's status.ALL_DONE- used when an order list has finished executing and is no longer active.
ListOrderStatusEXECUTING- used when an order list has been placed or there is an update to a list's status.ALL_DONE- used when an order list has finished executing and is no longer active.REJECT- used when ListStatus is responding to a failed action. (either order list placement or cancellation)
ContingencyTypeOCO- specifies the type of order list.
-
New Endpoints:
- POST api/v3/order/oco
- DELETE api/v3/orderList
- GET api/v3/orderList
-
-
recvWindowcannot exceed 60000. -
New
intervalLettervalues for headers:- SECOND => S
- MINUTE => M
- HOUR => H
- DAY => D
-
New Headers
X-MBX-USED-WEIGHT-(intervalNum)(intervalLetter)will give your current used request weight for the (intervalNum)(intervalLetter) rate limiter. For example, if there is a one minute request rate weight limiter set, you will get aX-MBX-USED-WEIGHT-1Mheader in the response. The legacy headerX-MBX-USED-WEIGHTwill still be returned and will represent the current used weight for the one minute request rate weight limit. -
New Header
X-MBX-ORDER-COUNT-(intervalNum)(intervalLetter)that is updated on any valid order placement and tracks your current order count for the interval; rejected/unsuccessful orders are not guaranteed to haveX-MBX-ORDER-COUNT-**headers in the response.- Eg.
X-MBX-ORDER-COUNT-1Sfor "orders per 1 second" andX-MBX-ORDER-COUNT-1Dfor orders per "one day"
- Eg.
-
GET api/v1/depth now supports
limit5000 and 10000; weights are 50 and 100 respectively. -
GET api/v1/exchangeInfo has a new parameter
ocoAllowed.
USER DATA STREAM
executionReportevent now contains "g" which has theorderListId; it will be set to -1 for non-OCO orders.- New Event Type
listStatus;listStatusis sent on an update to any OCO order. - New Event Type
outboundAccountPosition;outboundAccountPositionis sent any time an account's balance changes and contains the assets that could have changed by the event that generated the balance change (a deposit, withdrawal, trade, order placement, or cancellation).
NEW ERRORS
- -1131 BAD_RECV_WINDOW
recvWindowmust be less than 60000
- -1099 Not found, authenticated, or authorized
- This replaces error code -1999
NEW -2011 ERRORS
- OCO_BAD_ORDER_PARAMS
- A parameter for one of the orders is incorrect.
- OCO_BAD_PRICES
- The relationship of the prices for the orders is not correct.
- UNSUPPORTED_ORD_OCO
- OCO orders are not supported for this symbol.
2019-03-12
Rest API
- X-MBX-USED-WEIGHT header added to Rest API responses.
- Retry-After header added to Rest API 418 and 429 responses.
- When canceling the Rest API can now return
errorCode-1013 OR -2011 if the symbol'sstatusisn'tTRADING. api/v1/depthno longer has the ignored and empty[].api/v3/myTradesnow returnsquoteQty; the price * qty of for the trade.
Websocket streams
<symbol>@depthand<symbol>@depthXstreams no longer have the ignored and empty[].
System improvements
- Matching Engine stability/reliability improvements.
- Rest API performance improvements.
2018-11-13
Rest API
- Can now cancel orders through the Rest API during a trading ban.
- New filters:
PERCENT_PRICE,MARKET_LOT_SIZE,MAX_NUM_ICEBERG_ORDERS. - Added
RAW_REQUESTSrate limit. Limits based on the number of requests over X minutes regardless of weight. - /api/v3/ticker/price increased to weight of 2 for a no symbol query.
- /api/v3/ticker/bookTicker increased weight of 2 for a no symbol query.
- DELETE /api/v3/order will now return an execution report of the final state of the order.
MIN_NOTIONALfilter has two new parameters:applyToMarket(whether or not the filter is applied to MARKET orders) andavgPriceMins(the number of minutes over which the price averaged for the notional estimation).intervalNumadded to /api/v1/exchangeInfo limits.intervalNumdescribes the amount of the interval. For example:intervalNum5, withintervalminute, means "every 5 minutes".
Explanation for the average price calculation:
-
(qty * price) of all trades / sum of qty of all trades over previous 5 minutes.
-
If there is no trade in the last 5 minutes, it takes the first trade that happened outside of the 5min window. For example if the last trade was 20 minutes ago, that trade's price is the 5 min average.
-
If there is no trade on the symbol, there is no average price and market orders cannot be placed. On a new symbol with
applyToMarketenabled on theMIN_NOTIONALfilter, market orders cannot be placed until there is at least 1 trade. -
The current average price can be checked here:
https://api.binance.com/api/v3/avgPrice?symbol=<symbol>For example: https://api.binance.com/api/v3/avgPrice?symbol=BNBUSDT
User data stream
Last quote asset transacted quantity(as variableY) added to execution reports. Represents thelastPrice*lastQty(L*l).
2018-07-18
Rest API
- New filter:
ICEBERG_PARTS POST api/v3/ordernew defaults fornewOrderRespType.ACK,RESULT, orFULL;MARKETandLIMITorder types default toFULL, all other orders default toACK.- POST api/v3/order
RESULTandFULLresponses now havecummulativeQuoteQty - GET api/v3/openOrders with no symbol weight reduced to 40.
- GET api/v3/ticker/24hr with no symbol weight reduced to 40.
- Max amount of trades from GET /api/v1/trades increased to 1000.
- Max amount of trades from GET /api/v1/historicalTrades increased to 1000.
- Max amount of aggregate trades from GET /api/v1/aggTrades increased to 1000.
- Max amount of aggregate trades from GET /api/v1/klines increased to 1000.
- Rest API Order lookups now return
updateTimewhich represents the last time the order was updated;timeis the order creation time. - Order lookup endpoints will now return
cummulativeQuoteQty. IfcummulativeQuoteQtyis < 0, it means the data isn't available for this order at this time. REQUESTSrate limit type changed toREQUEST_WEIGHT. This limit was always logically request weight and the previous name for it caused confusion.
User data stream
cummulativeQuoteQtyfield added to order responses and execution reports (as variableZ). Represents the cummulative amount of thequotethat has been spent (with aBUYorder) or received (with aSELLorder). Historical orders will have a value < 0 in this field indicating the data is not available at this time.cummulativeQuoteQtydivided bycummulativeQtywill give the average price for an order.O(order creation time) added to execution reports
2018-01-23
- GET /api/v1/historicalTrades weight decreased to 5
- GET /api/v1/aggTrades weight decreased to 1
- GET /api/v1/klines weight decreased to 1
- GET /api/v1/ticker/24hr all symbols weight decreased to number of trading symbols / 2
- GET /api/v3/allOrders weight decreased to 5
- GET /api/v3/myTrades weight decreased to 5
- GET /api/v3/account weight decreased to 5
- GET /api/v1/depth limit=500 weight decreased to 5
- GET /api/v1/depth limit=1000 weight decreased to 10
- -1003 error message updated to direct users to websockets
2018-01-20
- GET /api/v1/ticker/24hr single symbol weight decreased to 1
- GET /api/v3/openOrders all symbols weight decreased to number of trading symbols / 2
- GET /api/v3/allOrders weight decreased to 15
- GET /api/v3/myTrades weight decreased to 15
- GET /api/v3/order weight decreased to 1
- myTrades will now return both sides of a self-trade/wash-trade
2018-01-14
- GET /api/v1/aggTrades weight changed to 2
- GET /api/v1/klines weight changed to 2
- GET /api/v3/order weight changed to 2
- GET /api/v3/allOrders weight changed to 20
- GET /api/v3/account weight changed to 20
- GET /api/v3/myTrades weight changed to 20
- GET /api/v3/historicalTrades weight changed to 20