Skip to content
Longport Whale
Index Haircut Management

Upsert Index Haircut

Submitted by the inline "Edit" form in the Index Haircut Management list; the field structure is the same as "Add index haircut" (see create_index_haircut.json in the same directory), plus an id. It changes live risk-control haircut rates.

POSThttps://b-api.longbridge.xyz/report/haircut/upsert_index_haircut

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

idnumberrequired

Config ID

counter_idstringrequired

Counter ID

haircutstringrequired

Haircut

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs