Skip to content
Longport Whale
Expiring Option Details

Expiry Options

Query the Expiry Options list.

POSThttps://b-api.longbridge.xyz/v1/datasets/holding_end_of_day_options

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

filtersobject

Filters

Child attributes
filters.aaidstring

Aaid

filters.trading_directionstring

Position Direction. Multi-select; submit as a comma-joined string. Allowed values are listed under enum.. Options: long call = Long Call; short call = Short Call; long put = Long Put; short put = Short Put

long callshort calllong putshort put

filters.option_idstring

Option Id

filters.price_statusstring

Price Status. Multi-select; submit as a comma-joined string. Allowed values are listed under enum.. Options: 1 = In the money; 2 = Out of the money; 0 = All

120

filters.margin_call_statusstring

Margin Call Status. Multi-select; submit as a comma-joined string. Allowed values are listed under enum.. Options: 0 = Not Triggered; 1 = Margin Call; 2 = Forceselling Call; 5 = Over Financing Call (Financing > Credit Limit); 7 = Option Exercise Force Call; 8 = Option Exercise Margin Call

012578

filters.is_exercise_preparestring

Cover Status. Multi-select; submit as a comma-joined string. Allowed values are listed under enum.. Options: 1 = Covered; 2 = Not Covered

12

filters.price_percent_sortstring

IMT Percentage(%)

pageinteger

Page

page_sizeinteger

Page Size

orderByarray<object>

Order By

Responses

HTTP 200Paginated list result.
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

List

totalintegerrequired

Total

Whale Docs