cAssetLimits
Returns Counterparty limits by asset snapshot
POST api/cAssetLimits
{}[
[
1, // Counterparty id
"BTC", // Asset name
100000000, // Long position limit, may be null
200000000, // Short position limit, may be null
"BTC", // Limit currency
null, // CP's long position limit, may be null
null, // CP's short position limit, may be null
null, // CP's gross limit currency
],
[
1, // Counterparty id
"USD", // Asset name
15000000000, // Long position limit, may be null
20000000000, // Short position limit, may be null
"EUR", // Limit currency
12000000000, // CP's long position limit, may be null
null, // CP's short position limit, may be null
null, // CP's gross limit currency
],
[
2, // Counterparty id
"BTC", // Asset name
100000000, // Long position limit, may be null
0, // Short position limit, may be null
"BTC", // Limit currency
15000000000, // CP's long position limit, may be null
15000000000, // CP's short position limit, may be null
"USD", // CP's gross limit currency
]
]Request parameters
counterpartyId
Efx::ClientId
Optional. Returns limits by asset for specified counterparty. Returns limits by asset for all counterparties otherwise.
filter
string
Optional field for master accounts only (FM Liquidity Match). - absent or "all": returns all asset limits - "subaccounts": returns all asset limits with sub-accounts - "external": returns all asset limits with external counterparties
Response description
Array of cAssetLimits
Array of counterparty asset limits
cAssetLimit
Array[6]
0
Efx::ClientId
Counterparty Id
1
string
Asset for which the limit is set
2
Efx::Size | null
Your limit on counterparty's long position
3
Efx::Size | null
Your limit on counterparty's short position
4
string
Limit value currency
5
Efx::Size | null
Counterparty’s limit on your long position
6
Efx::Size | null
Counterparty’s limit on your short position
7
string
CP’s limit value currency. May be null.
Last updated