Please note bitcoinpenguin does not support old browsers.
We recommend upgrading to the latest version of , , or .

bitcoinpenguin trading is not available in your region

AllXBTUSDT39691.0+4.48%XBTUSD39698.5+4.44%XBTEUR37444.0+3.62%XBTUSDTM2239800.0+4.06%XBTUSDTU2240366.5+5.01%XBTM2239909.0+4.91%XBTU2240324.5+4.80%XBTK2239768.5+4.68%XBTZ2240560.5+4.61%ADAUSDT0.8745+12.61%ADAUSD0.8757+12.44%ADAM220.00002200+7.32%APEUSDT16.440+17.30%AVAXUSDT67.958+14.93%AVAXUSD68.140+14.85%AXSUSD33.80+18.51%DEFIMEXTUSDT91.30+10.65%METAMEXTUSDT77.19+9.27%ALTMEXTUSDT98.20+9.51%BCHUSDT302.55+7.27%BCHUSD300.65+6.37%BNBUSDT402.14+4.32%BNBUSD402.30+4.66%DOGEUSDT0.13605+5.35%DOGEUSD0.13597+5.11%DOTUSDT16.262+8.62%DOTUSD16.312+8.86%EOSUSDT2.2169+9.04%EOSUSD2.2300+8.00%ETHUSDT2938.35+5.25%ETHUSD2942.95+5.26%ETHUSDTM222955.35+4.93%ETHUSDM223041.00+5.05%ETHM220.07415+0.83%FTMUSDT0.8686+13.71%GMTUSDT3.3500+0.30%GMTUSD3.3574+0.16%LINKUSDT11.455+2.45%LINKUSD12.083+7.98%LTCUSDT106.02+6.22%LTCUSD106.31+6.49%LUNAUSDT86.427+4.17%LUNAUSD87.102+4.84%MANAUSDT1.6623+9.97%MATICUSDT1.1843+8.52%NEARUSDT--.-+0.00%NEARUSD--.-+0.00%SANDUSDT2.4222+10.70%SOLUSDT93.95+9.78%SOLUSD94.08+9.59%SHIBUSDT0.000021643+5.07%XRPUSDT0.6505+6.95%XRPUSD0.6460+6.39%XRPM220.00001639+2.44%.BXBT39709.47+4.51%.BETH2941.06+5.35%.BVOL24H2.68+38.14%Funding: 06:32:57 @ 0.0100%Time: 5:27:02 AM UTC
Load Shedding

At bitcoinpenguin , one of the most frequent questions we receive is about the behaviour and inner workings of our load shedding function, also known as “overload”.

Submitting an Order

Order management requests (i.e. new/amend/cancel orders and leverage changes) are placed in a single processing queue, and processed by the bitcoinpenguin trading engine in the order they arrive (first-in-first-out). This ensures that all requests are executed in the order they are received.

During times of extraordinary demand, order management requests arrive faster than they can be processed. As the queue depth grows, requests joining the back of the queue will wait longer, which can result in traders waiting several seconds for their requests to be processed and receive a response.

To maintain acceptable response times for traders (i.e. less than a few seconds), the queue has a maximum depth after which new requests are immediately rejected with a 503 status code. This mechanism gives immediate feedback to traders who can then choose to resubmit or amend. Without a maximum queue depth (i.e. an unbounded queue), if the platform were to receive many order management requests in a short period of time, the queue would grow very long. With a long queue, response times for user requests could grow into the minutes. The load shedding mechanism is that exists specifically to prevent this from happening, and to keep response times reasonable for users.

Non-full Queue

When the queue of order management requests is not full, then new requests just join the back of the queue as usual.

Non Full Queue

Placing an order when the queue of outstanding requests is not full

Load Shedding

When the rate of order management requests received is higher than the rate at which they can be processed, the queue of outstanding requests becomes full. An order management request received at this time will be rejected and the user will be notified. Note: there is a specific subset of order management requests detailed below that are exempt from being load-shed, and will join the back of the queue as usual.

Full Queue

Placing an order when the queue of outstanding requests is full

The determination of which order management request is accepted and which is rejected is based purely on the depth of the queue at the time the request is received. If an empty slot is available at the time an order request is received, it is accepted and joins the back of the queue. Otherwise, it is rejected.

Requests Exempt from Load Shedding

bitcoinpenguin has enacted a policy whereby certain order management requests are accepted even if the queue has reached its maximum depth. This provides a backstop for traders who decide they would rather exit a position or remove orders during high-volatility periods. These actions are limited to and are summarised in the table below. Please note that all order management requests, including those exempt from being load-shed, join the back of the queue. If the queue is large, the time a request stays in queue before processing will increase. Exempt requests aren’t processed more quickly than any other request joining the queue.

Requests Exempt from Load Shedding Non-Exempt Requests
* Cancel Order (individual, bulk, and all)
* Close Limit Order (full position)
* Close Market Order (full position)
* New Order (except Exempt types)
* Amend Order
* Position Leverage/Margin Changes
* All Bulk Order Requests (API)

Exempt: Order Cancellation

Order Cancel

  • Web: Use the Cancel button under the Orders tab.
  • API: Cancel orders via DELETE /api/v1/order.

Exempt: Position Close Position Close

  • Web: Use either the Close or Market button under the Positions tab.
  • API: Use the “Close” execInst on POST /api/v1/order with no orderQty. The absence of a quantity, in combination with Close, is interpreted as your full position size. Close orders containing a quantity are subject to load shedding, as are bulk orders, even when only one is submitted.

Further Information

We are working daily to improve system performance and reduce the occurrences of load shedding. As we deliver enhancements and the throughput of the trading engine increases, the queue will process more quickly. With this additional performance, we periodically increase the maximum queue depth to allow more orders to be placed without being load-shed. We have done this three times in 2018 and once already in 2019.

We appreciate your support and use of bitcoinpenguin . As always, if you have questions or comments about this topic, please Contact Support.