Skip to main content
POST
/
rest
/
v2
/
firm-product-limit
/
batch
Batch Set Firm Product Limit
curl --request POST \
  --url https://api.exchange.fairx.net/rest/v2/firm-product-limit/batch \
  --header 'Content-Type: application/json' \
  --data '
{
  "firm_uuid": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
  "firm_product_limits_requests": [
    {
      "product_code": "<string>",
      "trading_disabled": true,
      "trading24x7_disabled": true,
      "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": "BIPZ30",
    "product_name": "Bitcoin Perpetual Index Futures Dec 2030",
    "trading_disabled": false,
    "trading24x7_disabled": true,
    "long_daily_position_limit": 10000,
    "short_daily_position_limit": 15000,
    "long_real_position_limit": 15000,
    "short_real_position_limit": 20000
  }
]

Body

application/json

Product limit parameters

firm_uuid
string
Example:

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

firm_product_limits_requests
object[]

Response

Successfully created firm product limit

firm_uuid
string
Example:

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

product_code
string
Example:

"BIPZ30"

product_name
string
Example:

"Bitcoin Perpetual Index Futures Dec 2030"

trading_disabled
boolean
Example:

false

trading24x7_disabled
boolean
long_daily_position_limit
integer<int32>
Example:

10000

short_daily_position_limit
integer<int32>
Example:

15000

long_real_position_limit
integer<int64>
Example:

15000

short_real_position_limit
integer<int64>
Example:

20000