Skip to content

[EPIC] Options API Tools #4

@copyleftdev

Description

@copyleftdev

Depends On: #2, #1, #3

POLYMCP-005

Goals

  • Options contract discovery and details
  • Options chain with Greeks
  • Historical options data access
  • Snapshot of options activity

Implement MCP tools for Polygon.io Options API. Includes options contracts lookup, aggregates, trades, quotes, snapshots, and the options chain. Leverages patterns established in Stocks API tools.

Acceptance Criteria

AC-1

  • Given A user wants options contracts for a stock
  • When The get_options_contracts tool is called with underlying_ticker=AAPL
  • Then It returns list of contracts with ticker, expiration_date, strike_price, contract_type

AC-2

  • Given A user wants options aggregates
  • When The get_options_aggregates tool is called with options ticker
  • Then It returns OHLCV bars for the options contract

AC-3

  • Given A user wants options snapshot
  • When The get_options_snapshot tool is called with underlying=AAPL
  • Then It returns snapshot with greeks, implied_volatility, open_interest for each contract

Technical Context

Files:

  • src/tools/options/mod.rs
  • src/tools/options/contracts.rs
  • src/tools/options/aggregates.rs
  • src/tools/options/snapshots.rs

Out of Scope

  • Options pricing calculations
  • Greeks computation (use Polygon's)

Source: epics/04-options-tools.json
Content Hash: 07b340073bfbfbc3

Metadata

Metadata

Assignees

No one assigned

    Labels

    api:optionsPolygon Options API endpointscomponent:toolsMCP tool implementationsepicLarge feature containing multiple storiespriority:mediumNormal priority

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions