Skip to main content
Skip to content
Crypto Trading

When Only One Leg Fills: Cross-Exchange Exposure in 2027

A quoted spread does not complete two trades. DN’s original ledger shows how a partial hedge leaves inventory and changes the final result under an explicit unwind assumption.

Two copper bridge sections face each other across a visible gap above a deep blue surface.
Reading options: audio, text size & sections

What Matters: A cross-exchange hedge is an intended pair of trades until both legs actually fill. If a maker buy completes and only part of the hedge sale executes, the remaining inventory is exposed. DN’s synthetic example changes a fully paired +3.59920 result into −3.59936 after an adverse residual unwind. The difference comes from fills and prices, not a different signal.

A quoted spread can look attractive because it places a buy and a sell beside each other. The account experiences an event sequence. One instruction may fill first, another may fill partially, and the remainder may need a later decision. The interval between those events creates an exposure the original two-price comparison did not settle.

This is not a latency benchmark. There is no measured number of unhedged seconds in this article. The purpose is to reconcile what remains after specified fictional fills and to show how a later assumed unwind changes the cash ledger. The same method works even when the timing is unresolved: quantity does not disappear because the intended hedge was sent.

The documented strategy idea and this experiment

DN Evidence Block — checked 28 November 2026; author: Heath Muchena. DN reviewed Hummingbot’s cross-exchange market-making documentation and executed an independent three-event ledger. No Hummingbot strategy, exchange connector, account or funded trade was run. Prices, quantities and fees are authored teaching inputs.

Hummingbot’s V1 cross-exchange market-making guide describes maker orders on one market and opposite hedges on another after maker fills. It prioritises hedging filled quantity rather than waiting for profitability to improve. The guide labels its description an approximation and directs readers to the strategy code for exact behaviour. That scope matters: the ledger below is not a test of its implementation.

The transferable question is simple: what quantity has executed on each side? An instruction to sell ten units and a confirmed sale of four units are different records. A calculation that uses the requested hedge quantity as though it were already filled removes the very exposure an execution review needs to inspect.

Start with a fully paired reference

Suppose a fictional maker purchase buys ten base units at 100 quote units each. The total purchase is 1,000. A complete opposite sale at 100.4 would receive 1,004, producing four units of gross price difference. Assume a fee of two basis points on every executed notional, charged in quote currency.

The buy fee is 0.2 and the complete-sale fee is 0.2008. Deducting both leaves 4 − 0.4008 = 3.59920. This reference assumes both fills at the stated prices. It is neither an available arbitrage quote nor a prediction that the two trades can be completed together.

Fully paired fictional reference
EventBase unitsQuote cash before feeFee
Buy at 100+10−1,0000.20000
Sell at 100.4−10+1,0040.20080
Net0+40.40080 total

Now let only four hedge units fill

The maker buy is unchanged. The hedge sale executes four units at 100.4 and stops. It receives 401.6 before a 0.08032 fee. Six base units remain after netting the ten bought against the four sold. That residual is the first number the incident record should show.

Next, assume those six units can be sold at 99.2. This is an explicit fictional unwind, not a guaranteed emergency price. It receives 595.2 before a 0.11904 fee. Total sale proceeds are 996.8, below the 1,000 purchase cost. Gross price-change P&L is −3.2; total fees are 0.39936; net P&L is −3.59936.

Same maker fill, incomplete hedge and later assumed unwind
EventInventory changeQuote cash before feeFee
Maker buy, 10 at 100+10−1,0000.20000
Hedge fill, 4 at 100.4−4+401.60.08032
Residual unwind, 6 at 99.2−6+595.20.11904
Completed fictional sequence0−3.20.39936 total

The difference from the fully paired reference is −7.19856. The gross gap is 7.2 because six units sell 1.2 below the original hedge price. Fees are slightly lower on the smaller sale notional, offsetting 0.00144 of that gap. Keeping gross movements and fees separate makes the reconciliation exact instead of hiding the difference behind a rounded headline.

Use the residual-exposure ledger

One-leg fill exposure ledger

A fictional spot buy, partial hedge sale and assumed residual unwind. Prices and fees are teaching inputs, not venue quotes.

Works in your browser with your inputs. No account, data subscription or broker connection is required.

6 base units remain after the hedge. At the assumed unwind, the net result is -3.59936 quote units.

Unhedged quantity before unwind
6
Gross price-change result
-3.199999999999932
Total assumed fees
0.39936000000000005
Net after residual unwind
-3.599359999999932
Fully paired comparison
3.5991999999999997
Difference from paired case
-7.198559999999931
EventBase quantityQuote cash before feeFee
Maker buy10-10000.2
Partial hedge sale4401.60.08032
Assumed residual unwind6595.20.11904000000000002

No exchange, connector or Hummingbot strategy was run. The residual unwind is assumed executable.

Fees are charged in quote currency. Venue inventory, funding, transfers, gas, latency and subsequent market response are excluded.

The initial result is a worked example. Changing an input changes the stated scenario, not an exchange account or a verified market result.

Change the hedge-filled quantity and keep every other input fixed. At ten units hedged, the residual is zero and the unwind price has no effect. At zero hedged, all ten units depend on the assumed unwind. The tool rejects a hedge quantity larger than the maker buy because this illustration does not model overhedging or a new short position.

The inputs are hypothetical executed prices. The calculator does not decide whether a venue has enough liquidity, whether another hedge is pending or whether an unwind is appropriate. Its result is the accounting consequence of the supplied scenario. Keeping that boundary explicit makes it useful for education without turning it into an automated trading instruction.

Distinguish a mark from an actual unwind

Before the residual sale, the six remaining units can be valued at a reference price. That produces an unrealised mark, not sale proceeds. The example intentionally goes one step further and assumes a complete sale at 99.2, including its fee. If the residual never traded there, the final realised ledger would not exist as written.

An incident report should therefore separate current inventory, its chosen valuation and completed executions. A mark can help compare scenarios, but it cannot confirm that an exit succeeded. The distinction becomes consequential when the order book moves, the next order also fills partially or the selected reference is not executable for the remaining size.

Do not combine a simulated hedge fill with a real maker fill without labelling the mixed evidence. A single table can contain both, but each row needs its status. Otherwise an apparently reconciled total can quietly include cash that the account never received.

Net quantity is not the whole operational state

The calculator nets quantities across two fictional venues as an accounting comparison. It does not move assets between accounts. In a spot implementation, a sale on the second venue may require inventory already there. After the trades, the combined base exposure can be flat while the distribution of assets and cash across venues has changed.

That distinction affects the next cycle. Rebalancing can require transfers, conversions, fees or settlement time. The first paired trade does not prove that the process can repeat indefinitely with the same balances. A strategy-level study needs a per-venue ledger alongside the combined exposure record.

For derivatives, contract multipliers, settlement currency, collateral and hedge mode add other layers. Ten spot units and ten contracts are not automatically a matching hedge. This article assumes the same base unit on both legs so it can isolate incomplete execution rather than silently solving an instrument-identity problem.

What a partial-fill record should preserve

Evidence before interpreting an incomplete hedge
RecordQuestion it answers
Maker execution IDs and quantitiesWhat exposure actually began?
Hedge execution IDs and quantitiesHow much opposite exposure actually completed?
Open or unresolved hedge instructionsCould additional fills still arrive?
Per-venue balances and instrument unitsWhere are the assets and what do the quantities mean?
Residual valuation or completed unwindIs the reported amount a mark or received cash?
Fees in their actual currenciesWhat changes the net account result?

Sending another order before reconciling an unresolved one can create the opposite problem: excess hedging. The appropriate next action depends on the current state, not solely on the original target. An educational ledger can expose that dependency without prescribing an incident response for an unknown account.

Keep the comparison controlled

The fully paired reference and partial-hedge case share the same maker purchase, quantity and fee rule. They differ only in where six of the sale units execute. The 7.2 gross shortfall is therefore traceable to six multiplied by the 1.2 price difference. A smaller sale notional slightly reduces fees, which explains why the net gap is 7.19856 rather than exactly 7.2. This reconciliation would stop being sufficient if changing the hedge also changed later order sizes or strategy decisions. Those feedbacks need their own ledger. Similarly, a collection of successful paired trades omitting failed or incomplete attempts would not estimate the whole workflow. Retain incomplete attempts and their unresolved exposure in the denominator, even when they cannot yet be assigned a final realised result.

Methodology and practical limits

DN reran seven checks against independently calculated values: six residual units, −3.59936 after the assumed unwind, +3.59920 when fully paired, the zero-quantity boundary and invalid inputs. There is no random seed, historical market sample or estimated latency. The same inputs reproduce the same cash arithmetic.

The model excludes funding, transfers, gas, borrowing, venue balance restrictions, price impact and further partial fills. A real execution experiment would need those relevant inputs, exact software versions and observed event records. It should not borrow this simple example’s completed-unwind assumption without saying so.

Use the Crypto Scenario Lab to inspect alternative residual prices and the Research Desk to define a bounded workflow comparison. A spread becomes an outcome through actual fills. Until those fills reconcile, the intended pair remains an unfinished sequence.

Download the dated source and scenario record (JSON) · Download the reproducible calculation pack (ZIP).

Frequently asked questions

Does a submitted hedge remove exposure?

No. This ledger reduces exposure only by confirmed filled quantity.

What remains in the default example?

Ten units are bought and four sold on the hedge, leaving six units before the assumed unwind.

Is the unwind price guaranteed?

No. It is an authored scenario input; the model assumes the residual can be sold there.

Was Hummingbot tested?

No. DN inspected the documented strategy idea and ran a separate original calculation.

Primary sources and evidence

Editorial disclosure: This research explains documented capabilities and original worked examples. Inclusion does not imply endorsement, a commercial relationship or verified trading performance. No placement in this article was purchased.

Corrections and updates: Send source-backed corrections to press@decentralised.news. This 2027 edition was checked on 28 November 2026; documentation, permissions and product availability can change.

Get the most talked about stories directly in your inbox

Join the Decentralised News briefing for independent crypto, DeFi and AI analysis. No spam, unsubscribe anytime.