Skip to content
Longport Whale
Broker Contract

Edit Company Task Settlement

The inline "Modify Settlement" button on the Broker Contract list (clickable only when the cash/securities settlement date is on or after the bookkeeping date and the source is not an institutional reversal).

POSThttps://b-api.longbridge.xyz/billing/company_task_edit

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

task_idnumberrequired

Task ID

modify_actionnumberrequired

Modify Action. Options: 0 = Modify both cash and securities.; 1 = Cash-only adjustment.; 2 = Securities-only adjustment.

012

trade_amountstring

Trade Amount. Required when modify_action is 0/1; must not exceed the original trade_amount.

ibond_amountstring

IBond Amount

trade_quantitystring

Trade Quantity. Required when modify_action is 0 or 2; must not exceed the original trade_quantity.

expected_balance_settlement_datestring

Expected Balance Settlement Date. Format YYYYMMDD.

expected_equity_settlement_datestring

Expected Equity Settlement Date. Format YYYYMMDD.

trade_ledger_datenumberrequired

Trade Ledger Date. From getNearThreeLedgerDate, in YYYYMMDD format.

Responses

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

No nested fields

Whale Docs