Skip to content
Docs
Developers

Realtime API reference

Every public WebSocket channel, generated from the published AsyncAPI contract.

Realtime API

Edel Markets product WebSocket contract, version realtime-contract/v1. The reference lists 26 channels, generated from the published product AsyncAPI.

Connect to /streams/v1/ws on the WebSocket host supplied for your environment. The server sends a heartbeat every 10 seconds. After a sequence_gap or resync_required error, request a fresh snapshot and resubscribe. Connection, ticket and recovery rules are in WebSocket lifecycle.

ChannelAuthenticationSnapshot source
market.tradesnoneno REST snapshot — subscribe and replay from the stream
market.booknoneGET /v1/markets/{marketId}/book
market.tickernoneGET /v1/markets/{marketId}/stats
market.pricenoneno REST snapshot — subscribe and replay from the stream
market.fundingnoneGET /v1/markets/{marketId}/stats
market.statusnoneGET /v1/markets/{marketId}
market.candlesnoneGET /v1/markets/{marketId}/candles
account.ordersrealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}/orders
account.fillsrealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}/fills
account.durabilityrealtime ticket, sent in an auth frame before subscribingno REST snapshot — subscribe and replay from the stream
account.positionsrealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}/positions
account.pnlrealtime ticket, sent in an auth frame before subscribingno REST snapshot — subscribe and replay from the stream
account.marginrealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}
account.balancerealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}
account.withdrawalsrealtime ticket, sent in an auth frame before subscribingno REST snapshot — subscribe and replay from the stream
account.reconciliationrealtime ticket, sent in an auth frame before subscribingno REST snapshot — subscribe and replay from the stream
account.alertsrealtime ticket, sent in an auth frame before subscribingno REST snapshot — subscribe and replay from the stream
account.earningsrealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}/fee-share
account.agentsrealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}/agents/{deploymentId}/actions
account.depositsrealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}/xreserve-deposit
markets.pricesnoneno REST snapshot — subscribe and replay from the stream
system.statusnoneGET /v1/system/status
account.performancerealtime ticket, sent in an auth frame before subscribingno REST snapshot — subscribe and replay from the stream
account.fee-share-offersrealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}/fee-share-offers
account.xreserve-bridgerealtime ticket, sent in an auth frame before subscribingGET /v1/accounts/{accountId}/xreserve-deposit
account.settlementrealtime ticket, sent in an auth frame before subscribingno REST snapshot — subscribe and replay from the stream

market.trades

Public executed-trade updates. No authentication is required. Subscribe and use supported stream replay; this channel has no REST snapshot.

Authentication. none.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. RealtimeMarketTradePayload.

Source type. live.

market.book

Complete projected order-book snapshots containing the top price levels. No authentication is required. Replace the previous levels after validating sequence metadata; messages are not additive price-level deltas.

Authentication. none.

Snapshot. GET /v1/markets/{marketId}/book.

Messages. RealtimeMarketBookPayload.

Source type. projection.

market.ticker

The latest executed trade with 24-hour volume, change, high and low derived from one-minute candle data. No authentication is required. The newest ticker is replayed when a subscription is accepted.

Authentication. none.

Snapshot. GET /v1/markets/{marketId}/stats.

Messages. RealtimeMarketTickerPayload.

Source type. derived.

market.price

Market price observations, including the price fields and provider information defined by the payload. No authentication is required. Subscribe and use supported stream replay; this channel has no REST snapshot.

Authentication. none.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. RealtimeMarketPricePayload.

Source type. live.

market.funding

Updates from settled funding periods. No authentication is required. Use the payload fields to distinguish the reported funding state from an estimated future payment.

Authentication. none.

Snapshot. GET /v1/markets/{marketId}/stats.

Messages. RealtimeMarketFundingPayload.

Source type. live.

market.status

Projected market-status updates. No authentication is required. Only statuses currently used by markets produce updates.

Authentication. none.

Snapshot. GET /v1/markets/{marketId}.

Messages. RealtimeMarketStatusPayload.

Source type. projection.

market.candles

Index and trade candle updates derived from price observations and executed trades. No authentication is required. Select the required series when subscribing; mark candles are unavailable.

Authentication. none.

Snapshot. GET /v1/markets/{marketId}/candles.

Messages. RealtimeMarketCandlePayload.

Source type. live.

account.orders

Order lifecycle updates for the authenticated account. Authenticate with an account-bound realtime ticket before subscribing.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}/orders.

Messages. RealtimeAccountOrderPayload.

Source type. live.

account.fills

The authenticated account’s side of executed fills. Authenticate with an account-bound realtime ticket before subscribing.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}/fills.

Messages. RealtimeAccountFillPayload.

Source type. live.

account.durability

Off-chain durability progress for account-related records, including cash changes, funding settlement and trade activity. Frames identify the sequence source and covering group and storage-chain digests where provided. Authenticate with an account-bound realtime ticket before subscribing. Durability progress is distinct from Canton settlement confirmation.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. RealtimeAccountDurabilityPayload.

Source type. live.

account.positions

Position updates and risk-state changes for the authenticated account. Some updates contain position data with partial risk evidence; others indicate a risk-state change requiring reconciliation. Apply only the fields established by the payload and preserve incomplete state explicitly. Authenticate with an account-bound realtime ticket before subscribing.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}/positions.

Messages. RealtimeAccountPositionPayload.

Source type. live.

account.pnl

Position-related realized and unrealized PnL updates for the authenticated account. Authenticate with an account-bound realtime ticket before subscribing.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. RealtimeAccountPnlPayload.

Source type. live.

account.margin

Margin updates for the authenticated account. Subscribe without fromSequence to receive an initial account snapshot on the acceptance frame. For an account that has never received trading funds the snapshot has state account_never_funded, zero cash and margin and no positions; apply it before live frames and show Add funds first. Other engine failures refuse the subscription with retryable source_unavailable. Each update carries the account's absolute cash and margin after a position or cash change, including for accounts with no positions. A cash change can publish an update without advancing the account's trading sequence. Authenticate with an account-bound realtime ticket before subscribing.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}.

Messages. RealtimeAccountMarginPayload.

Source type. live.

account.balance

Signed cash changes from credited deposits, settled withdrawals and funding. Subscribe without fromSequence to receive an initial account snapshot on the acceptance frame; for an account that has never received trading funds it has state account_never_funded and zero balances. The resulting absolute cash balance, cashBalanceAtoms, follows on the account.margin channel, including for accounts with no positions; do not infer a complete current balance from a change alone. Authenticate with an account-bound realtime ticket before subscribing.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}.

Messages. RealtimeAccountBalancePayload.

Source type. live.

account.withdrawals

Withdrawal lifecycle updates for the authenticated account. Each update reports a status change, keeps status and adds publicStatus. A settled gateway status confirms the debit, not payout completion. After a reconnect, read the known withdrawal once for its current public status; paid means the payout reached your wallet. Do not resend the withdrawal. Authenticate with an account-bound realtime ticket before subscribing.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. RealtimeAccountWithdrawalPayload.

Source type. live.

account.reconciliation

Account reconciliation information. This channel is currently unavailable. An account-bound realtime ticket is required for private subscriptions.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. RealtimeAccountReconciliationPayload.

Source type. unavailable.

account.alerts

Account alert information. This channel is currently unavailable. An account-bound realtime ticket is required for private subscriptions.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. RealtimeAccountAlertPayload.

Source type. unavailable.

account.earnings

Payload schema: RealtimeAccountEarningsPayload. Authentication: realtime ticket, sent in an auth frame before subscribing. Source: Owner-private fee-share earnings for every program (referral, affiliate, promo). One frame arrives when a settlement is recorded, at each payout stage and when it is paid; each carries program, payoutStage and paid. Older affiliate settlement frames carry affiliateId and no program, and arrive only while the affiliate program is on. While the source is lost, subscriptions return source_unavailable. Reconnect with one fee-share earnings read..

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}/fee-share.

Messages. RealtimeAccountEarningsPayload.

Source type. projection.

account.agents

Payload schema: RealtimeAccountAgentPayload. Authentication: realtime ticket, sent in an auth frame before subscribing. Source: paper/live agent runtime audit actions, API owner deployment metadata and API owner funding receipts (both directions, one frame per committed step, and one more when a journal record lands on a credit that had none; credit is distinct from Canton settlement), each NOTIFYed in its writing transaction on its trusted notification rail and fanned to the owner account.

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}/agents/{deploymentId}/actions.

Messages. RealtimeAccountAgentPayload.

Source type. projection.

account.deposits

Payload schema: RealtimeAccountDepositPayload. Authentication: realtime ticket, sent in an auth frame before subscribing. Source: Owner-private xReserve progress, inbound USDCx offers and delegated arrival credits. A delegated_arrival frame reports a USDCx arrival moved into the trading account under the owner's deposit delegation; credited is terminal and is sent once the Canton deposit receipt exists. Inbound lifecycle frames report pending, removed or expired offers; accepted requires Canton acceptance, the deposit receipt and committed journal proof. Keep the highest lifecycleRevision for each account and instruction because independent producers can arrive out of order; accepted is terminal. Reconnect with one inbound offers snapshot and the xReserve deposit read. Production inbound acceptance is unavailable..

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}/xreserve-deposit.

Messages. RealtimeAccountDepositPayload.

Source type. projection.

markets.prices

Mark and index prices of every market in one public subscription. No authentication is required. The first frame after you subscribe is a snapshot with the latest price of every market. Later frames carry only the markets whose price changed. Prices are coalesced into one frame per 250 ms window and sent to every subscriber.

Authentication. none.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. RealtimeMarketsPricesPayload.

Source type. derived.

system.status

Venue status: what the venue can do right now. No authentication is required. The whole status is sent on subscribe and again on every change; nothing is sent while the status does not change.

Authentication. none.

Snapshot. GET /v1/system/status.

Messages. RealtimeSystemStatusPayload.

Source type. derived.

account.performance

Payload schema: AccountPerformanceSnapshot. Authentication: realtime ticket, sent in an auth frame before subscribing. Source: Subscribe without fromSequence to receive account-performance-snapshot/v1 with lifetime account and market totals, including closed positions, trading fees and signed funding paid. Each newer snapshot uses the same payload. Unavailable or inconsistent data refuses the subscription with retryable source_unavailable. Reconnect without fromSequence for a fresh snapshot; provide fromSequence to replay retained frames..

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. AccountPerformanceSnapshot.

Source type. live.

account.fee-share-offers

Payload schema: FeeShareOfferEvent. Authentication: realtime ticket, sent in an auth frame before subscribing. Source: Private wallet offer publication, exact ledger acceptance and deadline expiry, delivered only to the payee account. A reconnect reads one pending-offer snapshot. Expiry closes acceptance and never proves a payment or releases a reserve..

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}/fee-share-offers.

Messages. FeeShareOfferEvent.

Source type. projection.

account.xreserve-bridge

Payload schema: RealtimeXreserveBridgeStatePayload. Authentication: realtime ticket, sent in an auth frame before subscribing. Source: Owner-private xReserve onboarding state, read from the ledger as the owner's Party. The api follows Party updates from setup or a requested deposit read, publishing each observed absent, requested and active transition once; the bridge operator's agreement becoming visible makes it active. The state-only frame carries no recipient or Ethereum source. Reconnect with one xReserve deposit read..

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. GET /v1/accounts/{accountId}/xreserve-deposit.

Messages. RealtimeXreserveBridgeStatePayload.

Source type. projection.

account.settlement

Payload schema: RealtimeAccountSettlementPayload. Authentication: realtime ticket, sent in an auth frame before subscribing. Source: Account-private settlement batch transitions with the settled watermark, latest fill, signed pending collateral changes and the next fixed cut when known. A null cut has no countdown. Pending changes are not a withdrawable balance or a withdrawal authorization..

Authentication. realtime ticket, sent in an auth frame before subscribing.

Snapshot. no REST snapshot — subscribe and replay from the stream.

Messages. RealtimeAccountSettlementPayload.

Source type. projection.