Skip to main content
POST
/
rest
/
v2
/
firm-product-limit
/
batch
V2 - Batch Set Firm Product Limits
curl --request POST \
  --url https://api.exchange.fairx.net/rest/v2/firm-product-limit/batch \
  --header 'CB-ACCESS-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firm_uuid": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
  "firm_product_limits_requests": [
    {
      "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

Batch product limit parameters

firm_uuid
string
Example:

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

firm_product_limits_requests
object[]

Response

Successfully set firm product limits for multiple products

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>