setCLimit

Sets or modifies a counterparty limit

POST api/setCLimit

{
    "counterpartyId": 4,
    "currency": "EUR",
    "grossLimit": 15000000000000,
    "maintenanceMargin": 1000, // For makers and masters only
    "restrictedTrading": 1500, // For makers and masters only
    "initialMargin": 2000,     // For makers and masters only
    "takerMarkup": 100.        // For makers and masters only
}

Request parameters

Field nameTypeDescription

counterpartyId

Efx::ClientId

Counterparty Id

currency

string

Currency name

grossLimit

Efx::Size

Gross limit size

maintenaceMargin

unsigned int32

Optional. For makers and masters only! Maintenance margin level. In % multiplied by 1e4. From 0 to 1000000, that is 0% to 100% of gross limit.

restrictedTrading

unsigned int32

Optional. For makers and masters only! Restricted trading level. In % multiplied by 1e4. From 0 to 1000000, that is 0% to 100% of gross limit. Should be greater or equal to the maintenance margin.

initialMargin

unsigned int32

Optional. For makers and masters only! Initial margin level. In % multiplied by 1e4. From 0 to 1000000, that is 0% to 100% of gross limit. Should be greater or equal to the restricted trading level.

takerMarkup

int32

Optional. For makers and masters only! Set markup that is applied to your raw prices and, eventually, widens spread for the taker. In % multiplied by 1e4. From -100000 to 100000, that is from 10% to -10%

Only one limit could be set against the counterparty.

Setting the new limit will modify the existing one.

Last updated