Skip to content
Longport Whale
Corp Action Rule

Save Option Rule

Submission for "Add/Edit" on the Corp Action Rule page; passing an id indicates an edit, otherwise it is an add.

POSThttps://b-api.longbridge.xyz/v1/option/save

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idstring

Rule ID. Passed in when editing.

change_tostringrequired

Change To

contract_multiplierstringrequired

Contract Multiplier

contract_sizestringrequired

Contract Size

counter_idstringrequired

Counter ID

new_multiplierstringrequired

New Multiplier

origin_option_symbolstringrequired

Origin Option Symbol

strike_divisorstringrequired

Strike Divisor

strike_price_exprstringrequired

Strike Price Expr

Responses

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

No nested fields

Whale Docs