polygon-io / issues

Quickly track and report problems with polygon.io
29 stars 0 forks source link

REST API: Missing option contracts #242

Closed tennyspock closed 1 year ago

tennyspock commented 1 year ago

URL The RESTful API call you are making (please be sure to omit your API key) https://api.polygon.io/v3/reference/options/contracts?underlying_ticker=AAPL&expiration_date=2023-03-24&as_of=2023-03-22&order=asc&limit=1000&sort=ticker

Result What result are getting?

{
  "results": [
    ...
    {
      "cfi": "OCASPS",
      "contract_type": "call",
      "exercise_style": "american",
      "expiration_date": "2023-03-24",
      "primary_exchange": "BATO",
      "shares_per_contract": 100,
      "strike_price": 120,
      "ticker": "O:AAPL230324C00120000",
      "underlying_ticker": "AAPL"
    },
    {
      "cfi": "OCASPS",
      "contract_type": "call",
      "exercise_style": "american",
      "expiration_date": "2023-03-24",
      "primary_exchange": "BATO",
      "shares_per_contract": 100,
      "strike_price": 125,
      "ticker": "O:AAPL230324C00125000",
      "underlying_ticker": "AAPL"
    },
    {
      "cfi": "OCASPS",
      "contract_type": "call",
      "exercise_style": "american",
      "expiration_date": "2023-03-24",
      "primary_exchange": "BATO",
      "shares_per_contract": 100,
      "strike_price": 126,
      "ticker": "O:AAPL230324C00126000",
      "underlying_ticker": "AAPL"
    },
    {
      "cfi": "OCASPS",
      "contract_type": "call",
      "exercise_style": "american",
      "expiration_date": "2023-03-24",
      "primary_exchange": "BATO",
      "shares_per_contract": 100,
      "strike_price": 127,
      "ticker": "O:AAPL230324C00127000",
      "underlying_ticker": "AAPL"
    },
    {
      "cfi": "OCASPS",
      "contract_type": "call",
      "exercise_style": "american",
      "expiration_date": "2023-03-24",
      "primary_exchange": "BATO",
      "shares_per_contract": 100,
      "strike_price": 167.5,
      "ticker": "O:AAPL230324C00167500",
      "underlying_ticker": "AAPL"
    },
    {
      "cfi": "OCASPS",
      "contract_type": "call",
      "exercise_style": "american",
      "expiration_date": "2023-03-24",
      "primary_exchange": "BATO",
      "shares_per_contract": 100,
      "strike_price": 170,
      "ticker": "O:AAPL230324C00170000",
      "underlying_ticker": "AAPL"
    },
    ...
  ],
  "status": "OK",
  "request_id": "3814a95afdc6a089169739c7836aef4d",
  "count": 78
}

Expected Result A clear and concise description of what you expected to happen.

Call contracts for strike > $127.00 && strike < $167.5 are missing. Same issue for many other underlying symbols.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

tennyspock commented 1 year ago

It's fixed as of 04/15/2023