Title: strike_limit typed as float causes API request to fail
Problem
The strike_limit parameter on options.chain is typed as float, but the API expects an integer (it
represents a count of strikes, not a price). Including it in a request currently fails.
Reproduction
client.options.chain(symbol="AAPL", strike_limit=10)
# Pydantic coerces 10 → 10.0; API returns an error
Root cause
src/marketdata/input_types/options.py:67:
strike_limit: float | None = Field(
description="The strike limit to filter by", alias="strikeLimit", default=None
)
Suggested fix
Change the type annotation to int | None. Also update docs/options.md:201, which incorrectly documents it
as float.
Title:
strike_limittyped asfloatcauses API request to failProblem
The
strike_limitparameter onoptions.chainis typed asfloat, but the API expects an integer (itrepresents a count of strikes, not a price). Including it in a request currently fails.
Reproduction
Root cause
src/marketdata/input_types/options.py:67:Suggested fix
Change the type annotation to
int | None. Also updatedocs/options.md:201, which incorrectly documents itas
float.