https://b-api.longbridge.xyz/clearing/marketsAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Enum: 1=Add, 2=Delete, 3=Modify.
Allowed values:
1- Add2- Delete3- Modify
1 · Add2 · Delete3 · Modify
0 on add (may be omitted); the existing record ID on edit/delete.
Values come from the clearing_markets_all dynamic enumeration.
Call GET /v1/datasets/refs/clearing_markets_all to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Settlement currency of the market.
USD · USDHKD · HKDSGD · SGDCNY · CNYAUD · AUDJPY · JPYGBP · GBPEUR · EURCNH · CNH
Whether this is an overnight market.
0 · No1 · Yes
Values come from the clearing_custodians dynamic enumeration.
Call GET /v1/datasets/refs/clearing_custodians to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Values come from the custodian_sub_positions dynamic enumeration.
Call GET /v1/datasets/refs/custodian_sub_positions to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Number of days the balance is carried back (T+N).
0 · 01 · 12 · 23 · 3
Number of days equity is carried back (T+N).
0 · 01 · 12 · 23 · 3
Whether this is the base (main) market for clearing.
0 · No1 · Yes
OTC day-end processing mode for the market.
0 · Normal Day-End Tasks1 · Simplified Day-End Tasks For OTC2 · Non-Day-End Process99 · Disabled
Whether the market depends on the public stock information library.
0 · Independent On Public Stock Information1 · Dependent On Public Stock Information
Filled in when a day-end process is selected; empty otherwise.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureNo nested fields
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields