Customer Report
Customer asked how to get historical option quotes over a date range using the Python SDK. The REST API supports date, from, and to parameters on /v1/options/quotes/, but the SDK's quotes() method does not expose them.
Reproduction
The REST API works correctly with date range parameters:
curl -s "https://api.marketdata.app/v1/options/quotes/AAPL261218C00250000/?from=2026-04-14&to=2026-04-18"
Returns 4 daily quotes as expected.
The Python SDK OptionsQuotesInput model (sdk-py/src/marketdata/input_types/options.py:131-143) only defines symbols — no date, from_date, or to_date fields:
class OptionsQuotesInput(BaseInputType):
model_config = BaseModelConfig
symbols: str | list[str] = Field(
description="A single symbol string or a list of symbol strings", min_length=1
)
Compare with OptionsChainInput in the same file, which does expose date, from_date, and to_date.
The SDK documentation (sdk/py/options/quotes.mdx) also does not mention these parameters.
Expected Behavior
The SDK should expose date, from_date, and to_date parameters on options.quotes(), matching the REST API.
Actual Behavior
Only symbols is accepted. Users cannot request historical date ranges through the SDK.
Severity
Low — workaround exists (use the REST API directly or use kwargs passthrough).
Suggested Next Steps
- Add
date, from_date, and to_date fields to OptionsQuotesInput in sdk-py/src/marketdata/input_types/options.py
- Update SDK documentation at
sdk/py/options/quotes.mdx to document these parameters
- Add examples showing date range usage
Customer Report
Customer asked how to get historical option quotes over a date range using the Python SDK. The REST API supports
date,from, andtoparameters on/v1/options/quotes/, but the SDK'squotes()method does not expose them.Reproduction
The REST API works correctly with date range parameters:
Returns 4 daily quotes as expected.
The Python SDK
OptionsQuotesInputmodel (sdk-py/src/marketdata/input_types/options.py:131-143) only definessymbols— nodate,from_date, orto_datefields:Compare with
OptionsChainInputin the same file, which does exposedate,from_date, andto_date.The SDK documentation (
sdk/py/options/quotes.mdx) also does not mention these parameters.Expected Behavior
The SDK should expose
date,from_date, andto_dateparameters onoptions.quotes(), matching the REST API.Actual Behavior
Only
symbolsis accepted. Users cannot request historical date ranges through the SDK.Severity
Low — workaround exists (use the REST API directly or use kwargs passthrough).
Suggested Next Steps
date,from_date, andto_datefields toOptionsQuotesInputinsdk-py/src/marketdata/input_types/options.pysdk/py/options/quotes.mdxto document these parameters