Skip to main content
POST
/
rest
/
v2
/
firm-position-limits
/
{firm_uuid}
V2 - Update Firm Position Limits
curl --request POST \
  --url https://api.exchange.fairx.net/rest/v2/firm-position-limits/{firm_uuid} \
  --header 'CB-ACCESS-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "long_daily_limit": 1000000,
  "short_daily_limit": 500000,
  "long_real_limit": 2000000,
  "short_real_limit": 1500000,
  "weekend_margin_multiplier": 2
}
'
"<string>"

Authorizations

CB-ACCESS-KEY
string
header
required

The key string of the API key for the request

Path Parameters

firm_uuid
string
required

The UUID of firm to update.

Example:

"f81d4fae-7dec-11d0-a765-00a0c91e6bf6"

Body

application/json

Parameters to update the specified firm's position limit

long_daily_limit
integer<int32>
Example:

1000000

short_daily_limit
integer<int32>
Example:

500000

long_real_limit
integer<int64>
Example:

2000000

short_real_limit
integer<int64>
Example:

1500000

weekend_margin_multiplier
number<double>
Example:

2

Response

Successfully updated firm position limits

The response is of type string.