Skip to content
Market Data

Get Underlying Stock Option Trading/Position Statistics (Daily)

Query daily aggregated statistics for all option contracts under an underlying stock—total volume, total open interest, put/call ratios, etc. Supports timestamp-based pagination into history; used for volume/open-interest trend charts on the options analytics page.

GEThttps://api.lbkrs.com/v1/quote/option/volume_stats_daily

Parameters

counter_idstringqueryRequired

Underlying stock counter_id

timestampintegerqueryRequired

Timestamp; for the initial request pass the current time, for pagination pass (earliest loaded record's timestamp - 1)

line_numintegerqueryRequired

Maximum number of records to return in this request

directionintegerqueryOptional

Pagination direction:

  • 0 - Page toward historical data
  • 1 - Page toward latest data; default 0

01

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get underlying stock option trading/position statistics (daily)” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
statsarray<object>

Daily statistics list

Child attributes
underlying_counter_idstring

Underlying stock counter_id

timestampstring

Timestamp

total_volumestring

Total volume of all options under the underlying

total_put_volumestring

Total volume of put options under the underlying

total_call_volumestring

Total volume of call options under the underlying

put_call_volume_ratiostring

Put/Call volume ratio

total_open_intereststring

Total open interest of all options under the underlying

total_put_open_intereststring

Total open interest of put options under the underlying

total_call_open_intereststring

Total open interest of call options under the underlying

put_call_open_interest_ratiostring

Put/Call open interest ratio

Whale Docs