For the complete documentation index, see llms.txt. This page is also available as Markdown.

Feed 'S' - Settlement orders

Settlement Orders Feed

Requests

{"event": "bind", "feed": "S", "feedId": "EUR"}

Use currency name or currency id as feedId value to subscribe to updates with currency1 or currency2 equal to particular currency. If feedId field is absent, no filter is applied.

{"event": "unbind", "feed": "S"}

Feed handling

settlementOrder = {
  "settlementOrderId": Efx::OrderId,
  "clientId": Efx::ClientId,
  "counterpartyId": Efx::ClientId,
  "createdAt": Efx::Timestamp,
  "comment": string,
  "flags": uint,
  "currency1": string,
  "size1": Efx::Size,
  "network1": string,  // optional
  "currency2": string, // optional
  "size2": Efx::Size,  // optional
  "network2": string   // optional
}

settlementDeal = {
  "settlementOrderId": Efx::OrderId,
  "clientId": Efx::ClientId,
  "counterpartyId": Efx::ClientId,
  "createdAt": Efx::Timestamp,
  "comment": string,
  "flags": uint,
  "currency1": string,
  "size1": Efx::Size,
  "network1": string,  // optional
  "currency2": string, // optional
  "size2": Efx::Size,  // optional
  "network2": string,  // optional
  "settlementId": Efx::DealId,
  "commitedAt": Efx::Timestamp
}

feed_id is copied from the subscription request and 0 if not provided.

Last updated