Skip to main content
POST
/
rest
/
v2
/
firm-product-limit
V2 - Set Firm Product Limits
curl --request POST \
  --url https://api.exchange.fairx.net/rest/v2/firm-product-limit \
  --header 'CB-ACCESS-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firm_uuid": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
  "product_code": "BIP",
  "trading_disabled": false,
  "trading24x7_disabled": false,
  "options_fill_protection_threshold": 123,
  "long_daily_position_limit": 123,
  "short_daily_position_limit": 123,
  "long_real_position_limit": 123,
  "short_real_position_limit": 123
}
'
{
  "firm_uuid": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
  "product_code": "BIP",
  "product_name": "Bitcoin Perpetual Index Futures Dec 2030",
  "trading_disabled": false,
  "trading24x7_disabled": false,
  "long_daily_position_limit": 123,
  "short_daily_position_limit": 123,
  "long_real_position_limit": 123,
  "short_real_position_limit": 123
}

Authorizations

CB-ACCESS-KEY
string
header
required

The key string of the API key for the request

Body

application/json

Product limit parameters

firm_uuid
string
Example:

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

product_code
string
Example:

"BIP"

trading_disabled
boolean
Example:

false

trading24x7_disabled
boolean
Example:

false

options_fill_protection_threshold
integer<int32>
long_daily_position_limit
integer<int32>
short_daily_position_limit
integer<int32>
long_real_position_limit
integer<int64>
short_real_position_limit
integer<int64>

Response

Successfully set firm product limit

firm_uuid
string
Example:

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

product_code
string
Example:

"BIP"

product_name
string
Example:

"Bitcoin Perpetual Index Futures Dec 2030"

trading_disabled
boolean
Example:

false

trading24x7_disabled
boolean
Example:

false

long_daily_position_limit
integer<int32>
short_daily_position_limit
integer<int32>
long_real_position_limit
integer<int64>
short_real_position_limit
integer<int64>