addInstrumentMarkups

Sets markups for instruments per counterparty. Reserved for market makers and masters only.

POST api/addInstrumentMarkups

The markup is applied to your raw prices and widens the spread. Set the markup in % multiplied by 1e4. The permitted range is from -100000 to 100000 (from 10% to -10%).

Instrument markup must be set for both sides. If the markup is not set for the instrument, the default counterparty markup will be used, see setCLimit.

{
    "counterpartyId": 5,
    "instrument": "BTC-USD",
    "bidMarkup": 1000,
    "askMarkup": 2000
}

Request parameters

Field name
Type
Description

counterpartyId

Efx::ClientID

Counteraprty id

instrument

string

Instrument name

bidMarkup

int

Bid markup value will be applied to bid orders of outgoing flow.

askMarkup

int

Ask markup value will be applied to ask orders of outgoing flow.

Last updated