(NEW 1.33) Apply Cash Distribution

POST {{URL_ORIGIN}}/api/operations/corporate-actions/apply-cash-distribution

Apply Cash Distribution API allows you to adjust active orders and current market data fields(not historical) in case of a Corporate Actions that results cash distributions (such as cash dividend).

Request Parameters:

FieldTypeDescription
instrumentIdStringfied numberInstrument ID to apply the cash distribution
amountStringfied DecimalCash Amount per share

Maximum 10 decimal places

Response:

FieldDescription
numberOfOrdersThe total number of active/suspended orders for the instrument before applying the corporate action
numberOfNewOrdersThe number of new orders generated for the corporate action
numberOfCancelledOrdersThe number of cancelled orders for the corporate action

Error Codes

CodeMessage
1System is unavailable
10001Permission denied
100Missing or invalid parameter: [FieldName]
100[FieldName] must be ≤ [maxLong/10^ fieldPrecision]
100[FieldName] must be ≥ [minLong/10^ fieldPrecision]
102Instrument trading is not allowed
102Trading is not allowed during auction call
102Trading is not allowed during crossing
102Instrument should be halted when market is open
102Apply Cash Distribution is not allowed when there is no Closing Price

Request Body

{"instrumentId"=>"77", "amount"=>"0.01"}

HEADERS

KeyDatatypeRequiredDescription
``null

RESPONSES

status: OK

{"numberOfOrders":"11","numberOfNewOrders":"7","numberOfCancelledOrders":"7"}