Market data: options chain
stock_options_chainFetch a dual-source options chain for one expiry, matching contracts by strike and comparing Finviz and Yahoo volume/open interest to reveal whether both sources agree on open positioning.
Instructions
Dual-sourced options chain for one expiry.
Finviz and the TradingView provider's Yahoo options endpoint are both queried. Contracts are matched by strike and their volume/open-interest compared, so an agent can see whether the two sources agree on open positioning.
Args:
symbol: Underlying ticker.
expiry: YYYY-MM-DD; None uses each provider's nearest expiry.
Returns:
Envelope with data.calls/data.puts (Finviz, which carries full
greeks), the TradingView chain, and data.overlap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiry | No | ||
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||