Skip to main content
Cross-venue margin (XVM) lets a Tplus account count an external account, the user’s account at an external venue, as margin collateral. A maker can quote on Tplus, hedge on the exchange, and have the hedge’s offset recognized on the Tplus side. Every supported asset on an external venue with XVM becomes quotable on Tplus. Hyperliquid is the only supported external venue today; support for more is under development.

Encumbrance levels

How much control the Tplus-side cross-venue margin adapter holds over the external account determines how much trust the integration needs: Today’s integration is bounded by venue limits (observe and veto). Full encumbrance, which enables permissionless cross-venue margin, is under development.

Adapter binding

A cross-venue margin adapter, a TEE service, holds the connection to the external venue and attests its code like every other Tplus component; the venue credentials it holds never leave the enclave. The user authorizes the adapter with an Ed25519-signed, replay-protected binding for the (venue, account) pair; only the bound adapter can report state for that pair.

XVM allocations and limits

The user assigns their balance at an external venue to one trading account with an XVM allocation. Additional margin posted to the account is the priced venue balance, capped at the venue limit. Creating an XVM allocation, or changing one so that it posts more margin, is unrestricted; modifying or deleting one in a way that posts less must pass an initial-margin re-check.
Example: if an external account has 120,000 USD of positive equity and a 100,000 USD venue limit (credit_limit), Tplus counts 100,000 USD. The venue limit is a per-user, per-venue cap set by the operator, not something the XVM allocation derives from the venue balance. It defaults to 1,000,000 USD and applies from the moment it changes: lowering it below the venue’s equity reduces the counted value immediately, which can leave a sub-account below maintenance margin and liquidatable in the ordinary way. A limit set for a venue you have not linked yet is kept and applied when the link is made, in place of the default. Example: with a venue equity of 120,000 USD, raising the limit from 100,000 USD to 150,000 USD counts the full 120,000 USD; lowering it to 40,000 USD counts 40,000 USD, and the other 80,000 USD stops counting as margin.

Margin treatment

External venue value enters the same margin calculations as collateral held on Tplus: IM checks price it at the worse of oracle and mark price for the user (pessimistic pricing), and MM checks price it like any other leg, at whichever of the two favours the user (optimistic pricing). Venue assets without valid prices, including circuit-broken ones, contribute zero.

Withdrawal control

The cross-venue margin adapter co-signs withdrawals from the external account. Before signing, the clearing engine simulates the post-withdrawal balance and approves only if every affected sub-account stays above maintenance margin.
Example: if a sub-account has 45,000 USD of MM surplus and an external withdrawal would reduce the counted value by 30,000 USD, the post-withdrawal surplus is 15,000 USD and the adapter can sign. If the withdrawal would reduce it by 50,000 USD, post-withdrawal surplus is -5,000 USD and the adapter refuses to co-sign.

Venue outages

If the cross-venue margin adapter disconnects or the venue becomes unreachable, the venue’s last known balance is locked and fades: maintenance and liquidation checks count it at a weight g that steps down from 1 to 0 over a per-venue curve, so an exchange outage does not trigger liquidation at once. Initial-margin checks leave a locked venue out entirely.
Example: a locked venue contribution of 75,000 USD counts at 75,000 USD * g in maintenance checks. If the outage persists until g reaches 0, the contribution becomes 0 USD until fresh venue state is available.