https://b-api.longbridge.xyz/v1/datasets/booking_calculated_contractsThis Dataset query is read-only. Use GET by default. If the encoded query parameters are too large, send the same parameters as a JSON body with POST to the same path.
Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Query parameters
Combines business filters. Omit a filter field to disable that filter.
Child attributes
Filters results by Contract No.
Filters results by Data Source.
Allowed values:
1- Trade2- Stock card3- Stock card (House)4- Backend5- Contract Amendments (Reverse)6- Contract Amendments (New)7- WTT Non-Day Trade8- Upstreaming File
1 · Trade2 · Stock card3 · Stock card (House)4 · Backend5 · Contract Amendments (Reverse)6 · Contract Amendments (New)7 · WTT Non-Day Trade8 · Upstreaming File
Filters results by Client.
Filters results by Ledger Date.
Child attributes
Inclusive lower bound of the filter range.
Inclusive upper bound of the filter range.
Filters results by Trade Date.
Child attributes
Inclusive lower bound of the filter range.
Inclusive upper bound of the filter range.
Filters results by Cash Settlement Date.
Child attributes
Inclusive lower bound of the filter range.
Inclusive upper bound of the filter range.
Filters results by Market.
Values are dynamic. Call GET /v1/datasets/refs/clearing_config_markets to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.
Filters results by Counter ID.
Filters results by Status.
Allowed values:
2- To Be Calculated3- To Be Charged4- To Be Settled5- Settlement Completed6- Equity settled1- Init-1- --
2 · To Be Calculated3 · To Be Charged4 · To Be Settled5 · Settlement Completed6 · Equity settled1 · Init-1 · --
Filters results by Settlement Channel.
Values are dynamic. Call GET /v1/datasets/refs/billing_settlement_channel to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.
Filters results by Trade Direction.
Allowed values:
1- Buy2- Sell
1 · Buy2 · Sell
Filters results by Settlement Batch No.
Filters results by Currency.
Values are dynamic. Call GET /v1/datasets/refs/tenant_currencies to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.
Filters results by Biz Type.
Values are dynamic. Call GET /v1/datasets/refs/billing_business_type to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.
Filters results by Long/Short.
Allowed values:
LONG- LongSHORT- Short
LONG · LongSHORT · Short
Page number to retrieve, starting from 1.
Number of records to return per page.
Responses
HTTP 200On success, returns paginated Settlement Transaction Record records together with pagination metadata such as the page number, page size, and total record count.codemessagedatadataobjectdata structureReturned value: List of list.
Child attributes
Returned value: Ledger Date. The date or time format follows the value returned by the API.
Returned value: Trade Date. The date or time format follows the value returned by the API.
Returned value: Data Source.
Raw value of datasource. The datasource field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Contract No.
Returned value: A/C No..
Raw value of aaid. The aaid field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Market.
Returned value: Position.
Returned value: Sub Account.
Returned value: Counter ID.
Returned value: Trade Direction.
Raw value of direction. The direction field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Trade Qty.
Returned value: Currency.
Returned value: Trade Amt.
Returned value: Bond Interest.
Returned value: Fee Receivable.
Returned value: Fee Discount.
Returned value: Fee After Discount.
Returned value: Calculated Amt.
Returned value: Billing Conf Version.
Returned value: Expected Settlement Date (Cash). The date or time format follows the value returned by the API.
Returned value: Expected Settlement Date (Qty). The date or time format follows the value returned by the API.
Returned value: Status.
Raw value of state. The state field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Actual Settlement Date. The date or time format follows the value returned by the API.
Returned value: Biz Type.
Raw value of biz_type. The biz_type field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Settlement Channel.
Raw value of settlement_channel. The settlement_channel field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Trade Phase.
Raw value of stage. The stage field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Broker.
Raw value of custodian_id. The custodian_id field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Security Type.
Raw value of security_type. The security_type field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Security Sub Type.
Raw value of security_category. The security_category field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Client Region.
Raw value of account_region. The account_region field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Client Location.
Raw value of account_location. The account_location field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Offset contract no.
Returned value: New contract no.
Returned value: Origin contract no.
Returned value: Currency Setl..
Returned value: Ex Rate.
Returned value: Contract ID.
Returned value: Last Updated.
Raw value of admin_id. The admin_id field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Creat Time. The date or time format follows the value returned by the API.
Returned value: Updated At. The date or time format follows the value returned by the API.
Returned value: Open/Close.
Returned value: Total number of matching records, used for pagination.
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