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
}

Request parameters

Field name
Type
Description

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.

circle-info

Only one limit could be set against the counterparty.

Setting the new limit will modify the existing one.

Last updated