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 27 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.
| Channel | Authentication | Snapshot source |
|---|---|---|
market.trades | none | no REST snapshot — subscribe and replay from the stream |
market.book | none | GET /v1/markets/{marketId}/book |
market.ticker | none | GET /v1/markets/{marketId}/stats |
market.price | none | no REST snapshot — subscribe and replay from the stream |
market.funding | none | GET /v1/markets/{marketId}/stats |
market.status | none | GET /v1/markets/{marketId} |
market.candles | none | GET /v1/markets/{marketId}/candles |
account.orders | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId}/orders |
account.fills | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId}/fills |
account.durability | realtime ticket, sent in an auth frame before subscribing | no REST snapshot — subscribe and replay from the stream |
account.positions | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId}/positions |
account.pnl | realtime ticket, sent in an auth frame before subscribing | no REST snapshot — subscribe and replay from the stream |
account.margin | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId} |
account.balance | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId} |
account.withdrawals | realtime ticket, sent in an auth frame before subscribing | no REST snapshot — subscribe and replay from the stream |
account.reconciliation | realtime ticket, sent in an auth frame before subscribing | no REST snapshot — subscribe and replay from the stream |
account.alerts | realtime ticket, sent in an auth frame before subscribing | no REST snapshot — subscribe and replay from the stream |
account.earnings | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId}/fee-share |
account.agents | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId}/agents/{deploymentId}/actions |
account.deposits | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId}/xreserve-deposit |
markets.prices | none | no REST snapshot — subscribe and replay from the stream |
system.status | none | GET /v1/system/status |
account.performance | realtime ticket, sent in an auth frame before subscribing | no REST snapshot — subscribe and replay from the stream |
account.fee-share-offers | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId}/fee-share-offers |
account.xreserve-bridge | realtime ticket, sent in an auth frame before subscribing | GET /v1/accounts/{accountId}/xreserve-deposit |
account.settlement | realtime ticket, sent in an auth frame before subscribing | no REST snapshot — subscribe and replay from the stream |
market.orderbook | none | GET /v2/markets/{symbol}/book |
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
Payload schema: RealtimeAccountBalancePayload. Authentication: realtime ticket, sent in an auth frame before subscribing. Source: watchBalance. With spot enabled, subscribe without fromSequence for one absolute frame per asset, then absolute balance changes with totalAtoms, lockedAtoms, heldAtoms and freeAtoms. The live settlement asset also carries markRevision, the second component of its version after the journal sequence. With spot disabled, a never-funded account receives the existing accountSnapshot on acceptance; cashBalanceAtoms follows on account.margin..
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
Private fee-share earnings across referral, affiliate and promotional programs. Authenticate with a realtime ticket. Updates identify program, payoutStage and paid at settlement and payout stages. Older affiliate-only frames may contain affiliateId without program when that program is enabled. An unavailable source refuses subscription with source_unavailable. After reconnecting, take one earnings snapshot.
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
Owner-private deposit and funding-intent progress. Authenticate with a realtime ticket. funding_intent updates carry fundingIntentId, status and lifecycleRevision through available, deposit_bound, consumed or cancelled; the last two are terminal. delegated_arrival reports movement under the owner's deposit delegation and becomes credited only after a confirmed deposit receipt. Inbound offers move through pending, removed, expired or accepted; acceptance requires both transfer and account-credit evidence. Keep the highest lifecycleRevision for each account and instruction because updates can arrive out of order. Accepted is terminal. After reconnecting, take one inbound-offers snapshot and the applicable deposit status 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.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.
market.orderbook
Payload schema: RealtimeMarketOrderbookPayload. Authentication: none. Source: the same engine read as market.book (once a second per market, read at the top 100 per side and trimmed to the limit each subscriber was granted: 1, 5, 10, 20, 25, 50 or 100, default 50), folded in memory by this realtime process: a snapshot on subscribe and every 30 s without change, then deltas of the changed levels; no replay.
Authentication. none.
Snapshot. GET /v2/markets/{symbol}/book.
Messages. RealtimeMarketOrderbookPayload.
Source type. derived.