qs/addStream

POST api/qs/addStream

Creates a new quote stream, which is required to start quoting. There are two options: specify the taker IDs to receive the stream, or leave it unspecified, making the stream available to all connected counterparties (CPs).

Request

{
  "streamId": <UUID>,
  "instrument": <string>,
  "takers": <array[Efx::ClientId]>
}

Request Fields

Field
Type
Description

streamId

UUID

Stream ID, optional (generated by FM if not provided)

instrument

string

Instrument name, required

takers

array[Efx::ClientId]

Takers allowed to receive this stream, optional

Response

{
  "streamId": <UUID>,
  "error": <int>
}

Response Fields

Field
Type
Description

streamId

UUID

ID of the created stream, required if successful

error

int

Error code, required if the request failed

Last updated