setShortSalesBan

Forbids short sales

POST api/setShortSalesBan

{ 
 "counterpartyId": 2, // counterpartyId or counterpartyGroup
 "currencyGroup": "fiat", // currencyId or currencyGroup
}

Request parameters

Field name
Type
Description

counterpartyId

Efx::ClientId

Optional. Counterparty Id

counterpartyGroup

string

Optional. Counterparty group if setting the rate for a group of counterparties. Values: 'all', 'externalTakers', 'externalMakers', 'externals', 'subaccountTaker', 'subaccountMaker', 'subaccounts'

currency

string

Optional. Currecny name

currencyGroup

string

Optional. CurrencyGroup if setting the rate for a group of currencies. Values: 'all', 'fiat', 'crypto', 'stablecoin'

Either 'counterpartyId' or 'counterpartyGroup' parameter should be set. Either 'currency' or 'currencyGroup' parameter should be set.

Last updated