polygon-io / issues

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

Options Contracts vX Response Attributes: ticker #166

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi there, great to see polygon rolling out options data.

I have a question regarding the response attributes:

Query: https://api.polygon.io/vX/reference/options/contracts?underlying_ticker=AAPL&limit=1000&apiKey=*

Part of the received data: O:AAPL211015C00035000

So why is there this 'O:' in front of the actual contract identifier. Is this your addition to label options? I have not seen this somewhere else.

Thank you very much!

jrbell19 commented 2 years ago

Yes, the O: prefix indicates that it is an option contract. Similar to how we indicate C:{currency pair} and X:(crypto}

ghost commented 2 years ago

Thank you.