-
bitcoin $82105.423623 USD
1.53% -
ethereum $2450.135255 USD
3.92% -
tether $0.998720 USD
-0.01% -
bnb $730.284647 USD
1.87% -
xrp $1.339614 USD
2.68% -
usd-coin $0.999856 USD
-0.01% -
solana $106.273474 USD
4.10% -
tron $0.333992 USD
0.92% -
zcash $1226.171121 USD
12.26% -
hyperliquid $81.288422 USD
2.19% -
dogecoin $0.082255 USD
3.12% -
monero $560.080824 USD
4.45% -
chainlink $12.528568 USD
4.20% -
cardano $0.230972 USD
5.05% -
unus-sed-leo $9.031004 USD
0.04%
How to Check Whether a Binance Spot Order Is Partially Filled
Binance’s `PARTIALLY_FILLED` order status signals at least one execution has occurred while residual quantity remains open—immutable, monotonic, and reliably reflected in both REST `get_order` (≤100ms latency) and WebSocket `executionReport` streams.
Oct 16, 2026 at 07:40 am
Understanding Order Status Fields
1. The status field in Binance’s order response indicates the current lifecycle stage: NEW, PARTIALLY_FILLED, FILLED, CANCELED, or REJECTED.
2. A value of PARTIALLY_FILLED means at least one fill has occurred but the full origQty remains unexecuted.
3. This status is returned immediately upon the first partial execution, regardless of whether further fills are expected.
4. It persists until either the remaining quantity is fully executed or the order is manually canceled.
5. Status updates are delivered via REST response on get_order and streamed in real time through user data stream events.
Analyzing Execution Quantities
1. Compare executedQty against origQty: if executedQty is greater than zero but less than origQty, the order is partially filled.
2. Examine cummulativeQuoteQty — it reflects the total quote asset value matched so far and must be non-zero when partial fills exist.
3. Inspect the fills array: a non-empty list confirms at least one trade execution has taken place.
4. Each entry in fills contains price, qty, commission, and tradeId, providing granular evidence of partial execution.
5. Note that executedQty and cummulativeQuoteQty are string-typed decimal values; direct float comparison must be avoided to prevent precision loss.
Using the get_order API Endpoint
1. Call trade.get_order(symbol='BTCUSDT', orderId=123456789) with valid credentials and correct symbol casing.
2. Parse the data object inside the response — do not rely solely on top-level code or msg fields.
3. Extract status, executedQty, origQty, and fills from the nested data payload.
4. Validate numeric consistency: ensure executedQty ≤ origQty and cummulativeQuoteQty matches the sum of price × qty across all fills.
5. Treat any deviation from this invariant as an anomaly requiring manual reconciliation or upstream investigation.
Monitoring Through User Data Stream
1. Subscribe to the executionReport event under a valid user data stream WebSocket connection.
2. Filter messages where eventType equals executionReport and symbol matches the target trading pair.
3. Detect partial fills by checking for executionType equal to TRADE while orderStatus remains PARTIALLY_FILLED.
4. Accumulate lastExecutedQuantity and lastPrice from each executionReport to reconstruct fill history without polling.
5. Use eventTime to sequence fills chronologically and identify gaps or duplicate reports caused by network jitter or reconnection.
Frequently Asked Questions
Q: Can PARTIALLY_FILLED status revert to NEW after being reported?A: No. Binance’s order state machine is strictly monotonic. Once PARTIALLY_FILLED is issued, it transitions only to FILLED, CANCELED, or EXPIRED.
Q: Does get_orders_pending include partially filled orders?A: Yes. get_orders_pending returns all open orders, including those with PARTIALLY_FILLED status and remaining unfilled quantity.
Q: Is there a delay between a fill occurring and the status update appearing in get_order?A: Under normal conditions, the REST API reflects the latest state within 100 milliseconds. Higher latency may occur during exchange maintenance windows or regional API routing failures.
Q: What happens to the fills array when an order is canceled after partial execution?A: The fills array remains intact and unchanged. Cancellation affects only future execution; historical fills are immutable and preserved in the order record.
Disclaimer:info@kdj.com
The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!
If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.
- Bitcoin ETFs Face Headwinds as Pepeto, from Pepe's Cofounder, Bucks the Trend with Stellar Presale
- 2026-10-16 12:45:01
- Thailand Gears Up for Bitcoin & Ether ETFs Amidst Modest Inflow Expectations and Evolving Ether ETF Rules
- 2026-10-16 12:45:01
- Injective (INJ) Price Surges Amidst Institutional Adoption and Regulatory Milestones, Yet Wash Trading Looms
- 2026-10-16 12:50:01
- XRP News Surges with AI Payments Milestone, Traders Eyeing Pepeto's Presale Potential
- 2026-10-16 08:35:01
- CLARITY Act Hangs in Balance as Rep. Bryan Steil Faces Tight Wisconsin Election
- 2026-10-16 05:25:01
- Vitalik Buterin Declares zkEVM Speed Race Over, Urges Developers to Prioritize Security
- 2026-10-16 05:15:02
Related knowledge
How to Check the APR of USDT Flexible Savings on OKX
Oct 15,2026 at 10:00pm
Understanding APR in OKX Flexible Savings1. APR stands for Annual Percentage Rate and reflects the nominal yearly return on USDT deposits without comp...
How to Stop Copying a Trader on Bitget
Oct 16,2026 at 02:59am
Market Volatility Patterns1. Bitcoin price swings often exceed 15% within a 24-hour window during major macroeconomic announcements. 2. Altcoin indice...
How to Check Your Copy Trading Profit Share on Bybit
Oct 16,2026 at 10:19am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed schedule where block rewards are cut in half approximately every 210,000 blocks, or ro...
How to Check Whether a Binance Spot Order Is Partially Filled
Oct 16,2026 at 07:40am
Understanding Order Status Fields1. The status field in Binance’s order response indicates the current lifecycle stage: NEW, PARTIALLY_FILLED, FILLED,...
How to Sort Crypto Trading Pairs by 24-Hour Volume on KuCoin
Oct 16,2026 at 02:19am
Accessing the Trading Pairs Interface1. Navigate to the KuCoin official website and log in to your account using valid credentials. 2. Click on the Ma...
How to Check the Spot-Futures Price Difference on Gate.io
Oct 16,2026 at 01:59pm
Understanding Spot-Futures Basis on Gate.io1. The spot-futures price difference—commonly called the basis—is calculated as futures price minus spot in...
How to Check the APR of USDT Flexible Savings on OKX
Oct 15,2026 at 10:00pm
Understanding APR in OKX Flexible Savings1. APR stands for Annual Percentage Rate and reflects the nominal yearly return on USDT deposits without comp...
How to Stop Copying a Trader on Bitget
Oct 16,2026 at 02:59am
Market Volatility Patterns1. Bitcoin price swings often exceed 15% within a 24-hour window during major macroeconomic announcements. 2. Altcoin indice...
How to Check Your Copy Trading Profit Share on Bybit
Oct 16,2026 at 10:19am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed schedule where block rewards are cut in half approximately every 210,000 blocks, or ro...
How to Check Whether a Binance Spot Order Is Partially Filled
Oct 16,2026 at 07:40am
Understanding Order Status Fields1. The status field in Binance’s order response indicates the current lifecycle stage: NEW, PARTIALLY_FILLED, FILLED,...
How to Sort Crypto Trading Pairs by 24-Hour Volume on KuCoin
Oct 16,2026 at 02:19am
Accessing the Trading Pairs Interface1. Navigate to the KuCoin official website and log in to your account using valid credentials. 2. Click on the Ma...
How to Check the Spot-Futures Price Difference on Gate.io
Oct 16,2026 at 01:59pm
Understanding Spot-Futures Basis on Gate.io1. The spot-futures price difference—commonly called the basis—is calculated as futures price minus spot in...
See all articles














