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

instrumentMarkups

Returns a list of instrument markups.

POST api/instrumentMarkups

{
    "counterpartyId": 5
}
[
    [
        5,          // Counterparty id
        "BTC-USD",  // Instrument name
        1000,       // Bid markup
        2000,       // Ask markup
        "incoming"  // Flow direction
    ],
    [
        5,          // Counterparty id
        null,       // Default markup
        1000,       // Bid markup
        2000,       // Ask markup
        "outgoing"  // Flow direction
    ],
]
{
    "error": 2
}

Request parameters

Field name
Type
Description

counterpartyId

Efx::ClientID

Optional field shows instrument markups for selected counterparty.

Response description

Fiels name
Type
Description

Array of InstrumentMarkups

Array of instrument markups

InstrumentMarkups

Array[5]

0

Efx::ClientID

Counterparty id

1

optional<string>

Instrument name or null for default markup.

2

int

Bid markup value

3

int

Ask markup value

4

string

Liquidity flow direction: "incoming" or "outgoing"

Last updated