Skip to main content
POST
/
rest
/
firm-position-limits
/
{firm_uuid}
Update Firm Position Limits
curl --request POST \
  --url https://api.exchange.fairx.net/rest/firm-position-limits/{firm_uuid} \
  --header 'CB-ACCESS-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "long_limit": 1000000,
  "short_limit": 500000,
  "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_limit
integer<int32>
required
Example:

1000000

short_limit
integer<int32>
required
Example:

500000

weekend_margin_multiplier
number<double>
required
Example:

2

Response

Successfully updated firm position limits

The response is of type string.