github.com/polygon-io/client-go@v1.16.4/.polygon/rest.json (about)

     1  {
     2    "components": {
     3      "parameters": {
     4        "AggregateAdjusted": {
     5          "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
     6          "example": true,
     7          "in": "query",
     8          "name": "adjusted",
     9          "schema": {
    10            "type": "boolean"
    11          }
    12        },
    13        "AggregateDate": {
    14          "description": "The beginning date for the aggregate window.",
    15          "example": "2023-01-09",
    16          "in": "path",
    17          "name": "date",
    18          "required": true,
    19          "schema": {
    20            "type": "string"
    21          }
    22        },
    23        "AggregateLimitMax50000": {
    24          "description": "Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000.\nRead more about how limit is used to calculate aggregate results in our article on\n\u003ca href=\"https://polygon.io/blog/aggs-api-updates/\" target=\"_blank\" alt=\"Aggregate Data API Improvements\"\u003eAggregate Data API Improvements\u003c/a\u003e.\n",
    25          "example": 120,
    26          "in": "query",
    27          "name": "limit",
    28          "schema": {
    29            "type": "integer"
    30          }
    31        },
    32        "AggregateMultiplier": {
    33          "description": "The size of the timespan multiplier.",
    34          "example": 1,
    35          "in": "path",
    36          "name": "multiplier",
    37          "required": true,
    38          "schema": {
    39            "type": "integer"
    40          }
    41        },
    42        "AggregateSort": {
    43          "description": "Sort the results by timestamp.\n`asc` will return results in ascending order (oldest at the top),\n`desc` will return results in descending order (newest at the top).\n",
    44          "example": "asc",
    45          "in": "query",
    46          "name": "sort",
    47          "schema": {
    48            "enum": [
    49              "asc",
    50              "desc"
    51            ]
    52          }
    53        },
    54        "AggregateTimeFrom": {
    55          "description": "The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
    56          "example": "2023-01-09",
    57          "in": "path",
    58          "name": "from",
    59          "required": true,
    60          "schema": {
    61            "type": "string"
    62          }
    63        },
    64        "AggregateTimeTo": {
    65          "description": "The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
    66          "example": "2023-01-09",
    67          "in": "path",
    68          "name": "to",
    69          "required": true,
    70          "schema": {
    71            "type": "string"
    72          }
    73        },
    74        "AggregateTimespan": {
    75          "description": "The size of the time window.",
    76          "example": "day",
    77          "in": "path",
    78          "name": "timespan",
    79          "required": true,
    80          "schema": {
    81            "enum": [
    82              "second",
    83              "minute",
    84              "hour",
    85              "day",
    86              "week",
    87              "month",
    88              "quarter",
    89              "year"
    90            ],
    91            "type": "string"
    92          }
    93        },
    94        "CryptoTickerPathParam": {
    95          "description": "The ticker symbol of the currency pair.",
    96          "example": "X:BTCUSD",
    97          "in": "path",
    98          "name": "cryptoTicker",
    99          "required": true,
   100          "schema": {
   101            "type": "string"
   102          }
   103        },
   104        "ForexTickerPathParam": {
   105          "description": "The ticker symbol of the currency pair.",
   106          "example": "C:EURUSD",
   107          "in": "path",
   108          "name": "forexTicker",
   109          "required": true,
   110          "schema": {
   111            "type": "string"
   112          }
   113        },
   114        "GeneralTickerPathParam": {
   115          "description": "The ticker symbol of the asset.",
   116          "example": "AAPL",
   117          "in": "path",
   118          "name": "ticker",
   119          "required": true,
   120          "schema": {
   121            "type": "string"
   122          }
   123        },
   124        "IncludeOTC": {
   125          "description": "Include OTC securities in the response. Default is false (don't include OTC securities).\n",
   126          "in": "query",
   127          "name": "include_otc",
   128          "schema": {
   129            "type": "boolean"
   130          }
   131        },
   132        "IndicesAggregateTimeFrom": {
   133          "description": "The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
   134          "example": "2023-03-10",
   135          "in": "path",
   136          "name": "from",
   137          "required": true,
   138          "schema": {
   139            "type": "string"
   140          }
   141        },
   142        "IndicesAggregateTimeTo": {
   143          "description": "The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
   144          "example": "2023-03-10",
   145          "in": "path",
   146          "name": "to",
   147          "required": true,
   148          "schema": {
   149            "type": "string"
   150          }
   151        },
   152        "IndicesTickerPathParam": {
   153          "description": "The ticker symbol of Index.",
   154          "example": "I:NDX",
   155          "in": "path",
   156          "name": "indicesTicker",
   157          "required": true,
   158          "schema": {
   159            "type": "string"
   160          }
   161        },
   162        "LimitMax10000": {
   163          "description": "Limit the size of the response, max 10000.",
   164          "example": 100,
   165          "in": "query",
   166          "name": "limit",
   167          "schema": {
   168            "type": "integer"
   169          }
   170        },
   171        "LimitMax50000": {
   172          "description": "Limit the size of the response, max 50000 and default 5000.",
   173          "example": 10,
   174          "in": "query",
   175          "name": "limit",
   176          "schema": {
   177            "type": "integer"
   178          }
   179        },
   180        "LimitNoMax": {
   181          "description": "Limit the number of results.\n",
   182          "example": 5,
   183          "in": "query",
   184          "name": "limit",
   185          "schema": {
   186            "type": "integer"
   187          }
   188        },
   189        "OptionsTickerPathParam": {
   190          "description": "The ticker symbol of the options contract.",
   191          "example": "O:SPY251219C00650000",
   192          "in": "path",
   193          "name": "optionsTicker",
   194          "required": true,
   195          "schema": {
   196            "type": "string"
   197          }
   198        },
   199        "ReverseOrder": {
   200          "description": "Reverse the order of the results.\n",
   201          "example": true,
   202          "in": "query",
   203          "name": "reverse",
   204          "schema": {
   205            "type": "boolean"
   206          }
   207        },
   208        "SnapshotDirection": {
   209          "description": "The direction of the snapshot results to return.\n",
   210          "example": "gainers",
   211          "in": "path",
   212          "name": "direction",
   213          "required": true,
   214          "schema": {
   215            "enum": [
   216              "gainers",
   217              "losers"
   218            ],
   219            "type": "string"
   220          }
   221        },
   222        "StocksTickerPathParam": {
   223          "description": "Specify a case-sensitive ticker symbol. For example, AAPL represents Apple Inc.",
   224          "example": "AAPL",
   225          "in": "path",
   226          "name": "stocksTicker",
   227          "required": true,
   228          "schema": {
   229            "type": "string"
   230          }
   231        },
   232        "TickersQueryParam": {
   233          "description": "A case-sensitive comma separated list of tickers to get snapshots for. For example, AAPL,TSLA,GOOG. Empty string defaults to querying all tickers.",
   234          "in": "query",
   235          "name": "tickers",
   236          "schema": {
   237            "items": {
   238              "type": "string"
   239            },
   240            "type": "array"
   241          }
   242        }
   243      },
   244      "responses": {
   245        "Conflict": {
   246          "description": "Parameter is invalid or incorrect."
   247        },
   248        "DefaultError": {
   249          "description": "Unexpected error"
   250        },
   251        "NotFound": {
   252          "description": "The specified resource was not found"
   253        },
   254        "Unauthorized": {
   255          "description": "Unauthorized - Check our API Key and account status"
   256        }
   257      },
   258      "schemas": {
   259        "Adjusted": {
   260          "description": "Whether or not this response was adjusted for splits.",
   261          "type": "boolean"
   262        },
   263        "AskExchangeId": {
   264          "allOf": [
   265            {
   266              "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
   267              "type": "integer"
   268            },
   269            {
   270              "description": "Ask Exchange Id"
   271            }
   272          ]
   273        },
   274        "AskPrice": {
   275          "description": "The ask price.",
   276          "format": "double",
   277          "type": "number"
   278        },
   279        "AskSize": {
   280          "description": "The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price.",
   281          "type": "integer"
   282        },
   283        "BidExchangeId": {
   284          "allOf": [
   285            {
   286              "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
   287              "type": "integer"
   288            },
   289            {
   290              "description": "Bid Exchange Id"
   291            }
   292          ]
   293        },
   294        "BidPrice": {
   295          "description": "The bid price.",
   296          "format": "double",
   297          "type": "number"
   298        },
   299        "BidSize": {
   300          "description": "The bid size. This represents the number of round lot orders at the given bid price. The normal round lot size is 100 shares. A bid size of 2 means there are 200 shares for purchase at the given bid price.",
   301          "type": "integer"
   302        },
   303        "Close": {
   304          "description": "The close price for the symbol in the given time period.",
   305          "format": "double",
   306          "type": "number"
   307        },
   308        "CloseIndices": {
   309          "description": "The close value for the symbol in the given time period.",
   310          "format": "double",
   311          "type": "number"
   312        },
   313        "Company": {
   314          "properties": {
   315            "active": {
   316              "description": "Indicates if the security is actively listed.  If false, this means the company is no longer listed and cannot be traded.",
   317              "type": "boolean"
   318            },
   319            "bloomberg": {
   320              "description": "The Bloomberg guid for the symbol.",
   321              "type": "string"
   322            },
   323            "ceo": {
   324              "description": "The name of the company's current CEO.",
   325              "type": "string"
   326            },
   327            "cik": {
   328              "description": "The official CIK guid used for SEC database/filings.",
   329              "type": "string"
   330            },
   331            "country": {
   332              "description": "The country in which the company is registered.",
   333              "type": "string"
   334            },
   335            "description": {
   336              "description": "A description of the company and what they do/offer.",
   337              "type": "string"
   338            },
   339            "employees": {
   340              "description": "The approximate number of employees for the company.",
   341              "type": "integer"
   342            },
   343            "exchange": {
   344              "description": "The symbol's primary exchange.",
   345              "type": "string"
   346            },
   347            "exchangeSymbol": {
   348              "description": "The exchange code (id) of the symbol's primary exchange.",
   349              "type": "string"
   350            },
   351            "figi": {
   352              "description": "The OpenFigi project guid for the symbol. (\u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://openfigi.com/\"\u003ehttps://openfigi.com/\u003c/a\u003e)",
   353              "type": "string"
   354            },
   355            "hq_address": {
   356              "description": "The street address for the company's headquarters.",
   357              "type": "string"
   358            },
   359            "hq_country": {
   360              "description": "The country in which the company's headquarters is located.",
   361              "type": "string"
   362            },
   363            "hq_state": {
   364              "description": "The state in which the company's headquarters is located.",
   365              "type": "string"
   366            },
   367            "industry": {
   368              "description": "The industry in which the company operates.",
   369              "type": "string"
   370            },
   371            "lei": {
   372              "description": "The Legal Entity Identifier (LEI) guid for the symbol. (\u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/Legal_Entity_Identifier\"\u003ehttps://en.wikipedia.org/wiki/Legal_Entity_Identifier\u003c/a\u003e)",
   373              "type": "string"
   374            },
   375            "listdate": {
   376              "description": "The date that the symbol was listed on the exchange.",
   377              "format": "date",
   378              "type": "string"
   379            },
   380            "logo": {
   381              "description": "The URL of the entity's logo.",
   382              "type": "string"
   383            },
   384            "marketcap": {
   385              "description": "The current market cap for the company.",
   386              "type": "integer"
   387            },
   388            "name": {
   389              "description": "The name of the company/entity.",
   390              "type": "string"
   391            },
   392            "phone": {
   393              "description": "The phone number for the company. This is usually a corporate contact number.",
   394              "type": "string"
   395            },
   396            "sector": {
   397              "description": "The sector of the indsutry in which the symbol operates.",
   398              "type": "string"
   399            },
   400            "sic": {
   401              "description": "Standard Industrial Classification (SIC) id for the symbol. (\u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/Standard_Industrial_Classification\"\u003ehttps://en.wikipedia.org/wiki/Legal_Entity_Identifier\u003c/a\u003e)",
   402              "type": "integer"
   403            },
   404            "similar": {
   405              "description": "A list of ticker symbols for similar companies.",
   406              "items": {
   407                "description": "The exchange symbol that this item is traded under.",
   408                "type": "string"
   409              },
   410              "type": "array"
   411            },
   412            "symbol": {
   413              "description": "The exchange symbol that this item is traded under.",
   414              "type": "string"
   415            },
   416            "tags": {
   417              "items": {
   418                "description": "A list of words related to the company.",
   419                "type": "string"
   420              },
   421              "type": "array"
   422            },
   423            "type": {
   424              "description": "The type or class of the security.  (\u003ca alt=\"Full List of Ticker Types\" href=\"https://polygon.io/docs/stocks/get_v3_reference_tickers_types\"\u003eFull List of Ticker Types\u003c/a\u003e)",
   425              "type": "string"
   426            },
   427            "updated": {
   428              "description": "The last time this company record was updated.",
   429              "format": "date",
   430              "type": "string"
   431            },
   432            "url": {
   433              "description": "The URL of the company's website",
   434              "type": "string"
   435            }
   436          },
   437          "type": "object"
   438        },
   439        "ConditionTypeMap": {
   440          "properties": {
   441            "condition": {
   442              "description": "Polygon.io's mapping for condition codes.  For more information, see our \u003ca href=\"https://polygon.io/glossary/us/stocks/trade-conditions\" alt=\"Trade Conditions Glossary\" target=\"_blank\"\u003eTrade Conditions Glossary\u003c/a\u003e.\n",
   443              "type": "string"
   444            }
   445          },
   446          "type": "object"
   447        },
   448        "Conditions": {
   449          "description": "A list of condition codes.\n",
   450          "items": {
   451            "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
   452            "type": "integer"
   453          },
   454          "type": "array"
   455        },
   456        "Count": {
   457          "description": "The total number of results for this request.",
   458          "type": "integer"
   459        },
   460        "CryptoExchange": {
   461          "items": {
   462            "properties": {
   463              "id": {
   464                "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
   465                "type": "integer"
   466              },
   467              "market": {
   468                "description": "Market data type this exchange contains ( crypto only currently )",
   469                "type": "string"
   470              },
   471              "name": {
   472                "description": "Name of the exchange",
   473                "type": "string"
   474              },
   475              "type": {
   476                "description": "Type of exchange feed",
   477                "type": "string"
   478              },
   479              "url": {
   480                "description": "URL of this exchange",
   481                "type": "string"
   482              }
   483            },
   484            "required": [
   485              "id",
   486              "type",
   487              "market",
   488              "name",
   489              "url"
   490            ],
   491            "type": "object"
   492          },
   493          "type": "array"
   494        },
   495        "CryptoGroupedResults": {
   496          "properties": {
   497            "results": {
   498              "items": {
   499                "properties": {
   500                  "T": {
   501                    "description": "The exchange symbol that this item is traded under.",
   502                    "type": "string"
   503                  },
   504                  "c": {
   505                    "description": "The close price for the symbol in the given time period.",
   506                    "format": "double",
   507                    "type": "number"
   508                  },
   509                  "h": {
   510                    "description": "The highest price for the symbol in the given time period.",
   511                    "format": "double",
   512                    "type": "number"
   513                  },
   514                  "l": {
   515                    "description": "The lowest price for the symbol in the given time period.",
   516                    "format": "double",
   517                    "type": "number"
   518                  },
   519                  "n": {
   520                    "description": "The number of transactions in the aggregate window.",
   521                    "type": "integer"
   522                  },
   523                  "o": {
   524                    "description": "The open price for the symbol in the given time period.",
   525                    "format": "double",
   526                    "type": "number"
   527                  },
   528                  "t": {
   529                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
   530                    "type": "integer"
   531                  },
   532                  "v": {
   533                    "description": "The trading volume of the symbol in the given time period.",
   534                    "format": "double",
   535                    "type": "number"
   536                  },
   537                  "vw": {
   538                    "description": "The volume weighted average price.",
   539                    "format": "double",
   540                    "type": "number"
   541                  }
   542                },
   543                "required": [
   544                  "o",
   545                  "h",
   546                  "l",
   547                  "c",
   548                  "v",
   549                  "t",
   550                  "T"
   551                ],
   552                "type": "object"
   553              },
   554              "type": "array"
   555            }
   556          },
   557          "type": "object"
   558        },
   559        "CryptoHistoricTrades": {
   560          "properties": {
   561            "day": {
   562              "description": "The date that was evaluated from the request.",
   563              "format": "date",
   564              "type": "string"
   565            },
   566            "map": {
   567              "description": "A map for shortened result keys.",
   568              "type": "object"
   569            },
   570            "msLatency": {
   571              "description": "The milliseconds of latency for the query results.",
   572              "type": "integer"
   573            },
   574            "symbol": {
   575              "description": "The symbol pair that was evaluated from the request.",
   576              "type": "string"
   577            },
   578            "ticks": {
   579              "items": {
   580                "properties": {
   581                  "c": {
   582                    "description": "A list of condition codes.\n",
   583                    "items": {
   584                      "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
   585                      "type": "integer"
   586                    },
   587                    "type": "array"
   588                  },
   589                  "i": {
   590                    "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
   591                    "type": "string"
   592                  },
   593                  "p": {
   594                    "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
   595                    "format": "double",
   596                    "type": "number"
   597                  },
   598                  "s": {
   599                    "description": "The size of a trade (also known as volume).\n",
   600                    "format": "double",
   601                    "type": "number"
   602                  },
   603                  "t": {
   604                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
   605                    "type": "integer"
   606                  },
   607                  "x": {
   608                    "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
   609                    "type": "integer"
   610                  }
   611                },
   612                "required": [
   613                  "p",
   614                  "s",
   615                  "x",
   616                  "c",
   617                  "t",
   618                  "i"
   619                ],
   620                "type": "object"
   621              },
   622              "type": "array"
   623            }
   624          },
   625          "required": [
   626            "day",
   627            "map",
   628            "msLatency",
   629            "symbol",
   630            "ticks"
   631          ],
   632          "type": "object"
   633        },
   634        "CryptoLastTrade": {
   635          "properties": {
   636            "last": {
   637              "properties": {
   638                "conditions": {
   639                  "description": "A list of condition codes.\n",
   640                  "items": {
   641                    "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
   642                    "type": "integer"
   643                  },
   644                  "type": "array"
   645                },
   646                "exchange": {
   647                  "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
   648                  "type": "integer"
   649                },
   650                "price": {
   651                  "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
   652                  "format": "double",
   653                  "type": "number"
   654                },
   655                "size": {
   656                  "description": "The size of a trade (also known as volume).\n",
   657                  "format": "double",
   658                  "type": "number"
   659                },
   660                "timestamp": {
   661                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
   662                  "type": "integer"
   663                }
   664              },
   665              "required": [
   666                "conditions",
   667                "exchange",
   668                "price",
   669                "size",
   670                "timestamp"
   671              ],
   672              "type": "object"
   673            },
   674            "symbol": {
   675              "description": "The symbol pair that was evaluated from the request.",
   676              "type": "string"
   677            }
   678          },
   679          "required": [
   680            "symbol"
   681          ],
   682          "type": "object"
   683        },
   684        "CryptoOpenClose": {
   685          "properties": {
   686            "close": {
   687              "description": "The close price for the symbol in the given time period.",
   688              "format": "double",
   689              "type": "number"
   690            },
   691            "closingTrades": {
   692              "items": {
   693                "properties": {
   694                  "c": {
   695                    "description": "A list of condition codes.\n",
   696                    "items": {
   697                      "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
   698                      "type": "integer"
   699                    },
   700                    "type": "array"
   701                  },
   702                  "i": {
   703                    "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
   704                    "type": "string"
   705                  },
   706                  "p": {
   707                    "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
   708                    "format": "double",
   709                    "type": "number"
   710                  },
   711                  "s": {
   712                    "description": "The size of a trade (also known as volume).\n",
   713                    "format": "double",
   714                    "type": "number"
   715                  },
   716                  "t": {
   717                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
   718                    "type": "integer"
   719                  },
   720                  "x": {
   721                    "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
   722                    "type": "integer"
   723                  }
   724                },
   725                "required": [
   726                  "p",
   727                  "s",
   728                  "x",
   729                  "c",
   730                  "t",
   731                  "i"
   732                ],
   733                "type": "object"
   734              },
   735              "type": "array"
   736            },
   737            "day": {
   738              "description": "The date requested.",
   739              "format": "date",
   740              "type": "string"
   741            },
   742            "isUTC": {
   743              "description": "Whether or not the timestamps are in UTC timezone.",
   744              "type": "boolean"
   745            },
   746            "open": {
   747              "description": "The open price for the symbol in the given time period.",
   748              "format": "double",
   749              "type": "number"
   750            },
   751            "openTrades": {
   752              "items": {
   753                "properties": {
   754                  "c": {
   755                    "description": "A list of condition codes.\n",
   756                    "items": {
   757                      "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
   758                      "type": "integer"
   759                    },
   760                    "type": "array"
   761                  },
   762                  "i": {
   763                    "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
   764                    "type": "string"
   765                  },
   766                  "p": {
   767                    "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
   768                    "format": "double",
   769                    "type": "number"
   770                  },
   771                  "s": {
   772                    "description": "The size of a trade (also known as volume).\n",
   773                    "format": "double",
   774                    "type": "number"
   775                  },
   776                  "t": {
   777                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
   778                    "type": "integer"
   779                  },
   780                  "x": {
   781                    "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
   782                    "type": "integer"
   783                  }
   784                },
   785                "required": [
   786                  "p",
   787                  "s",
   788                  "x",
   789                  "c",
   790                  "t",
   791                  "i"
   792                ],
   793                "type": "object"
   794              },
   795              "type": "array"
   796            },
   797            "symbol": {
   798              "description": "The symbol pair that was evaluated from the request.",
   799              "type": "string"
   800            }
   801          },
   802          "required": [
   803            "symbol",
   804            "isUTC",
   805            "day",
   806            "open",
   807            "close",
   808            "openTrades",
   809            "closingTrades"
   810          ],
   811          "type": "object"
   812        },
   813        "CryptoSnapshotMinute": {
   814          "properties": {
   815            "c": {
   816              "description": "The close price for the symbol in the given time period.",
   817              "format": "double",
   818              "type": "number"
   819            },
   820            "h": {
   821              "description": "The highest price for the symbol in the given time period.",
   822              "format": "double",
   823              "type": "number"
   824            },
   825            "l": {
   826              "description": "The lowest price for the symbol in the given time period.",
   827              "format": "double",
   828              "type": "number"
   829            },
   830            "n": {
   831              "description": "The number of transactions in the aggregate window.",
   832              "type": "integer"
   833            },
   834            "o": {
   835              "description": "The open price for the symbol in the given time period.",
   836              "format": "double",
   837              "type": "number"
   838            },
   839            "t": {
   840              "description": "The Unix Msec timestamp for the start of the aggregate window.",
   841              "type": "integer"
   842            },
   843            "v": {
   844              "description": "The trading volume of the symbol in the given time period.",
   845              "format": "double",
   846              "type": "number"
   847            },
   848            "vw": {
   849              "description": "The volume weighted average price.",
   850              "format": "double",
   851              "type": "number"
   852            }
   853          },
   854          "required": [
   855            "o",
   856            "h",
   857            "l",
   858            "c",
   859            "v",
   860            "vw",
   861            "t",
   862            "n"
   863          ],
   864          "type": "object"
   865        },
   866        "CryptoSnapshotTicker": {
   867          "properties": {
   868            "ticker": {
   869              "properties": {
   870                "day": {
   871                  "description": "The most recent daily bar for this ticker.",
   872                  "properties": {
   873                    "c": {
   874                      "description": "The close price for the symbol in the given time period.",
   875                      "format": "double",
   876                      "type": "number"
   877                    },
   878                    "h": {
   879                      "description": "The highest price for the symbol in the given time period.",
   880                      "format": "double",
   881                      "type": "number"
   882                    },
   883                    "l": {
   884                      "description": "The lowest price for the symbol in the given time period.",
   885                      "format": "double",
   886                      "type": "number"
   887                    },
   888                    "o": {
   889                      "description": "The open price for the symbol in the given time period.",
   890                      "format": "double",
   891                      "type": "number"
   892                    },
   893                    "v": {
   894                      "description": "The trading volume of the symbol in the given time period.",
   895                      "format": "double",
   896                      "type": "number"
   897                    },
   898                    "vw": {
   899                      "description": "The volume weighted average price.",
   900                      "format": "double",
   901                      "type": "number"
   902                    }
   903                  },
   904                  "required": [
   905                    "o",
   906                    "h",
   907                    "l",
   908                    "c",
   909                    "v",
   910                    "vw"
   911                  ],
   912                  "type": "object"
   913                },
   914                "fmv": {
   915                  "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
   916                  "format": "double",
   917                  "type": "number"
   918                },
   919                "lastTrade": {
   920                  "allOf": [
   921                    {
   922                      "description": "The most recent trade for this ticker."
   923                    },
   924                    {
   925                      "properties": {
   926                        "c": {
   927                          "description": "The trade conditions.",
   928                          "items": {
   929                            "type": "integer"
   930                          },
   931                          "type": "array"
   932                        },
   933                        "i": {
   934                          "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
   935                          "type": "string"
   936                        },
   937                        "p": {
   938                          "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
   939                          "format": "double",
   940                          "type": "number"
   941                        },
   942                        "s": {
   943                          "description": "The size (volume) of the trade.",
   944                          "type": "number"
   945                        },
   946                        "t": {
   947                          "description": "The millisecond accuracy timestamp. This is the timestamp of when the trade was generated at the exchange.",
   948                          "type": "integer"
   949                        },
   950                        "x": {
   951                          "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
   952                          "type": "integer"
   953                        }
   954                      },
   955                      "required": [
   956                        "c",
   957                        "i",
   958                        "p",
   959                        "s",
   960                        "t",
   961                        "x"
   962                      ],
   963                      "type": "object"
   964                    }
   965                  ]
   966                },
   967                "min": {
   968                  "description": "The most recent minute bar for this ticker.",
   969                  "properties": {
   970                    "c": {
   971                      "description": "The close price for the symbol in the given time period.",
   972                      "format": "double",
   973                      "type": "number"
   974                    },
   975                    "h": {
   976                      "description": "The highest price for the symbol in the given time period.",
   977                      "format": "double",
   978                      "type": "number"
   979                    },
   980                    "l": {
   981                      "description": "The lowest price for the symbol in the given time period.",
   982                      "format": "double",
   983                      "type": "number"
   984                    },
   985                    "n": {
   986                      "description": "The number of transactions in the aggregate window.",
   987                      "type": "integer"
   988                    },
   989                    "o": {
   990                      "description": "The open price for the symbol in the given time period.",
   991                      "format": "double",
   992                      "type": "number"
   993                    },
   994                    "t": {
   995                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
   996                      "type": "integer"
   997                    },
   998                    "v": {
   999                      "description": "The trading volume of the symbol in the given time period.",
  1000                      "format": "double",
  1001                      "type": "number"
  1002                    },
  1003                    "vw": {
  1004                      "description": "The volume weighted average price.",
  1005                      "format": "double",
  1006                      "type": "number"
  1007                    }
  1008                  },
  1009                  "required": [
  1010                    "o",
  1011                    "h",
  1012                    "l",
  1013                    "c",
  1014                    "v",
  1015                    "vw",
  1016                    "t",
  1017                    "n"
  1018                  ],
  1019                  "type": "object"
  1020                },
  1021                "prevDay": {
  1022                  "description": "The previous day's bar for this ticker.",
  1023                  "properties": {
  1024                    "c": {
  1025                      "description": "The close price for the symbol in the given time period.",
  1026                      "format": "double",
  1027                      "type": "number"
  1028                    },
  1029                    "h": {
  1030                      "description": "The highest price for the symbol in the given time period.",
  1031                      "format": "double",
  1032                      "type": "number"
  1033                    },
  1034                    "l": {
  1035                      "description": "The lowest price for the symbol in the given time period.",
  1036                      "format": "double",
  1037                      "type": "number"
  1038                    },
  1039                    "o": {
  1040                      "description": "The open price for the symbol in the given time period.",
  1041                      "format": "double",
  1042                      "type": "number"
  1043                    },
  1044                    "v": {
  1045                      "description": "The trading volume of the symbol in the given time period.",
  1046                      "format": "double",
  1047                      "type": "number"
  1048                    },
  1049                    "vw": {
  1050                      "description": "The volume weighted average price.",
  1051                      "format": "double",
  1052                      "type": "number"
  1053                    }
  1054                  },
  1055                  "required": [
  1056                    "o",
  1057                    "h",
  1058                    "l",
  1059                    "c",
  1060                    "v",
  1061                    "vw"
  1062                  ],
  1063                  "type": "object"
  1064                },
  1065                "ticker": {
  1066                  "description": "The exchange symbol that this item is traded under.",
  1067                  "type": "string"
  1068                },
  1069                "todaysChange": {
  1070                  "description": "The value of the change from the previous day.",
  1071                  "format": "double",
  1072                  "type": "number"
  1073                },
  1074                "todaysChangePerc": {
  1075                  "description": "The percentage change since the previous day.",
  1076                  "format": "double",
  1077                  "type": "number"
  1078                },
  1079                "updated": {
  1080                  "description": "The last updated timestamp.",
  1081                  "type": "integer"
  1082                }
  1083              },
  1084              "required": [
  1085                "day",
  1086                "lastTrade",
  1087                "min",
  1088                "prevDay",
  1089                "ticker",
  1090                "todaysChange",
  1091                "todaysChangePerc",
  1092                "updated"
  1093              ],
  1094              "type": "object"
  1095            }
  1096          },
  1097          "type": "object"
  1098        },
  1099        "CryptoSnapshotTickerFullBook": {
  1100          "properties": {
  1101            "data": {
  1102              "properties": {
  1103                "askCount": {
  1104                  "description": "The combined total number of asks in the book.",
  1105                  "format": "double",
  1106                  "type": "number"
  1107                },
  1108                "asks": {
  1109                  "items": {
  1110                    "properties": {
  1111                      "p": {
  1112                        "description": "The price of this book level.",
  1113                        "format": "double",
  1114                        "type": "number"
  1115                      },
  1116                      "x": {
  1117                        "description": "A map of the exchange ID to number of shares at this price level.\n\u003cbr /\u003e\n\u003cbr /\u003e\n**Example:**\n\u003cbr /\u003e\n`{\n  \"p\": 16302.94,\n  \"x\": {\n    \"1\": 0.02859424,\n    \"6\": 0.023455\n  }\n}`\n\u003cbr /\u003e\n\u003cbr /\u003e\nIn this example, exchange ID 1 has 0.02859424 shares available at $16,302.94,\nand exchange ID 6 has 0.023455 shares at the same price level.\n",
  1118                        "type": "object"
  1119                      }
  1120                    },
  1121                    "required": [
  1122                      "p",
  1123                      "x"
  1124                    ],
  1125                    "type": "object"
  1126                  },
  1127                  "type": "array"
  1128                },
  1129                "bidCount": {
  1130                  "description": "The combined total number of bids in the book.",
  1131                  "format": "double",
  1132                  "type": "number"
  1133                },
  1134                "bids": {
  1135                  "items": {
  1136                    "properties": {
  1137                      "p": {
  1138                        "description": "The price of this book level.",
  1139                        "format": "double",
  1140                        "type": "number"
  1141                      },
  1142                      "x": {
  1143                        "description": "A map of the exchange ID to number of shares at this price level.\n\u003cbr /\u003e\n\u003cbr /\u003e\n**Example:**\n\u003cbr /\u003e\n`{\n  \"p\": 16302.94,\n  \"x\": {\n    \"1\": 0.02859424,\n    \"6\": 0.023455\n  }\n}`\n\u003cbr /\u003e\n\u003cbr /\u003e\nIn this example, exchange ID 1 has 0.02859424 shares available at $16,302.94,\nand exchange ID 6 has 0.023455 shares at the same price level.\n",
  1144                        "type": "object"
  1145                      }
  1146                    },
  1147                    "required": [
  1148                      "p",
  1149                      "x"
  1150                    ],
  1151                    "type": "object"
  1152                  },
  1153                  "type": "array"
  1154                },
  1155                "spread": {
  1156                  "description": "The difference between the best bid and the best ask price across exchanges.",
  1157                  "format": "double",
  1158                  "type": "number"
  1159                },
  1160                "ticker": {
  1161                  "description": "The exchange symbol that this item is traded under.",
  1162                  "type": "string"
  1163                },
  1164                "updated": {
  1165                  "description": "The last updated timestamp.",
  1166                  "type": "integer"
  1167                }
  1168              },
  1169              "required": [
  1170                "ticker",
  1171                "bids",
  1172                "asks",
  1173                "bidCount",
  1174                "askCount",
  1175                "spread",
  1176                "updated"
  1177              ],
  1178              "type": "object"
  1179            }
  1180          },
  1181          "type": "object"
  1182        },
  1183        "CryptoSnapshotTickers": {
  1184          "properties": {
  1185            "tickers": {
  1186              "items": {
  1187                "properties": {
  1188                  "day": {
  1189                    "description": "The most recent daily bar for this ticker.",
  1190                    "properties": {
  1191                      "c": {
  1192                        "description": "The close price for the symbol in the given time period.",
  1193                        "format": "double",
  1194                        "type": "number"
  1195                      },
  1196                      "h": {
  1197                        "description": "The highest price for the symbol in the given time period.",
  1198                        "format": "double",
  1199                        "type": "number"
  1200                      },
  1201                      "l": {
  1202                        "description": "The lowest price for the symbol in the given time period.",
  1203                        "format": "double",
  1204                        "type": "number"
  1205                      },
  1206                      "o": {
  1207                        "description": "The open price for the symbol in the given time period.",
  1208                        "format": "double",
  1209                        "type": "number"
  1210                      },
  1211                      "v": {
  1212                        "description": "The trading volume of the symbol in the given time period.",
  1213                        "format": "double",
  1214                        "type": "number"
  1215                      },
  1216                      "vw": {
  1217                        "description": "The volume weighted average price.",
  1218                        "format": "double",
  1219                        "type": "number"
  1220                      }
  1221                    },
  1222                    "required": [
  1223                      "o",
  1224                      "h",
  1225                      "l",
  1226                      "c",
  1227                      "v",
  1228                      "vw"
  1229                    ],
  1230                    "type": "object"
  1231                  },
  1232                  "fmv": {
  1233                    "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
  1234                    "format": "double",
  1235                    "type": "number"
  1236                  },
  1237                  "lastTrade": {
  1238                    "allOf": [
  1239                      {
  1240                        "description": "The most recent trade for this ticker."
  1241                      },
  1242                      {
  1243                        "properties": {
  1244                          "c": {
  1245                            "description": "The trade conditions.",
  1246                            "items": {
  1247                              "type": "integer"
  1248                            },
  1249                            "type": "array"
  1250                          },
  1251                          "i": {
  1252                            "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
  1253                            "type": "string"
  1254                          },
  1255                          "p": {
  1256                            "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
  1257                            "format": "double",
  1258                            "type": "number"
  1259                          },
  1260                          "s": {
  1261                            "description": "The size (volume) of the trade.",
  1262                            "type": "number"
  1263                          },
  1264                          "t": {
  1265                            "description": "The millisecond accuracy timestamp. This is the timestamp of when the trade was generated at the exchange.",
  1266                            "type": "integer"
  1267                          },
  1268                          "x": {
  1269                            "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
  1270                            "type": "integer"
  1271                          }
  1272                        },
  1273                        "required": [
  1274                          "c",
  1275                          "i",
  1276                          "p",
  1277                          "s",
  1278                          "t",
  1279                          "x"
  1280                        ],
  1281                        "type": "object"
  1282                      }
  1283                    ]
  1284                  },
  1285                  "min": {
  1286                    "description": "The most recent minute bar for this ticker.",
  1287                    "properties": {
  1288                      "c": {
  1289                        "description": "The close price for the symbol in the given time period.",
  1290                        "format": "double",
  1291                        "type": "number"
  1292                      },
  1293                      "h": {
  1294                        "description": "The highest price for the symbol in the given time period.",
  1295                        "format": "double",
  1296                        "type": "number"
  1297                      },
  1298                      "l": {
  1299                        "description": "The lowest price for the symbol in the given time period.",
  1300                        "format": "double",
  1301                        "type": "number"
  1302                      },
  1303                      "n": {
  1304                        "description": "The number of transactions in the aggregate window.",
  1305                        "type": "integer"
  1306                      },
  1307                      "o": {
  1308                        "description": "The open price for the symbol in the given time period.",
  1309                        "format": "double",
  1310                        "type": "number"
  1311                      },
  1312                      "t": {
  1313                        "description": "The Unix Msec timestamp for the start of the aggregate window.",
  1314                        "type": "integer"
  1315                      },
  1316                      "v": {
  1317                        "description": "The trading volume of the symbol in the given time period.",
  1318                        "format": "double",
  1319                        "type": "number"
  1320                      },
  1321                      "vw": {
  1322                        "description": "The volume weighted average price.",
  1323                        "format": "double",
  1324                        "type": "number"
  1325                      }
  1326                    },
  1327                    "required": [
  1328                      "o",
  1329                      "h",
  1330                      "l",
  1331                      "c",
  1332                      "v",
  1333                      "vw",
  1334                      "t",
  1335                      "n"
  1336                    ],
  1337                    "type": "object"
  1338                  },
  1339                  "prevDay": {
  1340                    "description": "The previous day's bar for this ticker.",
  1341                    "properties": {
  1342                      "c": {
  1343                        "description": "The close price for the symbol in the given time period.",
  1344                        "format": "double",
  1345                        "type": "number"
  1346                      },
  1347                      "h": {
  1348                        "description": "The highest price for the symbol in the given time period.",
  1349                        "format": "double",
  1350                        "type": "number"
  1351                      },
  1352                      "l": {
  1353                        "description": "The lowest price for the symbol in the given time period.",
  1354                        "format": "double",
  1355                        "type": "number"
  1356                      },
  1357                      "o": {
  1358                        "description": "The open price for the symbol in the given time period.",
  1359                        "format": "double",
  1360                        "type": "number"
  1361                      },
  1362                      "v": {
  1363                        "description": "The trading volume of the symbol in the given time period.",
  1364                        "format": "double",
  1365                        "type": "number"
  1366                      },
  1367                      "vw": {
  1368                        "description": "The volume weighted average price.",
  1369                        "format": "double",
  1370                        "type": "number"
  1371                      }
  1372                    },
  1373                    "required": [
  1374                      "o",
  1375                      "h",
  1376                      "l",
  1377                      "c",
  1378                      "v",
  1379                      "vw"
  1380                    ],
  1381                    "type": "object"
  1382                  },
  1383                  "ticker": {
  1384                    "description": "The exchange symbol that this item is traded under.",
  1385                    "type": "string"
  1386                  },
  1387                  "todaysChange": {
  1388                    "description": "The value of the change from the previous day.",
  1389                    "format": "double",
  1390                    "type": "number"
  1391                  },
  1392                  "todaysChangePerc": {
  1393                    "description": "The percentage change since the previous day.",
  1394                    "format": "double",
  1395                    "type": "number"
  1396                  },
  1397                  "updated": {
  1398                    "description": "The last updated timestamp.",
  1399                    "type": "integer"
  1400                  }
  1401                },
  1402                "required": [
  1403                  "day",
  1404                  "lastTrade",
  1405                  "min",
  1406                  "prevDay",
  1407                  "ticker",
  1408                  "todaysChange",
  1409                  "todaysChangePerc",
  1410                  "updated"
  1411                ],
  1412                "type": "object"
  1413              },
  1414              "type": "array"
  1415            }
  1416          },
  1417          "type": "object"
  1418        },
  1419        "CryptoTick": {
  1420          "properties": {
  1421            "c": {
  1422              "description": "A list of condition codes.\n",
  1423              "items": {
  1424                "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
  1425                "type": "integer"
  1426              },
  1427              "type": "array"
  1428            },
  1429            "i": {
  1430              "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
  1431              "type": "string"
  1432            },
  1433            "p": {
  1434              "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
  1435              "format": "double",
  1436              "type": "number"
  1437            },
  1438            "s": {
  1439              "description": "The size of a trade (also known as volume).\n",
  1440              "format": "double",
  1441              "type": "number"
  1442            },
  1443            "t": {
  1444              "description": "The Unix Msec timestamp for the start of the aggregate window.",
  1445              "type": "integer"
  1446            },
  1447            "x": {
  1448              "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
  1449              "type": "integer"
  1450            }
  1451          },
  1452          "required": [
  1453            "p",
  1454            "s",
  1455            "x",
  1456            "c",
  1457            "t",
  1458            "i"
  1459          ],
  1460          "type": "object"
  1461        },
  1462        "CryptoTradeExchange": {
  1463          "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
  1464          "type": "integer"
  1465        },
  1466        "Date": {
  1467          "oneOf": [
  1468            {
  1469              "format": "date-time",
  1470              "type": "string"
  1471            },
  1472            {
  1473              "format": "date",
  1474              "type": "string"
  1475            }
  1476          ]
  1477        },
  1478        "Exchange": {
  1479          "items": {
  1480            "properties": {
  1481              "code": {
  1482                "description": "A unique identifier for the exchange internal to Polygon.io.  This is not an industry code or ISO standard.",
  1483                "type": "string"
  1484              },
  1485              "id": {
  1486                "description": "The ID of the exchange.",
  1487                "type": "number"
  1488              },
  1489              "market": {
  1490                "description": "The market data type that this exchange contains.",
  1491                "type": "string"
  1492              },
  1493              "mic": {
  1494                "description": "The Market Identification Code or MIC as defined in ISO 10383 (\u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/Market_Identifier_Code\"\u003ehttps://en.wikipedia.org/wiki/Market_Identifier_Code\u003c/a\u003e).",
  1495                "type": "string"
  1496              },
  1497              "name": {
  1498                "description": "The name of the exchange.",
  1499                "type": "string"
  1500              },
  1501              "tape": {
  1502                "description": "The tape id of the exchange.",
  1503                "type": "string"
  1504              },
  1505              "type": {
  1506                "description": "The type of exchange.\n- TRF = Trade Reporting Facility\n- exchange = Reporting exchange on the tape\n",
  1507                "type": "string"
  1508              }
  1509            },
  1510            "type": "object"
  1511          },
  1512          "type": "array"
  1513        },
  1514        "ExchangeId": {
  1515          "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  1516          "type": "integer"
  1517        },
  1518        "Financial": {
  1519          "properties": {
  1520            "cashChange": {
  1521              "example": 7202000000,
  1522              "type": "integer"
  1523            },
  1524            "cashFlow": {
  1525              "example": 28293000000,
  1526              "type": "integer"
  1527            },
  1528            "costOfRevenue": {
  1529              "example": 54381000000,
  1530              "type": "integer"
  1531            },
  1532            "currentAssets": {
  1533              "example": 143810000000,
  1534              "type": "integer"
  1535            },
  1536            "currentCash": {
  1537              "example": 27491000000,
  1538              "type": "integer"
  1539            },
  1540            "currentDebt": {
  1541              "example": 18478000000,
  1542              "type": "integer"
  1543            },
  1544            "grossProfit": {
  1545              "example": 33912000000,
  1546              "type": "integer"
  1547            },
  1548            "netIncome": {
  1549              "example": 20065000000,
  1550              "type": "integer"
  1551            },
  1552            "operatingExpense": {
  1553              "example": 7638000000,
  1554              "type": "integer"
  1555            },
  1556            "operatingGainsLosses": {
  1557              "type": "number"
  1558            },
  1559            "operatingIncome": {
  1560              "example": 26274000000,
  1561              "type": "integer"
  1562            },
  1563            "operatingRevenue": {
  1564              "example": 88293000000,
  1565              "type": "integer"
  1566            },
  1567            "reportDate": {
  1568              "description": "Report Date",
  1569              "example": "2017-12-31T00:00:00.000Z",
  1570              "format": "date-time",
  1571              "type": "string"
  1572            },
  1573            "reportDateStr": {
  1574              "description": "Report date as non date format",
  1575              "example": "2017-12-31",
  1576              "type": "string"
  1577            },
  1578            "researchAndDevelopment": {
  1579              "example": 3407000000,
  1580              "type": "integer"
  1581            },
  1582            "shareholderEquity": {
  1583              "example": 140199000000,
  1584              "type": "integer"
  1585            },
  1586            "symbol": {
  1587              "description": "Stock Symbol",
  1588              "example": "AAPL",
  1589              "type": "string"
  1590            },
  1591            "totalAssets": {
  1592              "example": 406794000000,
  1593              "type": "integer"
  1594            },
  1595            "totalCash": {
  1596              "example": 77153000000,
  1597              "type": "integer"
  1598            },
  1599            "totalDebt": {
  1600              "example": 122400000000,
  1601              "type": "integer"
  1602            },
  1603            "totalLiabilities": {
  1604              "example": 266595000000,
  1605              "type": "integer"
  1606            },
  1607            "totalRevenue": {
  1608              "example": 88293000000,
  1609              "type": "integer"
  1610            }
  1611          },
  1612          "required": [
  1613            "symbol",
  1614            "reportDate",
  1615            "reportDateStr"
  1616          ],
  1617          "type": "object"
  1618        },
  1619        "Financials": {
  1620          "description": "Financials",
  1621          "properties": {
  1622            "EBITDAMargin": {
  1623              "format": "double",
  1624              "type": "number"
  1625            },
  1626            "accumulatedOtherComprehensiveIncome": {
  1627              "type": "integer"
  1628            },
  1629            "accumulatedRetainedEarningsDeficit": {
  1630              "type": "integer"
  1631            },
  1632            "assetTurnover": {
  1633              "type": "integer"
  1634            },
  1635            "assets": {
  1636              "type": "integer"
  1637            },
  1638            "assetsAverage": {
  1639              "type": "integer"
  1640            },
  1641            "assetsCurrent": {
  1642              "type": "integer"
  1643            },
  1644            "assetsNonCurrent": {
  1645              "type": "integer"
  1646            },
  1647            "averageEquity": {
  1648              "type": "integer"
  1649            },
  1650            "bookValuePerShare": {
  1651              "format": "double",
  1652              "type": "number"
  1653            },
  1654            "calendarDate": {
  1655              "example": "2019-03-31",
  1656              "format": "date-time",
  1657              "type": "string"
  1658            },
  1659            "capitalExpenditure": {
  1660              "type": "integer"
  1661            },
  1662            "cashAndEquivalents": {
  1663              "type": "integer"
  1664            },
  1665            "cashAndEquivalentsUSD": {
  1666              "type": "integer"
  1667            },
  1668            "consolidatedIncome": {
  1669              "type": "integer"
  1670            },
  1671            "costOfRevenue": {
  1672              "type": "integer"
  1673            },
  1674            "currentLiabilities": {
  1675              "type": "integer"
  1676            },
  1677            "currentRatio": {
  1678              "format": "double",
  1679              "type": "number"
  1680            },
  1681            "debt": {
  1682              "type": "integer"
  1683            },
  1684            "debtCurrent": {
  1685              "type": "integer"
  1686            },
  1687            "debtNonCurrent": {
  1688              "type": "integer"
  1689            },
  1690            "debtToEquityRatio": {
  1691              "format": "double",
  1692              "type": "number"
  1693            },
  1694            "debtUSD": {
  1695              "type": "integer"
  1696            },
  1697            "deferredRevenue": {
  1698              "type": "integer"
  1699            },
  1700            "deposits": {
  1701              "type": "integer"
  1702            },
  1703            "depreciationAmortizationAndAccretion": {
  1704              "type": "integer"
  1705            },
  1706            "dividendYield": {
  1707              "type": "integer"
  1708            },
  1709            "dividendsPerBasicCommonShare": {
  1710              "type": "integer"
  1711            },
  1712            "earningBeforeInterestTaxes": {
  1713              "type": "integer"
  1714            },
  1715            "earningBeforeInterestTaxesUSD": {
  1716              "type": "integer"
  1717            },
  1718            "earningsBeforeInterestTaxesDepreciationAmortization": {
  1719              "type": "integer"
  1720            },
  1721            "earningsBeforeInterestTaxesDepreciationAmortizationUSD": {
  1722              "type": "integer"
  1723            },
  1724            "earningsBeforeTax": {
  1725              "type": "integer"
  1726            },
  1727            "earningsPerBasicShare": {
  1728              "format": "double",
  1729              "type": "number"
  1730            },
  1731            "earningsPerBasicShareUSD": {
  1732              "format": "double",
  1733              "type": "number"
  1734            },
  1735            "earningsPerDilutedShare": {
  1736              "format": "double",
  1737              "type": "number"
  1738            },
  1739            "effectOfExchangeRateChangesOnCash": {
  1740              "type": "integer"
  1741            },
  1742            "enterpriseValue": {
  1743              "type": "integer"
  1744            },
  1745            "enterpriseValueOverEBIT": {
  1746              "type": "integer"
  1747            },
  1748            "enterpriseValueOverEBITDA": {
  1749              "format": "double",
  1750              "type": "number"
  1751            },
  1752            "foreignCurrencyUSDExchangeRate": {
  1753              "type": "integer"
  1754            },
  1755            "freeCashFlow": {
  1756              "type": "integer"
  1757            },
  1758            "freeCashFlowPerShare": {
  1759              "format": "double",
  1760              "type": "number"
  1761            },
  1762            "goodwillAndIntangibleAssets": {
  1763              "type": "integer"
  1764            },
  1765            "grossMargin": {
  1766              "format": "double",
  1767              "type": "number"
  1768            },
  1769            "grossProfit": {
  1770              "type": "integer"
  1771            },
  1772            "incomeTaxExpense": {
  1773              "type": "integer"
  1774            },
  1775            "interestExpense": {
  1776              "type": "integer"
  1777            },
  1778            "inventory": {
  1779              "type": "integer"
  1780            },
  1781            "investedCapital": {
  1782              "type": "integer"
  1783            },
  1784            "investedCapitalAverage": {
  1785              "type": "integer"
  1786            },
  1787            "investments": {
  1788              "type": "integer"
  1789            },
  1790            "investmentsCurrent": {
  1791              "type": "integer"
  1792            },
  1793            "investmentsNonCurrent": {
  1794              "type": "integer"
  1795            },
  1796            "issuanceDebtSecurities": {
  1797              "type": "integer"
  1798            },
  1799            "issuanceEquityShares": {
  1800              "type": "integer"
  1801            },
  1802            "liabilitiesNonCurrent": {
  1803              "type": "integer"
  1804            },
  1805            "marketCapitalization": {
  1806              "type": "integer"
  1807            },
  1808            "netCashFlow": {
  1809              "type": "integer"
  1810            },
  1811            "netCashFlowBusinessAcquisitionsDisposals": {
  1812              "type": "integer"
  1813            },
  1814            "netCashFlowFromFinancing": {
  1815              "type": "integer"
  1816            },
  1817            "netCashFlowFromInvesting": {
  1818              "type": "integer"
  1819            },
  1820            "netCashFlowFromOperations": {
  1821              "type": "integer"
  1822            },
  1823            "netCashFlowInvestmentAcquisitionsDisposals": {
  1824              "type": "integer"
  1825            },
  1826            "netIncome": {
  1827              "type": "integer"
  1828            },
  1829            "netIncomeCommonStock": {
  1830              "type": "integer"
  1831            },
  1832            "netIncomeCommonStockUSD": {
  1833              "type": "integer"
  1834            },
  1835            "netIncomeToNonControllingInterests": {
  1836              "type": "integer"
  1837            },
  1838            "netLossIncomeFromDiscontinuedOperations": {
  1839              "type": "integer"
  1840            },
  1841            "operatingExpenses": {
  1842              "type": "integer"
  1843            },
  1844            "operatingIncome": {
  1845              "type": "integer"
  1846            },
  1847            "paymentDividendsOtherCashDistributions": {
  1848              "type": "integer"
  1849            },
  1850            "payoutRatio": {
  1851              "type": "integer"
  1852            },
  1853            "period": {
  1854              "description": "Reporting period.",
  1855              "enum": [
  1856                "Q",
  1857                "T",
  1858                "QA",
  1859                "TA",
  1860                "Y",
  1861                "YA"
  1862              ],
  1863              "example": "Q",
  1864              "type": "string"
  1865            },
  1866            "preferredDividendsIncomeStatementImpact": {
  1867              "type": "integer"
  1868            },
  1869            "priceEarnings": {
  1870              "format": "double",
  1871              "type": "number"
  1872            },
  1873            "priceSales": {
  1874              "format": "double",
  1875              "type": "number"
  1876            },
  1877            "priceToBookValue": {
  1878              "format": "double",
  1879              "type": "number"
  1880            },
  1881            "priceToEarningsRatio": {
  1882              "format": "double",
  1883              "type": "number"
  1884            },
  1885            "priceToSalesRatio": {
  1886              "format": "double",
  1887              "type": "number"
  1888            },
  1889            "profitMargin": {
  1890              "format": "double",
  1891              "type": "number"
  1892            },
  1893            "propertyPlantEquipmentNet": {
  1894              "type": "integer"
  1895            },
  1896            "reportPeriod": {
  1897              "example": "2019-03-31",
  1898              "format": "date-time",
  1899              "type": "string"
  1900            },
  1901            "researchAndDevelopmentExpense": {
  1902              "type": "integer"
  1903            },
  1904            "returnOnAverageAssets": {
  1905              "type": "integer"
  1906            },
  1907            "returnOnAverageEquity": {
  1908              "type": "integer"
  1909            },
  1910            "returnOnInvestedCapital": {
  1911              "type": "integer"
  1912            },
  1913            "returnOnSales": {
  1914              "format": "double",
  1915              "type": "number"
  1916            },
  1917            "revenues": {
  1918              "type": "integer"
  1919            },
  1920            "revenuesUSD": {
  1921              "type": "integer"
  1922            },
  1923            "salesPerShare": {
  1924              "format": "double",
  1925              "type": "number"
  1926            },
  1927            "sellingGeneralAndAdministrativeExpense": {
  1928              "type": "integer"
  1929            },
  1930            "shareBasedCompensation": {
  1931              "type": "integer"
  1932            },
  1933            "shareFactor": {
  1934              "type": "integer"
  1935            },
  1936            "sharePriceAdjustedClose": {
  1937              "format": "double",
  1938              "type": "number"
  1939            },
  1940            "shareholdersEquity": {
  1941              "type": "integer"
  1942            },
  1943            "shareholdersEquityUSD": {
  1944              "type": "integer"
  1945            },
  1946            "shares": {
  1947              "type": "integer"
  1948            },
  1949            "tangibleAssetValue": {
  1950              "type": "integer"
  1951            },
  1952            "tangibleAssetsBookValuePerShare": {
  1953              "format": "double",
  1954              "type": "number"
  1955            },
  1956            "taxAssets": {
  1957              "type": "integer"
  1958            },
  1959            "taxLiabilities": {
  1960              "type": "integer"
  1961            },
  1962            "ticker": {
  1963              "description": "The exchange symbol that this item is traded under.",
  1964              "type": "string"
  1965            },
  1966            "totalLiabilities": {
  1967              "type": "integer"
  1968            },
  1969            "tradeAndNonTradePayables": {
  1970              "type": "integer"
  1971            },
  1972            "tradeAndNonTradeReceivables": {
  1973              "type": "integer"
  1974            },
  1975            "updated": {
  1976              "example": "1999-03-28",
  1977              "format": "date-time",
  1978              "type": "string"
  1979            },
  1980            "weightedAverageShares": {
  1981              "type": "integer"
  1982            },
  1983            "weightedAverageSharesDiluted": {
  1984              "type": "integer"
  1985            },
  1986            "workingCapital": {
  1987              "type": "integer"
  1988            }
  1989          },
  1990          "required": [
  1991            "ticker",
  1992            "exDate",
  1993            "paymentDate",
  1994            "ratio",
  1995            "tofactor",
  1996            "forfactor"
  1997          ],
  1998          "type": "object"
  1999        },
  2000        "Fmv": {
  2001          "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
  2002          "format": "double",
  2003          "type": "number"
  2004        },
  2005        "ForexConversion": {
  2006          "properties": {
  2007            "converted": {
  2008              "description": "The result of the conversion.",
  2009              "format": "double",
  2010              "type": "number"
  2011            },
  2012            "from": {
  2013              "description": "The \"from\" currency symbol.",
  2014              "type": "string"
  2015            },
  2016            "initialAmount": {
  2017              "description": "The amount to convert.",
  2018              "format": "double",
  2019              "type": "number"
  2020            },
  2021            "last": {
  2022              "properties": {
  2023                "ask": {
  2024                  "description": "The ask price.",
  2025                  "format": "double",
  2026                  "type": "number"
  2027                },
  2028                "bid": {
  2029                  "description": "The bid price.",
  2030                  "format": "double",
  2031                  "type": "number"
  2032                },
  2033                "exchange": {
  2034                  "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/forex/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  2035                  "type": "integer"
  2036                },
  2037                "timestamp": {
  2038                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2039                  "type": "integer"
  2040                }
  2041              },
  2042              "required": [
  2043                "ask",
  2044                "bid",
  2045                "exchange",
  2046                "timestamp"
  2047              ],
  2048              "type": "object"
  2049            },
  2050            "to": {
  2051              "description": "The \"to\" currency symbol.",
  2052              "type": "string"
  2053            }
  2054          },
  2055          "required": [
  2056            "from",
  2057            "to",
  2058            "initialAmount",
  2059            "converted"
  2060          ],
  2061          "type": "object"
  2062        },
  2063        "ForexExchangeId": {
  2064          "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/forex/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  2065          "type": "integer"
  2066        },
  2067        "ForexGroupedResults": {
  2068          "properties": {
  2069            "results": {
  2070              "items": {
  2071                "properties": {
  2072                  "T": {
  2073                    "description": "The exchange symbol that this item is traded under.",
  2074                    "type": "string"
  2075                  },
  2076                  "c": {
  2077                    "description": "The close price for the symbol in the given time period.",
  2078                    "format": "double",
  2079                    "type": "number"
  2080                  },
  2081                  "h": {
  2082                    "description": "The highest price for the symbol in the given time period.",
  2083                    "format": "double",
  2084                    "type": "number"
  2085                  },
  2086                  "l": {
  2087                    "description": "The lowest price for the symbol in the given time period.",
  2088                    "format": "double",
  2089                    "type": "number"
  2090                  },
  2091                  "n": {
  2092                    "description": "The number of transactions in the aggregate window.",
  2093                    "type": "integer"
  2094                  },
  2095                  "o": {
  2096                    "description": "The open price for the symbol in the given time period.",
  2097                    "format": "double",
  2098                    "type": "number"
  2099                  },
  2100                  "t": {
  2101                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2102                    "type": "integer"
  2103                  },
  2104                  "v": {
  2105                    "description": "The trading volume of the symbol in the given time period.",
  2106                    "format": "double",
  2107                    "type": "number"
  2108                  },
  2109                  "vw": {
  2110                    "description": "The volume weighted average price.",
  2111                    "format": "double",
  2112                    "type": "number"
  2113                  }
  2114                },
  2115                "required": [
  2116                  "o",
  2117                  "h",
  2118                  "l",
  2119                  "c",
  2120                  "v",
  2121                  "t",
  2122                  "T"
  2123                ],
  2124                "type": "object"
  2125              },
  2126              "type": "array"
  2127            }
  2128          },
  2129          "type": "object"
  2130        },
  2131        "ForexHistoricTrades": {
  2132          "properties": {
  2133            "day": {
  2134              "description": "The date that was evaluated from the request.",
  2135              "format": "date",
  2136              "type": "string"
  2137            },
  2138            "map": {
  2139              "description": "A map for shortened result keys.",
  2140              "type": "object"
  2141            },
  2142            "msLatency": {
  2143              "description": "The milliseconds of latency for the query results.",
  2144              "type": "integer"
  2145            },
  2146            "pair": {
  2147              "description": "The currency pair that was evaluated from the request.",
  2148              "type": "string"
  2149            },
  2150            "ticks": {
  2151              "items": {
  2152                "properties": {
  2153                  "a": {
  2154                    "description": "The ask price.",
  2155                    "format": "double",
  2156                    "type": "number"
  2157                  },
  2158                  "b": {
  2159                    "description": "The bid price.",
  2160                    "format": "double",
  2161                    "type": "number"
  2162                  },
  2163                  "t": {
  2164                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2165                    "type": "integer"
  2166                  },
  2167                  "x": {
  2168                    "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/forex/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  2169                    "type": "integer"
  2170                  }
  2171                },
  2172                "required": [
  2173                  "a",
  2174                  "b",
  2175                  "x",
  2176                  "t"
  2177                ],
  2178                "type": "object"
  2179              },
  2180              "type": "array"
  2181            }
  2182          },
  2183          "required": [
  2184            "day",
  2185            "map",
  2186            "msLatency",
  2187            "pair",
  2188            "ticks"
  2189          ],
  2190          "type": "object"
  2191        },
  2192        "ForexPairLastQuote": {
  2193          "properties": {
  2194            "last": {
  2195              "properties": {
  2196                "ask": {
  2197                  "description": "The ask price.",
  2198                  "format": "double",
  2199                  "type": "number"
  2200                },
  2201                "bid": {
  2202                  "description": "The bid price.",
  2203                  "format": "double",
  2204                  "type": "number"
  2205                },
  2206                "exchange": {
  2207                  "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/forex/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  2208                  "type": "integer"
  2209                },
  2210                "timestamp": {
  2211                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2212                  "type": "integer"
  2213                }
  2214              },
  2215              "required": [
  2216                "ask",
  2217                "bid",
  2218                "exchange",
  2219                "timestamp"
  2220              ],
  2221              "type": "object"
  2222            },
  2223            "symbol": {
  2224              "description": "The symbol pair that was evaluated from the request.",
  2225              "type": "string"
  2226            }
  2227          },
  2228          "required": [
  2229            "symbol"
  2230          ],
  2231          "type": "object"
  2232        },
  2233        "ForexPreviousClose": {
  2234          "properties": {
  2235            "results": {
  2236              "items": {
  2237                "properties": {
  2238                  "T": {
  2239                    "description": "The exchange symbol that this item is traded under.",
  2240                    "type": "string"
  2241                  },
  2242                  "c": {
  2243                    "description": "The close price for the symbol in the given time period.",
  2244                    "format": "double",
  2245                    "type": "number"
  2246                  },
  2247                  "h": {
  2248                    "description": "The highest price for the symbol in the given time period.",
  2249                    "format": "double",
  2250                    "type": "number"
  2251                  },
  2252                  "l": {
  2253                    "description": "The lowest price for the symbol in the given time period.",
  2254                    "format": "double",
  2255                    "type": "number"
  2256                  },
  2257                  "n": {
  2258                    "description": "The number of transactions in the aggregate window.",
  2259                    "type": "integer"
  2260                  },
  2261                  "o": {
  2262                    "description": "The open price for the symbol in the given time period.",
  2263                    "format": "double",
  2264                    "type": "number"
  2265                  },
  2266                  "t": {
  2267                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2268                    "type": "integer"
  2269                  },
  2270                  "v": {
  2271                    "description": "The trading volume of the symbol in the given time period.",
  2272                    "format": "double",
  2273                    "type": "number"
  2274                  },
  2275                  "vw": {
  2276                    "description": "The volume weighted average price.",
  2277                    "format": "double",
  2278                    "type": "number"
  2279                  }
  2280                },
  2281                "required": [
  2282                  "T",
  2283                  "v",
  2284                  "o",
  2285                  "c",
  2286                  "h",
  2287                  "l",
  2288                  "t"
  2289                ],
  2290                "type": "object"
  2291              },
  2292              "type": "array"
  2293            }
  2294          },
  2295          "type": "object"
  2296        },
  2297        "ForexSnapshotLastQuote": {
  2298          "properties": {
  2299            "a": {
  2300              "description": "The ask price.",
  2301              "format": "double",
  2302              "type": "number"
  2303            },
  2304            "b": {
  2305              "description": "The bid price.",
  2306              "format": "double",
  2307              "type": "number"
  2308            },
  2309            "t": {
  2310              "description": "The millisecond accuracy timestamp of the quote.",
  2311              "type": "integer"
  2312            },
  2313            "x": {
  2314              "description": "The exchange ID on which this quote happened.",
  2315              "type": "integer"
  2316            }
  2317          },
  2318          "required": [
  2319            "a",
  2320            "b",
  2321            "t",
  2322            "x"
  2323          ],
  2324          "type": "object"
  2325        },
  2326        "ForexSnapshotPrevDay": {
  2327          "properties": {
  2328            "c": {
  2329              "description": "The close price for the symbol in the given time period.",
  2330              "format": "double",
  2331              "type": "number"
  2332            },
  2333            "h": {
  2334              "description": "The highest price for the symbol in the given time period.",
  2335              "format": "double",
  2336              "type": "number"
  2337            },
  2338            "l": {
  2339              "description": "The lowest price for the symbol in the given time period.",
  2340              "format": "double",
  2341              "type": "number"
  2342            },
  2343            "o": {
  2344              "description": "The open price for the symbol in the given time period.",
  2345              "format": "double",
  2346              "type": "number"
  2347            },
  2348            "v": {
  2349              "description": "The trading volume of the symbol in the given time period.",
  2350              "format": "double",
  2351              "type": "number"
  2352            },
  2353            "vw": {
  2354              "description": "The volume weighted average price.",
  2355              "format": "double",
  2356              "type": "number"
  2357            }
  2358          },
  2359          "required": [
  2360            "o",
  2361            "h",
  2362            "l",
  2363            "c",
  2364            "v",
  2365            "vw"
  2366          ],
  2367          "type": "object"
  2368        },
  2369        "ForexSnapshotTicker": {
  2370          "properties": {
  2371            "ticker": {
  2372              "properties": {
  2373                "day": {
  2374                  "description": "The most recent daily bar for this ticker.",
  2375                  "properties": {
  2376                    "c": {
  2377                      "description": "The close price for the symbol in the given time period.",
  2378                      "format": "double",
  2379                      "type": "number"
  2380                    },
  2381                    "h": {
  2382                      "description": "The highest price for the symbol in the given time period.",
  2383                      "format": "double",
  2384                      "type": "number"
  2385                    },
  2386                    "l": {
  2387                      "description": "The lowest price for the symbol in the given time period.",
  2388                      "format": "double",
  2389                      "type": "number"
  2390                    },
  2391                    "o": {
  2392                      "description": "The open price for the symbol in the given time period.",
  2393                      "format": "double",
  2394                      "type": "number"
  2395                    },
  2396                    "v": {
  2397                      "description": "The trading volume of the symbol in the given time period.",
  2398                      "format": "double",
  2399                      "type": "number"
  2400                    }
  2401                  },
  2402                  "required": [
  2403                    "o",
  2404                    "h",
  2405                    "l",
  2406                    "c",
  2407                    "v"
  2408                  ],
  2409                  "type": "object"
  2410                },
  2411                "fmv": {
  2412                  "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
  2413                  "format": "double",
  2414                  "type": "number"
  2415                },
  2416                "lastQuote": {
  2417                  "description": "The most recent quote for this ticker.",
  2418                  "properties": {
  2419                    "a": {
  2420                      "description": "The ask price.",
  2421                      "format": "double",
  2422                      "type": "number"
  2423                    },
  2424                    "b": {
  2425                      "description": "The bid price.",
  2426                      "format": "double",
  2427                      "type": "number"
  2428                    },
  2429                    "t": {
  2430                      "description": "The millisecond accuracy timestamp of the quote.",
  2431                      "type": "integer"
  2432                    },
  2433                    "x": {
  2434                      "description": "The exchange ID on which this quote happened.",
  2435                      "type": "integer"
  2436                    }
  2437                  },
  2438                  "required": [
  2439                    "a",
  2440                    "b",
  2441                    "t",
  2442                    "x"
  2443                  ],
  2444                  "type": "object"
  2445                },
  2446                "min": {
  2447                  "description": "The most recent minute bar for this ticker.",
  2448                  "properties": {
  2449                    "c": {
  2450                      "description": "The close price for the symbol in the given time period.",
  2451                      "format": "double",
  2452                      "type": "number"
  2453                    },
  2454                    "h": {
  2455                      "description": "The highest price for the symbol in the given time period.",
  2456                      "format": "double",
  2457                      "type": "number"
  2458                    },
  2459                    "l": {
  2460                      "description": "The lowest price for the symbol in the given time period.",
  2461                      "format": "double",
  2462                      "type": "number"
  2463                    },
  2464                    "n": {
  2465                      "description": "The number of transactions in the aggregate window.",
  2466                      "type": "integer"
  2467                    },
  2468                    "o": {
  2469                      "description": "The open price for the symbol in the given time period.",
  2470                      "format": "double",
  2471                      "type": "number"
  2472                    },
  2473                    "t": {
  2474                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2475                      "type": "integer"
  2476                    },
  2477                    "v": {
  2478                      "description": "The trading volume of the symbol in the given time period.",
  2479                      "format": "double",
  2480                      "type": "number"
  2481                    }
  2482                  },
  2483                  "type": "object"
  2484                },
  2485                "prevDay": {
  2486                  "description": "The previous day's bar for this ticker.",
  2487                  "properties": {
  2488                    "c": {
  2489                      "description": "The close price for the symbol in the given time period.",
  2490                      "format": "double",
  2491                      "type": "number"
  2492                    },
  2493                    "h": {
  2494                      "description": "The highest price for the symbol in the given time period.",
  2495                      "format": "double",
  2496                      "type": "number"
  2497                    },
  2498                    "l": {
  2499                      "description": "The lowest price for the symbol in the given time period.",
  2500                      "format": "double",
  2501                      "type": "number"
  2502                    },
  2503                    "o": {
  2504                      "description": "The open price for the symbol in the given time period.",
  2505                      "format": "double",
  2506                      "type": "number"
  2507                    },
  2508                    "v": {
  2509                      "description": "The trading volume of the symbol in the given time period.",
  2510                      "format": "double",
  2511                      "type": "number"
  2512                    },
  2513                    "vw": {
  2514                      "description": "The volume weighted average price.",
  2515                      "format": "double",
  2516                      "type": "number"
  2517                    }
  2518                  },
  2519                  "required": [
  2520                    "o",
  2521                    "h",
  2522                    "l",
  2523                    "c",
  2524                    "v",
  2525                    "vw"
  2526                  ],
  2527                  "type": "object"
  2528                },
  2529                "ticker": {
  2530                  "description": "The exchange symbol that this item is traded under.",
  2531                  "type": "string"
  2532                },
  2533                "todaysChange": {
  2534                  "description": "The value of the change from the previous day.",
  2535                  "format": "double",
  2536                  "type": "number"
  2537                },
  2538                "todaysChangePerc": {
  2539                  "description": "The percentage change since the previous day.",
  2540                  "format": "double",
  2541                  "type": "number"
  2542                },
  2543                "updated": {
  2544                  "description": "The last updated timestamp.",
  2545                  "type": "integer"
  2546                }
  2547              },
  2548              "required": [
  2549                "day",
  2550                "lastQuote",
  2551                "min",
  2552                "prevDay",
  2553                "ticker",
  2554                "todaysChange",
  2555                "todaysChangePerc",
  2556                "updated"
  2557              ],
  2558              "type": "object"
  2559            }
  2560          },
  2561          "type": "object"
  2562        },
  2563        "ForexSnapshotTickers": {
  2564          "properties": {
  2565            "tickers": {
  2566              "items": {
  2567                "properties": {
  2568                  "day": {
  2569                    "description": "The most recent daily bar for this ticker.",
  2570                    "properties": {
  2571                      "c": {
  2572                        "description": "The close price for the symbol in the given time period.",
  2573                        "format": "double",
  2574                        "type": "number"
  2575                      },
  2576                      "h": {
  2577                        "description": "The highest price for the symbol in the given time period.",
  2578                        "format": "double",
  2579                        "type": "number"
  2580                      },
  2581                      "l": {
  2582                        "description": "The lowest price for the symbol in the given time period.",
  2583                        "format": "double",
  2584                        "type": "number"
  2585                      },
  2586                      "o": {
  2587                        "description": "The open price for the symbol in the given time period.",
  2588                        "format": "double",
  2589                        "type": "number"
  2590                      },
  2591                      "v": {
  2592                        "description": "The trading volume of the symbol in the given time period.",
  2593                        "format": "double",
  2594                        "type": "number"
  2595                      }
  2596                    },
  2597                    "required": [
  2598                      "o",
  2599                      "h",
  2600                      "l",
  2601                      "c",
  2602                      "v"
  2603                    ],
  2604                    "type": "object"
  2605                  },
  2606                  "fmv": {
  2607                    "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
  2608                    "format": "double",
  2609                    "type": "number"
  2610                  },
  2611                  "lastQuote": {
  2612                    "description": "The most recent quote for this ticker.",
  2613                    "properties": {
  2614                      "a": {
  2615                        "description": "The ask price.",
  2616                        "format": "double",
  2617                        "type": "number"
  2618                      },
  2619                      "b": {
  2620                        "description": "The bid price.",
  2621                        "format": "double",
  2622                        "type": "number"
  2623                      },
  2624                      "t": {
  2625                        "description": "The millisecond accuracy timestamp of the quote.",
  2626                        "type": "integer"
  2627                      },
  2628                      "x": {
  2629                        "description": "The exchange ID on which this quote happened.",
  2630                        "type": "integer"
  2631                      }
  2632                    },
  2633                    "required": [
  2634                      "a",
  2635                      "b",
  2636                      "t",
  2637                      "x"
  2638                    ],
  2639                    "type": "object"
  2640                  },
  2641                  "min": {
  2642                    "description": "The most recent minute bar for this ticker.",
  2643                    "properties": {
  2644                      "c": {
  2645                        "description": "The close price for the symbol in the given time period.",
  2646                        "format": "double",
  2647                        "type": "number"
  2648                      },
  2649                      "h": {
  2650                        "description": "The highest price for the symbol in the given time period.",
  2651                        "format": "double",
  2652                        "type": "number"
  2653                      },
  2654                      "l": {
  2655                        "description": "The lowest price for the symbol in the given time period.",
  2656                        "format": "double",
  2657                        "type": "number"
  2658                      },
  2659                      "n": {
  2660                        "description": "The number of transactions in the aggregate window.",
  2661                        "type": "integer"
  2662                      },
  2663                      "o": {
  2664                        "description": "The open price for the symbol in the given time period.",
  2665                        "format": "double",
  2666                        "type": "number"
  2667                      },
  2668                      "t": {
  2669                        "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2670                        "type": "integer"
  2671                      },
  2672                      "v": {
  2673                        "description": "The trading volume of the symbol in the given time period.",
  2674                        "format": "double",
  2675                        "type": "number"
  2676                      }
  2677                    },
  2678                    "type": "object"
  2679                  },
  2680                  "prevDay": {
  2681                    "description": "The previous day's bar for this ticker.",
  2682                    "properties": {
  2683                      "c": {
  2684                        "description": "The close price for the symbol in the given time period.",
  2685                        "format": "double",
  2686                        "type": "number"
  2687                      },
  2688                      "h": {
  2689                        "description": "The highest price for the symbol in the given time period.",
  2690                        "format": "double",
  2691                        "type": "number"
  2692                      },
  2693                      "l": {
  2694                        "description": "The lowest price for the symbol in the given time period.",
  2695                        "format": "double",
  2696                        "type": "number"
  2697                      },
  2698                      "o": {
  2699                        "description": "The open price for the symbol in the given time period.",
  2700                        "format": "double",
  2701                        "type": "number"
  2702                      },
  2703                      "v": {
  2704                        "description": "The trading volume of the symbol in the given time period.",
  2705                        "format": "double",
  2706                        "type": "number"
  2707                      },
  2708                      "vw": {
  2709                        "description": "The volume weighted average price.",
  2710                        "format": "double",
  2711                        "type": "number"
  2712                      }
  2713                    },
  2714                    "required": [
  2715                      "o",
  2716                      "h",
  2717                      "l",
  2718                      "c",
  2719                      "v",
  2720                      "vw"
  2721                    ],
  2722                    "type": "object"
  2723                  },
  2724                  "ticker": {
  2725                    "description": "The exchange symbol that this item is traded under.",
  2726                    "type": "string"
  2727                  },
  2728                  "todaysChange": {
  2729                    "description": "The value of the change from the previous day.",
  2730                    "format": "double",
  2731                    "type": "number"
  2732                  },
  2733                  "todaysChangePerc": {
  2734                    "description": "The percentage change since the previous day.",
  2735                    "format": "double",
  2736                    "type": "number"
  2737                  },
  2738                  "updated": {
  2739                    "description": "The last updated timestamp.",
  2740                    "type": "integer"
  2741                  }
  2742                },
  2743                "required": [
  2744                  "day",
  2745                  "lastQuote",
  2746                  "min",
  2747                  "prevDay",
  2748                  "ticker",
  2749                  "todaysChange",
  2750                  "todaysChangePerc",
  2751                  "updated"
  2752                ],
  2753                "type": "object"
  2754              },
  2755              "type": "array"
  2756            }
  2757          },
  2758          "type": "object"
  2759        },
  2760        "ForexTickerResults": {
  2761          "properties": {
  2762            "results": {
  2763              "items": {
  2764                "properties": {
  2765                  "c": {
  2766                    "description": "The close price for the symbol in the given time period.",
  2767                    "format": "double",
  2768                    "type": "number"
  2769                  },
  2770                  "h": {
  2771                    "description": "The highest price for the symbol in the given time period.",
  2772                    "format": "double",
  2773                    "type": "number"
  2774                  },
  2775                  "l": {
  2776                    "description": "The lowest price for the symbol in the given time period.",
  2777                    "format": "double",
  2778                    "type": "number"
  2779                  },
  2780                  "n": {
  2781                    "description": "The number of transactions in the aggregate window.",
  2782                    "type": "integer"
  2783                  },
  2784                  "o": {
  2785                    "description": "The open price for the symbol in the given time period.",
  2786                    "format": "double",
  2787                    "type": "number"
  2788                  },
  2789                  "t": {
  2790                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2791                    "type": "integer"
  2792                  },
  2793                  "v": {
  2794                    "description": "The trading volume of the symbol in the given time period.",
  2795                    "format": "double",
  2796                    "type": "number"
  2797                  },
  2798                  "vw": {
  2799                    "description": "The volume weighted average price.",
  2800                    "format": "double",
  2801                    "type": "number"
  2802                  }
  2803                },
  2804                "required": [
  2805                  "o",
  2806                  "h",
  2807                  "l",
  2808                  "c",
  2809                  "v",
  2810                  "t"
  2811                ],
  2812                "type": "object"
  2813              },
  2814              "type": "array"
  2815            }
  2816          },
  2817          "type": "object"
  2818        },
  2819        "High": {
  2820          "description": "The highest price for the symbol in the given time period.",
  2821          "format": "double",
  2822          "type": "number"
  2823        },
  2824        "HighIndices": {
  2825          "description": "The highest value for the symbol in the given time period.",
  2826          "format": "double",
  2827          "type": "number"
  2828        },
  2829        "IndexAggsBase": {
  2830          "properties": {
  2831            "queryCount": {
  2832              "description": "The number of aggregates (minute or day) used to generate the response.",
  2833              "type": "integer"
  2834            },
  2835            "request_id": {
  2836              "description": "A request id assigned by the server.",
  2837              "type": "string"
  2838            },
  2839            "resultsCount": {
  2840              "description": "The total number of results for this request.",
  2841              "type": "integer"
  2842            },
  2843            "status": {
  2844              "description": "The status of this request's response.",
  2845              "type": "string"
  2846            }
  2847          },
  2848          "required": [
  2849            "status",
  2850            "queryCount",
  2851            "resultsCount",
  2852            "request_id"
  2853          ],
  2854          "type": "object"
  2855        },
  2856        "Indicators": {
  2857          "description": "The indicators. For more information, see our glossary of [Conditions and\nIndicators](https://polygon.io/glossary/us/stocks/conditions-indicators).\n",
  2858          "items": {
  2859            "description": "The indicator code.\n",
  2860            "type": "integer"
  2861          },
  2862          "type": "array"
  2863        },
  2864        "IndicesGroupedResults": {
  2865          "properties": {
  2866            "results": {
  2867              "items": {
  2868                "properties": {
  2869                  "c": {
  2870                    "description": "The close value for the symbol in the given time period.",
  2871                    "format": "double",
  2872                    "type": "number"
  2873                  },
  2874                  "h": {
  2875                    "description": "The highest value for the symbol in the given time period.",
  2876                    "format": "double",
  2877                    "type": "number"
  2878                  },
  2879                  "l": {
  2880                    "description": "The lowest value for the symbol in the given time period.",
  2881                    "format": "double",
  2882                    "type": "number"
  2883                  },
  2884                  "o": {
  2885                    "description": "The open value for the symbol in the given time period.",
  2886                    "format": "double",
  2887                    "type": "number"
  2888                  },
  2889                  "t": {
  2890                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2891                    "type": "integer"
  2892                  }
  2893                },
  2894                "required": [
  2895                  "o",
  2896                  "h",
  2897                  "l",
  2898                  "c",
  2899                  "t"
  2900                ],
  2901                "type": "object"
  2902              },
  2903              "type": "array"
  2904            }
  2905          },
  2906          "type": "object"
  2907        },
  2908        "IndicesOpenClose": {
  2909          "properties": {
  2910            "afterHours": {
  2911              "description": "The close value of the ticker symbol in after hours trading.",
  2912              "format": "double",
  2913              "type": "number"
  2914            },
  2915            "close": {
  2916              "description": "The close value for the symbol in the given time period.",
  2917              "format": "double",
  2918              "type": "number"
  2919            },
  2920            "from": {
  2921              "description": "The requested date.",
  2922              "format": "date",
  2923              "type": "string"
  2924            },
  2925            "high": {
  2926              "description": "The highest value for the symbol in the given time period.",
  2927              "format": "double",
  2928              "type": "number"
  2929            },
  2930            "low": {
  2931              "description": "The lowest value for the symbol in the given time period.",
  2932              "format": "double",
  2933              "type": "number"
  2934            },
  2935            "open": {
  2936              "description": "The open value for the symbol in the given time period.",
  2937              "format": "double",
  2938              "type": "number"
  2939            },
  2940            "preMarket": {
  2941              "description": "The open value of the ticker symbol in pre-market trading.",
  2942              "type": "integer"
  2943            },
  2944            "status": {
  2945              "description": "The status of this request's response.",
  2946              "type": "string"
  2947            },
  2948            "symbol": {
  2949              "description": "The exchange symbol that this item is traded under.",
  2950              "type": "string"
  2951            }
  2952          },
  2953          "required": [
  2954            "status",
  2955            "from",
  2956            "symbol",
  2957            "open",
  2958            "high",
  2959            "low",
  2960            "close"
  2961          ],
  2962          "type": "object"
  2963        },
  2964        "IndicesTickerResults": {
  2965          "properties": {
  2966            "results": {
  2967              "items": {
  2968                "properties": {
  2969                  "c": {
  2970                    "description": "The close value for the symbol in the given time period.",
  2971                    "format": "double",
  2972                    "type": "number"
  2973                  },
  2974                  "h": {
  2975                    "description": "The highest value for the symbol in the given time period.",
  2976                    "format": "double",
  2977                    "type": "number"
  2978                  },
  2979                  "l": {
  2980                    "description": "The lowest value for the symbol in the given time period.",
  2981                    "format": "double",
  2982                    "type": "number"
  2983                  },
  2984                  "n": {
  2985                    "description": "The number of transactions in the aggregate window.",
  2986                    "type": "integer"
  2987                  },
  2988                  "o": {
  2989                    "description": "The open value for the symbol in the given time period.",
  2990                    "format": "double",
  2991                    "type": "number"
  2992                  },
  2993                  "t": {
  2994                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
  2995                    "type": "integer"
  2996                  }
  2997                },
  2998                "required": [
  2999                  "o",
  3000                  "h",
  3001                  "l",
  3002                  "c",
  3003                  "t"
  3004                ],
  3005                "type": "object"
  3006              },
  3007              "type": "array"
  3008            }
  3009          },
  3010          "type": "object"
  3011        },
  3012        "Locales": {
  3013          "properties": {
  3014            "results": {
  3015              "items": {
  3016                "properties": {
  3017                  "locale": {
  3018                    "description": "An abbreviated country name.",
  3019                    "type": "string"
  3020                  },
  3021                  "name": {
  3022                    "description": "The name of the country.",
  3023                    "type": "string"
  3024                  }
  3025                },
  3026                "type": "object"
  3027              },
  3028              "type": "array"
  3029            }
  3030          },
  3031          "type": "object"
  3032        },
  3033        "Low": {
  3034          "description": "The lowest price for the symbol in the given time period.",
  3035          "format": "double",
  3036          "type": "number"
  3037        },
  3038        "LowIndices": {
  3039          "description": "The lowest value for the symbol in the given time period.",
  3040          "format": "double",
  3041          "type": "number"
  3042        },
  3043        "Map": {
  3044          "description": "A mapping of the keys returned in the results to their descriptive name and data types.",
  3045          "properties": {
  3046            "key": {
  3047              "description": "A dynamic key from the results set",
  3048              "properties": {
  3049                "name": {
  3050                  "description": "The descriptive name of this results key",
  3051                  "type": "string"
  3052                },
  3053                "type": {
  3054                  "description": "The data type of this results key",
  3055                  "enum": [
  3056                    "string",
  3057                    "int",
  3058                    "int64",
  3059                    "float64"
  3060                  ],
  3061                  "type": "string"
  3062                }
  3063              },
  3064              "type": "object"
  3065            }
  3066          },
  3067          "type": "object"
  3068        },
  3069        "MarketHoliday": {
  3070          "items": {
  3071            "properties": {
  3072              "close": {
  3073                "description": "The market close time on the holiday (if it's not closed).",
  3074                "format": "date-time",
  3075                "type": "string"
  3076              },
  3077              "date": {
  3078                "description": "The date of the holiday.",
  3079                "format": "date",
  3080                "type": "string"
  3081              },
  3082              "exchange": {
  3083                "description": "Which market the record is for.",
  3084                "type": "string"
  3085              },
  3086              "name": {
  3087                "description": "The name of the holiday.",
  3088                "type": "string"
  3089              },
  3090              "open": {
  3091                "description": "The market open time on the holiday (if it's not closed).",
  3092                "format": "date-time",
  3093                "type": "string"
  3094              },
  3095              "status": {
  3096                "description": "The status of the market on the holiday.",
  3097                "type": "string"
  3098              }
  3099            },
  3100            "type": "object"
  3101          },
  3102          "type": "array"
  3103        },
  3104        "MarketStatus": {
  3105          "properties": {
  3106            "afterHours": {
  3107              "description": "Whether or not the market is in post-market hours.",
  3108              "type": "boolean"
  3109            },
  3110            "currencies": {
  3111              "properties": {
  3112                "crypto": {
  3113                  "description": "The status of the crypto market.",
  3114                  "type": "string"
  3115                },
  3116                "fx": {
  3117                  "description": "The status of the forex market.",
  3118                  "type": "string"
  3119                }
  3120              },
  3121              "type": "object"
  3122            },
  3123            "earlyHours": {
  3124              "description": "Whether or not the market is in pre-market hours.",
  3125              "type": "boolean"
  3126            },
  3127            "exchanges": {
  3128              "properties": {
  3129                "nasdaq": {
  3130                  "description": "The status of the Nasdaq market.",
  3131                  "type": "string"
  3132                },
  3133                "nyse": {
  3134                  "description": "The status of the NYSE market.",
  3135                  "type": "string"
  3136                },
  3137                "otc": {
  3138                  "description": "The status of the OTC market.",
  3139                  "type": "string"
  3140                }
  3141              },
  3142              "type": "object"
  3143            },
  3144            "market": {
  3145              "description": "The status of the market as a whole.",
  3146              "type": "string"
  3147            },
  3148            "serverTime": {
  3149              "description": "The current time of the server.",
  3150              "format": "date-time",
  3151              "type": "string"
  3152            }
  3153          },
  3154          "type": "object"
  3155        },
  3156        "Markets": {
  3157          "properties": {
  3158            "results": {
  3159              "description": "A list of supported markets.",
  3160              "items": {
  3161                "properties": {
  3162                  "desc": {
  3163                    "description": "A description of the market.",
  3164                    "type": "string"
  3165                  },
  3166                  "market": {
  3167                    "description": "The name of the market.",
  3168                    "type": "string"
  3169                  }
  3170                },
  3171                "type": "object"
  3172              },
  3173              "type": "array"
  3174            }
  3175          },
  3176          "type": "object"
  3177        },
  3178        "MsLatency": {
  3179          "description": "The milliseconds of latency for the query results.",
  3180          "type": "integer"
  3181        },
  3182        "News": {
  3183          "items": {
  3184            "properties": {
  3185              "image": {
  3186                "description": "A URL of the image for the news article, if found.",
  3187                "type": "string"
  3188              },
  3189              "keywords": {
  3190                "description": "A list of common keywords related to the news article.",
  3191                "items": {
  3192                  "description": "Common keywords of the news article.",
  3193                  "type": "string"
  3194                },
  3195                "type": "array"
  3196              },
  3197              "source": {
  3198                "description": "The publication source of the article.",
  3199                "type": "string"
  3200              },
  3201              "summary": {
  3202                "description": "A summary of the news article.",
  3203                "type": "string"
  3204              },
  3205              "symbols": {
  3206                "description": "A list of ticker symbols relating to the article.",
  3207                "items": {
  3208                  "description": "The exchange symbol that this item is traded under.",
  3209                  "type": "string"
  3210                },
  3211                "type": "array"
  3212              },
  3213              "timestamp": {
  3214                "description": "The timestamp of the news article.",
  3215                "format": "date-time",
  3216                "type": "string"
  3217              },
  3218              "title": {
  3219                "description": "The title of the news article.",
  3220                "type": "string"
  3221              },
  3222              "url": {
  3223                "description": "A direct link to the news article from its source publication.",
  3224                "type": "string"
  3225              }
  3226            },
  3227            "type": "object"
  3228          },
  3229          "type": "array"
  3230        },
  3231        "NumberOfItems": {
  3232          "description": "The number of transactions in the aggregate window.",
  3233          "type": "integer"
  3234        },
  3235        "OTC": {
  3236          "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  3237          "type": "boolean"
  3238        },
  3239        "Open": {
  3240          "description": "The open price for the symbol in the given time period.",
  3241          "format": "double",
  3242          "type": "number"
  3243        },
  3244        "OpenIndices": {
  3245          "description": "The open value for the symbol in the given time period.",
  3246          "format": "double",
  3247          "type": "number"
  3248        },
  3249        "PaginationHooksBase": {
  3250          "properties": {
  3251            "next_url": {
  3252              "description": "If present, this value can be used to fetch the next page of data.",
  3253              "type": "string"
  3254            }
  3255          },
  3256          "type": "object"
  3257        },
  3258        "Price": {
  3259          "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
  3260          "format": "double",
  3261          "type": "number"
  3262        },
  3263        "QueryCount": {
  3264          "description": "The number of aggregates (minute or day) used to generate the response.",
  3265          "type": "integer"
  3266        },
  3267        "RatingSection": {
  3268          "properties": {
  3269            "current": {
  3270              "description": "Analyst Rating at current month",
  3271              "example": 0,
  3272              "type": "number"
  3273            },
  3274            "month1": {
  3275              "description": "Analyst Ratings at 1 month in the future",
  3276              "example": 1,
  3277              "type": "number"
  3278            },
  3279            "month2": {
  3280              "description": "Analyst Ratings at 2 month in the future",
  3281              "example": 3,
  3282              "type": "number"
  3283            },
  3284            "month3": {
  3285              "description": "Analyst Ratings at 3 month in the future",
  3286              "example": 4,
  3287              "type": "number"
  3288            },
  3289            "month4": {
  3290              "description": "Analyst Ratings at 4 month in the future",
  3291              "example": 3,
  3292              "type": "number"
  3293            },
  3294            "month5": {
  3295              "description": "Analyst Ratings at 5 month in the future",
  3296              "example": 2,
  3297              "type": "number"
  3298            }
  3299          },
  3300          "required": [
  3301            "month1",
  3302            "month2",
  3303            "month3",
  3304            "current"
  3305          ],
  3306          "type": "object"
  3307        },
  3308        "RequestID": {
  3309          "description": "A request id assigned by the server.",
  3310          "type": "string"
  3311        },
  3312        "RequestIdBase": {
  3313          "properties": {
  3314            "request_id": {
  3315              "description": "A request id assigned by the server.",
  3316              "type": "string"
  3317            }
  3318          },
  3319          "required": [
  3320            "request_id"
  3321          ],
  3322          "type": "object"
  3323        },
  3324        "SequenceNumber": {
  3325          "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).\n",
  3326          "format": "int64",
  3327          "type": "integer"
  3328        },
  3329        "Size": {
  3330          "description": "The size of a trade (also known as volume).\n",
  3331          "format": "double",
  3332          "type": "number"
  3333        },
  3334        "SnapshotMinOHLCV": {
  3335          "properties": {
  3336            "c": {
  3337              "description": "The close price for the symbol in the given time period.",
  3338              "format": "double",
  3339              "type": "number"
  3340            },
  3341            "h": {
  3342              "description": "The highest price for the symbol in the given time period.",
  3343              "format": "double",
  3344              "type": "number"
  3345            },
  3346            "l": {
  3347              "description": "The lowest price for the symbol in the given time period.",
  3348              "format": "double",
  3349              "type": "number"
  3350            },
  3351            "n": {
  3352              "description": "The number of transactions in the aggregate window.",
  3353              "type": "integer"
  3354            },
  3355            "o": {
  3356              "description": "The open price for the symbol in the given time period.",
  3357              "format": "double",
  3358              "type": "number"
  3359            },
  3360            "t": {
  3361              "description": "The Unix Msec timestamp for the start of the aggregate window.",
  3362              "type": "integer"
  3363            },
  3364            "v": {
  3365              "description": "The trading volume of the symbol in the given time period.",
  3366              "format": "double",
  3367              "type": "number"
  3368            }
  3369          },
  3370          "type": "object"
  3371        },
  3372        "SnapshotOHLCV": {
  3373          "properties": {
  3374            "c": {
  3375              "description": "The close price for the symbol in the given time period.",
  3376              "format": "double",
  3377              "type": "number"
  3378            },
  3379            "h": {
  3380              "description": "The highest price for the symbol in the given time period.",
  3381              "format": "double",
  3382              "type": "number"
  3383            },
  3384            "l": {
  3385              "description": "The lowest price for the symbol in the given time period.",
  3386              "format": "double",
  3387              "type": "number"
  3388            },
  3389            "o": {
  3390              "description": "The open price for the symbol in the given time period.",
  3391              "format": "double",
  3392              "type": "number"
  3393            },
  3394            "v": {
  3395              "description": "The trading volume of the symbol in the given time period.",
  3396              "format": "double",
  3397              "type": "number"
  3398            }
  3399          },
  3400          "required": [
  3401            "o",
  3402            "h",
  3403            "l",
  3404            "c",
  3405            "v"
  3406          ],
  3407          "type": "object"
  3408        },
  3409        "SnapshotOHLCVVW": {
  3410          "properties": {
  3411            "c": {
  3412              "description": "The close price for the symbol in the given time period.",
  3413              "format": "double",
  3414              "type": "number"
  3415            },
  3416            "h": {
  3417              "description": "The highest price for the symbol in the given time period.",
  3418              "format": "double",
  3419              "type": "number"
  3420            },
  3421            "l": {
  3422              "description": "The lowest price for the symbol in the given time period.",
  3423              "format": "double",
  3424              "type": "number"
  3425            },
  3426            "o": {
  3427              "description": "The open price for the symbol in the given time period.",
  3428              "format": "double",
  3429              "type": "number"
  3430            },
  3431            "v": {
  3432              "description": "The trading volume of the symbol in the given time period.",
  3433              "format": "double",
  3434              "type": "number"
  3435            },
  3436            "vw": {
  3437              "description": "The volume weighted average price.",
  3438              "format": "double",
  3439              "type": "number"
  3440            }
  3441          },
  3442          "required": [
  3443            "o",
  3444            "h",
  3445            "l",
  3446            "c",
  3447            "v",
  3448            "vw"
  3449          ],
  3450          "type": "object"
  3451        },
  3452        "SnapshotOHLCVVWOtc": {
  3453          "properties": {
  3454            "c": {
  3455              "description": "The close price for the symbol in the given time period.",
  3456              "format": "double",
  3457              "type": "number"
  3458            },
  3459            "h": {
  3460              "description": "The highest price for the symbol in the given time period.",
  3461              "format": "double",
  3462              "type": "number"
  3463            },
  3464            "l": {
  3465              "description": "The lowest price for the symbol in the given time period.",
  3466              "format": "double",
  3467              "type": "number"
  3468            },
  3469            "o": {
  3470              "description": "The open price for the symbol in the given time period.",
  3471              "format": "double",
  3472              "type": "number"
  3473            },
  3474            "otc": {
  3475              "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  3476              "type": "boolean"
  3477            },
  3478            "v": {
  3479              "description": "The trading volume of the symbol in the given time period.",
  3480              "format": "double",
  3481              "type": "number"
  3482            },
  3483            "vw": {
  3484              "description": "The volume weighted average price.",
  3485              "format": "double",
  3486              "type": "number"
  3487            }
  3488          },
  3489          "required": [
  3490            "o",
  3491            "h",
  3492            "l",
  3493            "c",
  3494            "v",
  3495            "vw"
  3496          ],
  3497          "type": "object"
  3498        },
  3499        "StandardBase": {
  3500          "allOf": [
  3501            {
  3502              "properties": {
  3503                "request_id": {
  3504                  "description": "A request id assigned by the server.",
  3505                  "type": "string"
  3506                }
  3507              },
  3508              "required": [
  3509                "request_id"
  3510              ],
  3511              "type": "object"
  3512            },
  3513            {
  3514              "properties": {
  3515                "count": {
  3516                  "description": "The total number of results for this request.",
  3517                  "type": "integer"
  3518                },
  3519                "status": {
  3520                  "description": "The status of this request's response.",
  3521                  "type": "string"
  3522                }
  3523              },
  3524              "required": [
  3525                "status"
  3526              ],
  3527              "type": "object"
  3528            }
  3529          ]
  3530        },
  3531        "Status": {
  3532          "description": "The status of this request's response.",
  3533          "type": "string"
  3534        },
  3535        "StatusBase": {
  3536          "properties": {
  3537            "status": {
  3538              "description": "The status of this request's response.",
  3539              "type": "string"
  3540            }
  3541          },
  3542          "required": [
  3543            "status"
  3544          ],
  3545          "type": "object"
  3546        },
  3547        "StatusCountBase": {
  3548          "properties": {
  3549            "count": {
  3550              "description": "The total number of results for this request.",
  3551              "type": "integer"
  3552            },
  3553            "status": {
  3554              "description": "The status of this request's response.",
  3555              "type": "string"
  3556            }
  3557          },
  3558          "required": [
  3559            "status"
  3560          ],
  3561          "type": "object"
  3562        },
  3563        "StockSymbol": {
  3564          "description": "The exchange symbol that this item is traded under.",
  3565          "type": "string"
  3566        },
  3567        "StocksGroupedResults": {
  3568          "properties": {
  3569            "results": {
  3570              "items": {
  3571                "properties": {
  3572                  "T": {
  3573                    "description": "The exchange symbol that this item is traded under.",
  3574                    "type": "string"
  3575                  },
  3576                  "c": {
  3577                    "description": "The close price for the symbol in the given time period.",
  3578                    "format": "double",
  3579                    "type": "number"
  3580                  },
  3581                  "h": {
  3582                    "description": "The highest price for the symbol in the given time period.",
  3583                    "format": "double",
  3584                    "type": "number"
  3585                  },
  3586                  "l": {
  3587                    "description": "The lowest price for the symbol in the given time period.",
  3588                    "format": "double",
  3589                    "type": "number"
  3590                  },
  3591                  "n": {
  3592                    "description": "The number of transactions in the aggregate window.",
  3593                    "type": "integer"
  3594                  },
  3595                  "o": {
  3596                    "description": "The open price for the symbol in the given time period.",
  3597                    "format": "double",
  3598                    "type": "number"
  3599                  },
  3600                  "otc": {
  3601                    "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  3602                    "type": "boolean"
  3603                  },
  3604                  "t": {
  3605                    "description": "The Unix Msec timestamp for the end of the aggregate window.",
  3606                    "type": "integer"
  3607                  },
  3608                  "v": {
  3609                    "description": "The trading volume of the symbol in the given time period.",
  3610                    "format": "double",
  3611                    "type": "number"
  3612                  },
  3613                  "vw": {
  3614                    "description": "The volume weighted average price.",
  3615                    "format": "double",
  3616                    "type": "number"
  3617                  }
  3618                },
  3619                "required": [
  3620                  "o",
  3621                  "h",
  3622                  "l",
  3623                  "c",
  3624                  "t",
  3625                  "v",
  3626                  "T"
  3627                ],
  3628                "type": "object"
  3629              },
  3630              "type": "array"
  3631            }
  3632          },
  3633          "type": "object"
  3634        },
  3635        "StocksOpenClose": {
  3636          "properties": {
  3637            "afterHours": {
  3638              "description": "The close price of the ticker symbol in after hours trading.",
  3639              "format": "double",
  3640              "type": "number"
  3641            },
  3642            "close": {
  3643              "description": "The close price for the symbol in the given time period.",
  3644              "format": "double",
  3645              "type": "number"
  3646            },
  3647            "from": {
  3648              "description": "The requested date.",
  3649              "format": "date",
  3650              "type": "string"
  3651            },
  3652            "high": {
  3653              "description": "The highest price for the symbol in the given time period.",
  3654              "format": "double",
  3655              "type": "number"
  3656            },
  3657            "low": {
  3658              "description": "The lowest price for the symbol in the given time period.",
  3659              "format": "double",
  3660              "type": "number"
  3661            },
  3662            "open": {
  3663              "description": "The open price for the symbol in the given time period.",
  3664              "format": "double",
  3665              "type": "number"
  3666            },
  3667            "otc": {
  3668              "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  3669              "type": "boolean"
  3670            },
  3671            "preMarket": {
  3672              "description": "The open price of the ticker symbol in pre-market trading.",
  3673              "type": "integer"
  3674            },
  3675            "status": {
  3676              "description": "The status of this request's response.",
  3677              "type": "string"
  3678            },
  3679            "symbol": {
  3680              "description": "The exchange symbol that this item is traded under.",
  3681              "type": "string"
  3682            },
  3683            "volume": {
  3684              "description": "The trading volume of the symbol in the given time period.",
  3685              "format": "double",
  3686              "type": "number"
  3687            }
  3688          },
  3689          "required": [
  3690            "status",
  3691            "from",
  3692            "symbol",
  3693            "open",
  3694            "high",
  3695            "low",
  3696            "close",
  3697            "volume"
  3698          ],
  3699          "type": "object"
  3700        },
  3701        "StocksSnapshotLastQuote": {
  3702          "properties": {
  3703            "P": {
  3704              "description": "The ask price.",
  3705              "format": "double",
  3706              "type": "number"
  3707            },
  3708            "S": {
  3709              "description": "The ask size in lots.",
  3710              "type": "integer"
  3711            },
  3712            "p": {
  3713              "description": "The bid price.",
  3714              "format": "double",
  3715              "type": "number"
  3716            },
  3717            "s": {
  3718              "description": "The bid size in lots.",
  3719              "type": "integer"
  3720            },
  3721            "t": {
  3722              "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  3723              "type": "integer"
  3724            }
  3725          },
  3726          "required": [
  3727            "p",
  3728            "s",
  3729            "P",
  3730            "S",
  3731            "t"
  3732          ],
  3733          "type": "object"
  3734        },
  3735        "StocksSnapshotMinute": {
  3736          "properties": {
  3737            "av": {
  3738              "description": "The accumulated volume.",
  3739              "type": "integer"
  3740            },
  3741            "c": {
  3742              "description": "The close price for the symbol in the given time period.",
  3743              "format": "double",
  3744              "type": "number"
  3745            },
  3746            "h": {
  3747              "description": "The highest price for the symbol in the given time period.",
  3748              "format": "double",
  3749              "type": "number"
  3750            },
  3751            "l": {
  3752              "description": "The lowest price for the symbol in the given time period.",
  3753              "format": "double",
  3754              "type": "number"
  3755            },
  3756            "n": {
  3757              "description": "The number of transactions in the aggregate window.",
  3758              "type": "integer"
  3759            },
  3760            "o": {
  3761              "description": "The open price for the symbol in the given time period.",
  3762              "format": "double",
  3763              "type": "number"
  3764            },
  3765            "t": {
  3766              "description": "The Unix Msec timestamp for the start of the aggregate window.",
  3767              "type": "integer"
  3768            },
  3769            "v": {
  3770              "description": "The trading volume of the symbol in the given time period.",
  3771              "format": "double",
  3772              "type": "number"
  3773            },
  3774            "vw": {
  3775              "description": "The volume weighted average price.",
  3776              "format": "double",
  3777              "type": "number"
  3778            }
  3779          },
  3780          "required": [
  3781            "av",
  3782            "o",
  3783            "h",
  3784            "l",
  3785            "c",
  3786            "v",
  3787            "vw",
  3788            "t",
  3789            "n"
  3790          ],
  3791          "type": "object"
  3792        },
  3793        "StocksSnapshotMinuteOTC": {
  3794          "properties": {
  3795            "av": {
  3796              "description": "The accumulated volume.",
  3797              "type": "integer"
  3798            },
  3799            "c": {
  3800              "description": "The close price for the symbol in the given time period.",
  3801              "format": "double",
  3802              "type": "number"
  3803            },
  3804            "h": {
  3805              "description": "The highest price for the symbol in the given time period.",
  3806              "format": "double",
  3807              "type": "number"
  3808            },
  3809            "l": {
  3810              "description": "The lowest price for the symbol in the given time period.",
  3811              "format": "double",
  3812              "type": "number"
  3813            },
  3814            "n": {
  3815              "description": "The number of transactions in the aggregate window.",
  3816              "type": "integer"
  3817            },
  3818            "o": {
  3819              "description": "The open price for the symbol in the given time period.",
  3820              "format": "double",
  3821              "type": "number"
  3822            },
  3823            "otc": {
  3824              "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  3825              "type": "boolean"
  3826            },
  3827            "t": {
  3828              "description": "The Unix Msec timestamp for the start of the aggregate window.",
  3829              "type": "integer"
  3830            },
  3831            "v": {
  3832              "description": "The trading volume of the symbol in the given time period.",
  3833              "format": "double",
  3834              "type": "number"
  3835            },
  3836            "vw": {
  3837              "description": "The volume weighted average price.",
  3838              "format": "double",
  3839              "type": "number"
  3840            }
  3841          },
  3842          "required": [
  3843            "av",
  3844            "o",
  3845            "h",
  3846            "l",
  3847            "c",
  3848            "v",
  3849            "vw",
  3850            "t",
  3851            "n"
  3852          ],
  3853          "type": "object"
  3854        },
  3855        "StocksSnapshotTicker": {
  3856          "properties": {
  3857            "ticker": {
  3858              "properties": {
  3859                "day": {
  3860                  "description": "The most recent daily bar for this ticker.",
  3861                  "properties": {
  3862                    "c": {
  3863                      "description": "The close price for the symbol in the given time period.",
  3864                      "format": "double",
  3865                      "type": "number"
  3866                    },
  3867                    "h": {
  3868                      "description": "The highest price for the symbol in the given time period.",
  3869                      "format": "double",
  3870                      "type": "number"
  3871                    },
  3872                    "l": {
  3873                      "description": "The lowest price for the symbol in the given time period.",
  3874                      "format": "double",
  3875                      "type": "number"
  3876                    },
  3877                    "o": {
  3878                      "description": "The open price for the symbol in the given time period.",
  3879                      "format": "double",
  3880                      "type": "number"
  3881                    },
  3882                    "otc": {
  3883                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  3884                      "type": "boolean"
  3885                    },
  3886                    "v": {
  3887                      "description": "The trading volume of the symbol in the given time period.",
  3888                      "format": "double",
  3889                      "type": "number"
  3890                    },
  3891                    "vw": {
  3892                      "description": "The volume weighted average price.",
  3893                      "format": "double",
  3894                      "type": "number"
  3895                    }
  3896                  },
  3897                  "required": [
  3898                    "o",
  3899                    "h",
  3900                    "l",
  3901                    "c",
  3902                    "v",
  3903                    "vw"
  3904                  ],
  3905                  "type": "object"
  3906                },
  3907                "fmv": {
  3908                  "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
  3909                  "format": "double",
  3910                  "type": "number"
  3911                },
  3912                "lastQuote": {
  3913                  "description": "The most recent quote for this ticker.  This is only returned if your current plan includes quotes.",
  3914                  "properties": {
  3915                    "P": {
  3916                      "description": "The ask price.",
  3917                      "format": "double",
  3918                      "type": "number"
  3919                    },
  3920                    "S": {
  3921                      "description": "The ask size in lots.",
  3922                      "type": "integer"
  3923                    },
  3924                    "p": {
  3925                      "description": "The bid price.",
  3926                      "format": "double",
  3927                      "type": "number"
  3928                    },
  3929                    "s": {
  3930                      "description": "The bid size in lots.",
  3931                      "type": "integer"
  3932                    },
  3933                    "t": {
  3934                      "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  3935                      "type": "integer"
  3936                    }
  3937                  },
  3938                  "required": [
  3939                    "p",
  3940                    "s",
  3941                    "P",
  3942                    "S",
  3943                    "t"
  3944                  ],
  3945                  "type": "object"
  3946                },
  3947                "lastTrade": {
  3948                  "description": "The most recent trade for this ticker.  This is only returned if your current plan includes trades.",
  3949                  "properties": {
  3950                    "c": {
  3951                      "description": "The trade conditions.",
  3952                      "items": {
  3953                        "type": "integer"
  3954                      },
  3955                      "type": "array"
  3956                    },
  3957                    "i": {
  3958                      "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
  3959                      "type": "string"
  3960                    },
  3961                    "p": {
  3962                      "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
  3963                      "format": "double",
  3964                      "type": "number"
  3965                    },
  3966                    "s": {
  3967                      "description": "The size (volume) of the trade.",
  3968                      "type": "integer"
  3969                    },
  3970                    "t": {
  3971                      "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  3972                      "type": "integer"
  3973                    },
  3974                    "x": {
  3975                      "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  3976                      "type": "integer"
  3977                    }
  3978                  },
  3979                  "required": [
  3980                    "c",
  3981                    "i",
  3982                    "p",
  3983                    "s",
  3984                    "t",
  3985                    "x"
  3986                  ],
  3987                  "type": "object"
  3988                },
  3989                "min": {
  3990                  "description": "The most recent minute bar for this ticker.",
  3991                  "properties": {
  3992                    "av": {
  3993                      "description": "The accumulated volume.",
  3994                      "type": "integer"
  3995                    },
  3996                    "c": {
  3997                      "description": "The close price for the symbol in the given time period.",
  3998                      "format": "double",
  3999                      "type": "number"
  4000                    },
  4001                    "h": {
  4002                      "description": "The highest price for the symbol in the given time period.",
  4003                      "format": "double",
  4004                      "type": "number"
  4005                    },
  4006                    "l": {
  4007                      "description": "The lowest price for the symbol in the given time period.",
  4008                      "format": "double",
  4009                      "type": "number"
  4010                    },
  4011                    "n": {
  4012                      "description": "The number of transactions in the aggregate window.",
  4013                      "type": "integer"
  4014                    },
  4015                    "o": {
  4016                      "description": "The open price for the symbol in the given time period.",
  4017                      "format": "double",
  4018                      "type": "number"
  4019                    },
  4020                    "otc": {
  4021                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  4022                      "type": "boolean"
  4023                    },
  4024                    "t": {
  4025                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  4026                      "type": "integer"
  4027                    },
  4028                    "v": {
  4029                      "description": "The trading volume of the symbol in the given time period.",
  4030                      "format": "double",
  4031                      "type": "number"
  4032                    },
  4033                    "vw": {
  4034                      "description": "The volume weighted average price.",
  4035                      "format": "double",
  4036                      "type": "number"
  4037                    }
  4038                  },
  4039                  "required": [
  4040                    "av",
  4041                    "o",
  4042                    "h",
  4043                    "l",
  4044                    "c",
  4045                    "v",
  4046                    "vw",
  4047                    "t",
  4048                    "n"
  4049                  ],
  4050                  "type": "object"
  4051                },
  4052                "prevDay": {
  4053                  "description": "The previous day's bar for this ticker.",
  4054                  "properties": {
  4055                    "c": {
  4056                      "description": "The close price for the symbol in the given time period.",
  4057                      "format": "double",
  4058                      "type": "number"
  4059                    },
  4060                    "h": {
  4061                      "description": "The highest price for the symbol in the given time period.",
  4062                      "format": "double",
  4063                      "type": "number"
  4064                    },
  4065                    "l": {
  4066                      "description": "The lowest price for the symbol in the given time period.",
  4067                      "format": "double",
  4068                      "type": "number"
  4069                    },
  4070                    "o": {
  4071                      "description": "The open price for the symbol in the given time period.",
  4072                      "format": "double",
  4073                      "type": "number"
  4074                    },
  4075                    "otc": {
  4076                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  4077                      "type": "boolean"
  4078                    },
  4079                    "v": {
  4080                      "description": "The trading volume of the symbol in the given time period.",
  4081                      "format": "double",
  4082                      "type": "number"
  4083                    },
  4084                    "vw": {
  4085                      "description": "The volume weighted average price.",
  4086                      "format": "double",
  4087                      "type": "number"
  4088                    }
  4089                  },
  4090                  "required": [
  4091                    "o",
  4092                    "h",
  4093                    "l",
  4094                    "c",
  4095                    "v",
  4096                    "vw"
  4097                  ],
  4098                  "type": "object"
  4099                },
  4100                "ticker": {
  4101                  "description": "The exchange symbol that this item is traded under.",
  4102                  "type": "string"
  4103                },
  4104                "todaysChange": {
  4105                  "description": "The value of the change from the previous day.",
  4106                  "format": "double",
  4107                  "type": "number"
  4108                },
  4109                "todaysChangePerc": {
  4110                  "description": "The percentage change since the previous day.",
  4111                  "format": "double",
  4112                  "type": "number"
  4113                },
  4114                "updated": {
  4115                  "description": "The last updated timestamp.",
  4116                  "type": "integer"
  4117                }
  4118              },
  4119              "type": "object"
  4120            }
  4121          },
  4122          "type": "object"
  4123        },
  4124        "StocksSnapshotTickers": {
  4125          "properties": {
  4126            "tickers": {
  4127              "items": {
  4128                "properties": {
  4129                  "day": {
  4130                    "description": "The most recent daily bar for this ticker.",
  4131                    "properties": {
  4132                      "c": {
  4133                        "description": "The close price for the symbol in the given time period.",
  4134                        "format": "double",
  4135                        "type": "number"
  4136                      },
  4137                      "h": {
  4138                        "description": "The highest price for the symbol in the given time period.",
  4139                        "format": "double",
  4140                        "type": "number"
  4141                      },
  4142                      "l": {
  4143                        "description": "The lowest price for the symbol in the given time period.",
  4144                        "format": "double",
  4145                        "type": "number"
  4146                      },
  4147                      "o": {
  4148                        "description": "The open price for the symbol in the given time period.",
  4149                        "format": "double",
  4150                        "type": "number"
  4151                      },
  4152                      "otc": {
  4153                        "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  4154                        "type": "boolean"
  4155                      },
  4156                      "v": {
  4157                        "description": "The trading volume of the symbol in the given time period.",
  4158                        "format": "double",
  4159                        "type": "number"
  4160                      },
  4161                      "vw": {
  4162                        "description": "The volume weighted average price.",
  4163                        "format": "double",
  4164                        "type": "number"
  4165                      }
  4166                    },
  4167                    "required": [
  4168                      "o",
  4169                      "h",
  4170                      "l",
  4171                      "c",
  4172                      "v",
  4173                      "vw"
  4174                    ],
  4175                    "type": "object"
  4176                  },
  4177                  "fmv": {
  4178                    "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
  4179                    "format": "double",
  4180                    "type": "number"
  4181                  },
  4182                  "lastQuote": {
  4183                    "description": "The most recent quote for this ticker.  This is only returned if your current plan includes quotes.",
  4184                    "properties": {
  4185                      "P": {
  4186                        "description": "The ask price.",
  4187                        "format": "double",
  4188                        "type": "number"
  4189                      },
  4190                      "S": {
  4191                        "description": "The ask size in lots.",
  4192                        "type": "integer"
  4193                      },
  4194                      "p": {
  4195                        "description": "The bid price.",
  4196                        "format": "double",
  4197                        "type": "number"
  4198                      },
  4199                      "s": {
  4200                        "description": "The bid size in lots.",
  4201                        "type": "integer"
  4202                      },
  4203                      "t": {
  4204                        "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  4205                        "type": "integer"
  4206                      }
  4207                    },
  4208                    "required": [
  4209                      "p",
  4210                      "s",
  4211                      "P",
  4212                      "S",
  4213                      "t"
  4214                    ],
  4215                    "type": "object"
  4216                  },
  4217                  "lastTrade": {
  4218                    "description": "The most recent trade for this ticker.  This is only returned if your current plan includes trades.",
  4219                    "properties": {
  4220                      "c": {
  4221                        "description": "The trade conditions.",
  4222                        "items": {
  4223                          "type": "integer"
  4224                        },
  4225                        "type": "array"
  4226                      },
  4227                      "i": {
  4228                        "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
  4229                        "type": "string"
  4230                      },
  4231                      "p": {
  4232                        "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
  4233                        "format": "double",
  4234                        "type": "number"
  4235                      },
  4236                      "s": {
  4237                        "description": "The size (volume) of the trade.",
  4238                        "type": "integer"
  4239                      },
  4240                      "t": {
  4241                        "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  4242                        "type": "integer"
  4243                      },
  4244                      "x": {
  4245                        "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  4246                        "type": "integer"
  4247                      }
  4248                    },
  4249                    "required": [
  4250                      "c",
  4251                      "i",
  4252                      "p",
  4253                      "s",
  4254                      "t",
  4255                      "x"
  4256                    ],
  4257                    "type": "object"
  4258                  },
  4259                  "min": {
  4260                    "description": "The most recent minute bar for this ticker.",
  4261                    "properties": {
  4262                      "av": {
  4263                        "description": "The accumulated volume.",
  4264                        "type": "integer"
  4265                      },
  4266                      "c": {
  4267                        "description": "The close price for the symbol in the given time period.",
  4268                        "format": "double",
  4269                        "type": "number"
  4270                      },
  4271                      "h": {
  4272                        "description": "The highest price for the symbol in the given time period.",
  4273                        "format": "double",
  4274                        "type": "number"
  4275                      },
  4276                      "l": {
  4277                        "description": "The lowest price for the symbol in the given time period.",
  4278                        "format": "double",
  4279                        "type": "number"
  4280                      },
  4281                      "n": {
  4282                        "description": "The number of transactions in the aggregate window.",
  4283                        "type": "integer"
  4284                      },
  4285                      "o": {
  4286                        "description": "The open price for the symbol in the given time period.",
  4287                        "format": "double",
  4288                        "type": "number"
  4289                      },
  4290                      "otc": {
  4291                        "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  4292                        "type": "boolean"
  4293                      },
  4294                      "t": {
  4295                        "description": "The Unix Msec timestamp for the start of the aggregate window.",
  4296                        "type": "integer"
  4297                      },
  4298                      "v": {
  4299                        "description": "The trading volume of the symbol in the given time period.",
  4300                        "format": "double",
  4301                        "type": "number"
  4302                      },
  4303                      "vw": {
  4304                        "description": "The volume weighted average price.",
  4305                        "format": "double",
  4306                        "type": "number"
  4307                      }
  4308                    },
  4309                    "required": [
  4310                      "av",
  4311                      "o",
  4312                      "h",
  4313                      "l",
  4314                      "c",
  4315                      "v",
  4316                      "vw",
  4317                      "t",
  4318                      "n"
  4319                    ],
  4320                    "type": "object"
  4321                  },
  4322                  "prevDay": {
  4323                    "description": "The previous day's bar for this ticker.",
  4324                    "properties": {
  4325                      "c": {
  4326                        "description": "The close price for the symbol in the given time period.",
  4327                        "format": "double",
  4328                        "type": "number"
  4329                      },
  4330                      "h": {
  4331                        "description": "The highest price for the symbol in the given time period.",
  4332                        "format": "double",
  4333                        "type": "number"
  4334                      },
  4335                      "l": {
  4336                        "description": "The lowest price for the symbol in the given time period.",
  4337                        "format": "double",
  4338                        "type": "number"
  4339                      },
  4340                      "o": {
  4341                        "description": "The open price for the symbol in the given time period.",
  4342                        "format": "double",
  4343                        "type": "number"
  4344                      },
  4345                      "otc": {
  4346                        "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  4347                        "type": "boolean"
  4348                      },
  4349                      "v": {
  4350                        "description": "The trading volume of the symbol in the given time period.",
  4351                        "format": "double",
  4352                        "type": "number"
  4353                      },
  4354                      "vw": {
  4355                        "description": "The volume weighted average price.",
  4356                        "format": "double",
  4357                        "type": "number"
  4358                      }
  4359                    },
  4360                    "required": [
  4361                      "o",
  4362                      "h",
  4363                      "l",
  4364                      "c",
  4365                      "v",
  4366                      "vw"
  4367                    ],
  4368                    "type": "object"
  4369                  },
  4370                  "ticker": {
  4371                    "description": "The exchange symbol that this item is traded under.",
  4372                    "type": "string"
  4373                  },
  4374                  "todaysChange": {
  4375                    "description": "The value of the change from the previous day.",
  4376                    "format": "double",
  4377                    "type": "number"
  4378                  },
  4379                  "todaysChangePerc": {
  4380                    "description": "The percentage change since the previous day.",
  4381                    "format": "double",
  4382                    "type": "number"
  4383                  },
  4384                  "updated": {
  4385                    "description": "The last updated timestamp.",
  4386                    "type": "integer"
  4387                  }
  4388                },
  4389                "type": "object"
  4390              },
  4391              "type": "array"
  4392            }
  4393          },
  4394          "type": "object"
  4395        },
  4396        "StocksTickerResultsOTC": {
  4397          "properties": {
  4398            "results": {
  4399              "items": {
  4400                "properties": {
  4401                  "c": {
  4402                    "description": "The close price for the symbol in the given time period.",
  4403                    "format": "double",
  4404                    "type": "number"
  4405                  },
  4406                  "h": {
  4407                    "description": "The highest price for the symbol in the given time period.",
  4408                    "format": "double",
  4409                    "type": "number"
  4410                  },
  4411                  "l": {
  4412                    "description": "The lowest price for the symbol in the given time period.",
  4413                    "format": "double",
  4414                    "type": "number"
  4415                  },
  4416                  "n": {
  4417                    "description": "The number of transactions in the aggregate window.",
  4418                    "type": "integer"
  4419                  },
  4420                  "o": {
  4421                    "description": "The open price for the symbol in the given time period.",
  4422                    "format": "double",
  4423                    "type": "number"
  4424                  },
  4425                  "otc": {
  4426                    "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  4427                    "type": "boolean"
  4428                  },
  4429                  "t": {
  4430                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
  4431                    "type": "integer"
  4432                  },
  4433                  "v": {
  4434                    "description": "The trading volume of the symbol in the given time period.",
  4435                    "format": "double",
  4436                    "type": "number"
  4437                  },
  4438                  "vw": {
  4439                    "description": "The volume weighted average price.",
  4440                    "format": "double",
  4441                    "type": "number"
  4442                  }
  4443                },
  4444                "required": [
  4445                  "o",
  4446                  "h",
  4447                  "l",
  4448                  "c",
  4449                  "v",
  4450                  "t"
  4451                ],
  4452                "type": "object"
  4453              },
  4454              "type": "array"
  4455            }
  4456          },
  4457          "type": "object"
  4458        },
  4459        "StocksV2Base": {
  4460          "properties": {
  4461            "T": {
  4462              "description": "The exchange symbol that this item is traded under.",
  4463              "type": "string"
  4464            },
  4465            "f": {
  4466              "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
  4467              "type": "integer"
  4468            },
  4469            "q": {
  4470              "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).\n",
  4471              "format": "int64",
  4472              "type": "integer"
  4473            },
  4474            "t": {
  4475              "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  4476              "type": "integer"
  4477            },
  4478            "y": {
  4479              "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
  4480              "type": "integer"
  4481            }
  4482          },
  4483          "required": [
  4484            "T",
  4485            "t",
  4486            "y",
  4487            "f",
  4488            "q"
  4489          ],
  4490          "type": "object"
  4491        },
  4492        "StocksV2NBBO": {
  4493          "allOf": [
  4494            {
  4495              "properties": {
  4496                "T": {
  4497                  "description": "The exchange symbol that this item is traded under.",
  4498                  "type": "string"
  4499                },
  4500                "f": {
  4501                  "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
  4502                  "type": "integer"
  4503                },
  4504                "q": {
  4505                  "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).\n",
  4506                  "format": "int64",
  4507                  "type": "integer"
  4508                },
  4509                "t": {
  4510                  "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  4511                  "type": "integer"
  4512                },
  4513                "y": {
  4514                  "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
  4515                  "type": "integer"
  4516                }
  4517              },
  4518              "required": [
  4519                "T",
  4520                "t",
  4521                "y",
  4522                "f",
  4523                "q"
  4524              ],
  4525              "type": "object"
  4526            },
  4527            {
  4528              "properties": {
  4529                "P": {
  4530                  "description": "The ask price.",
  4531                  "format": "double",
  4532                  "type": "number"
  4533                },
  4534                "S": {
  4535                  "description": "The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price.",
  4536                  "type": "integer"
  4537                },
  4538                "X": {
  4539                  "allOf": [
  4540                    {
  4541                      "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  4542                      "type": "integer"
  4543                    },
  4544                    {
  4545                      "description": "Ask Exchange Id"
  4546                    }
  4547                  ]
  4548                },
  4549                "c": {
  4550                  "description": "A list of condition codes.\n",
  4551                  "items": {
  4552                    "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
  4553                    "type": "integer"
  4554                  },
  4555                  "type": "array"
  4556                },
  4557                "i": {
  4558                  "description": "The indicators. For more information, see our glossary of [Conditions and\nIndicators](https://polygon.io/glossary/us/stocks/conditions-indicators).\n",
  4559                  "items": {
  4560                    "description": "The indicator code.\n",
  4561                    "type": "integer"
  4562                  },
  4563                  "type": "array"
  4564                },
  4565                "p": {
  4566                  "description": "The bid price.",
  4567                  "format": "double",
  4568                  "type": "number"
  4569                },
  4570                "s": {
  4571                  "description": "The bid size. This represents the number of round lot orders at the given bid price. The normal round lot size is 100 shares. A bid size of 2 means there are 200 shares for purchase at the given bid price.",
  4572                  "type": "integer"
  4573                },
  4574                "x": {
  4575                  "allOf": [
  4576                    {
  4577                      "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  4578                      "type": "integer"
  4579                    },
  4580                    {
  4581                      "description": "Bid Exchange Id"
  4582                    }
  4583                  ]
  4584                },
  4585                "z": {
  4586                  "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ\n",
  4587                  "type": "integer"
  4588                }
  4589              },
  4590              "required": [
  4591                "c",
  4592                "i",
  4593                "p",
  4594                "s",
  4595                "x",
  4596                "P",
  4597                "S",
  4598                "X",
  4599                "z"
  4600              ],
  4601              "type": "object"
  4602            }
  4603          ]
  4604        },
  4605        "StocksV2NBBOs": {
  4606          "properties": {
  4607            "results": {
  4608              "items": {
  4609                "allOf": [
  4610                  {
  4611                    "properties": {
  4612                      "T": {
  4613                        "description": "The exchange symbol that this item is traded under.",
  4614                        "type": "string"
  4615                      },
  4616                      "f": {
  4617                        "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
  4618                        "type": "integer"
  4619                      },
  4620                      "q": {
  4621                        "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).\n",
  4622                        "format": "int64",
  4623                        "type": "integer"
  4624                      },
  4625                      "t": {
  4626                        "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  4627                        "type": "integer"
  4628                      },
  4629                      "y": {
  4630                        "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
  4631                        "type": "integer"
  4632                      }
  4633                    },
  4634                    "required": [
  4635                      "T",
  4636                      "t",
  4637                      "y",
  4638                      "f",
  4639                      "q"
  4640                    ],
  4641                    "type": "object"
  4642                  },
  4643                  {
  4644                    "properties": {
  4645                      "P": {
  4646                        "description": "The ask price.",
  4647                        "format": "double",
  4648                        "type": "number"
  4649                      },
  4650                      "S": {
  4651                        "description": "The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price.",
  4652                        "type": "integer"
  4653                      },
  4654                      "X": {
  4655                        "allOf": [
  4656                          {
  4657                            "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  4658                            "type": "integer"
  4659                          },
  4660                          {
  4661                            "description": "Ask Exchange Id"
  4662                          }
  4663                        ]
  4664                      },
  4665                      "c": {
  4666                        "description": "A list of condition codes.\n",
  4667                        "items": {
  4668                          "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
  4669                          "type": "integer"
  4670                        },
  4671                        "type": "array"
  4672                      },
  4673                      "i": {
  4674                        "description": "The indicators. For more information, see our glossary of [Conditions and\nIndicators](https://polygon.io/glossary/us/stocks/conditions-indicators).\n",
  4675                        "items": {
  4676                          "description": "The indicator code.\n",
  4677                          "type": "integer"
  4678                        },
  4679                        "type": "array"
  4680                      },
  4681                      "p": {
  4682                        "description": "The bid price.",
  4683                        "format": "double",
  4684                        "type": "number"
  4685                      },
  4686                      "s": {
  4687                        "description": "The bid size. This represents the number of round lot orders at the given bid price. The normal round lot size is 100 shares. A bid size of 2 means there are 200 shares for purchase at the given bid price.",
  4688                        "type": "integer"
  4689                      },
  4690                      "x": {
  4691                        "allOf": [
  4692                          {
  4693                            "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  4694                            "type": "integer"
  4695                          },
  4696                          {
  4697                            "description": "Bid Exchange Id"
  4698                          }
  4699                        ]
  4700                      },
  4701                      "z": {
  4702                        "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ\n",
  4703                        "type": "integer"
  4704                      }
  4705                    },
  4706                    "required": [
  4707                      "c",
  4708                      "i",
  4709                      "p",
  4710                      "s",
  4711                      "x",
  4712                      "P",
  4713                      "S",
  4714                      "X",
  4715                      "z"
  4716                    ],
  4717                    "type": "object"
  4718                  }
  4719                ]
  4720              },
  4721              "type": "array"
  4722            }
  4723          },
  4724          "type": "object"
  4725        },
  4726        "StocksV2Trade": {
  4727          "allOf": [
  4728            {
  4729              "properties": {
  4730                "T": {
  4731                  "description": "The exchange symbol that this item is traded under.",
  4732                  "type": "string"
  4733                },
  4734                "f": {
  4735                  "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
  4736                  "type": "integer"
  4737                },
  4738                "q": {
  4739                  "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).\n",
  4740                  "format": "int64",
  4741                  "type": "integer"
  4742                },
  4743                "t": {
  4744                  "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  4745                  "type": "integer"
  4746                },
  4747                "y": {
  4748                  "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
  4749                  "type": "integer"
  4750                }
  4751              },
  4752              "required": [
  4753                "T",
  4754                "t",
  4755                "y",
  4756                "f",
  4757                "q"
  4758              ],
  4759              "type": "object"
  4760            },
  4761            {
  4762              "properties": {
  4763                "c": {
  4764                  "description": "A list of condition codes.\n",
  4765                  "items": {
  4766                    "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
  4767                    "type": "integer"
  4768                  },
  4769                  "type": "array"
  4770                },
  4771                "e": {
  4772                  "description": "The trade correction indicator.\n",
  4773                  "type": "integer"
  4774                },
  4775                "i": {
  4776                  "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
  4777                  "type": "string"
  4778                },
  4779                "p": {
  4780                  "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
  4781                  "format": "double",
  4782                  "type": "number"
  4783                },
  4784                "r": {
  4785                  "description": "The ID for the Trade Reporting Facility where the trade took place.\n",
  4786                  "type": "integer"
  4787                },
  4788                "s": {
  4789                  "description": "The size of a trade (also known as volume).\n",
  4790                  "format": "double",
  4791                  "type": "number"
  4792                },
  4793                "x": {
  4794                  "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  4795                  "type": "integer"
  4796                },
  4797                "z": {
  4798                  "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ\n",
  4799                  "type": "integer"
  4800                }
  4801              },
  4802              "required": [
  4803                "c",
  4804                "i",
  4805                "p",
  4806                "s",
  4807                "e",
  4808                "x",
  4809                "r",
  4810                "z"
  4811              ],
  4812              "type": "object"
  4813            }
  4814          ]
  4815        },
  4816        "StocksV2Trades": {
  4817          "properties": {
  4818            "results": {
  4819              "items": {
  4820                "allOf": [
  4821                  {
  4822                    "properties": {
  4823                      "T": {
  4824                        "description": "The exchange symbol that this item is traded under.",
  4825                        "type": "string"
  4826                      },
  4827                      "f": {
  4828                        "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
  4829                        "type": "integer"
  4830                      },
  4831                      "q": {
  4832                        "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).\n",
  4833                        "format": "int64",
  4834                        "type": "integer"
  4835                      },
  4836                      "t": {
  4837                        "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  4838                        "type": "integer"
  4839                      },
  4840                      "y": {
  4841                        "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
  4842                        "type": "integer"
  4843                      }
  4844                    },
  4845                    "required": [
  4846                      "T",
  4847                      "t",
  4848                      "y",
  4849                      "f",
  4850                      "q"
  4851                    ],
  4852                    "type": "object"
  4853                  },
  4854                  {
  4855                    "properties": {
  4856                      "c": {
  4857                        "description": "A list of condition codes.\n",
  4858                        "items": {
  4859                          "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
  4860                          "type": "integer"
  4861                        },
  4862                        "type": "array"
  4863                      },
  4864                      "e": {
  4865                        "description": "The trade correction indicator.\n",
  4866                        "type": "integer"
  4867                      },
  4868                      "i": {
  4869                        "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
  4870                        "type": "string"
  4871                      },
  4872                      "p": {
  4873                        "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
  4874                        "format": "double",
  4875                        "type": "number"
  4876                      },
  4877                      "r": {
  4878                        "description": "The ID for the Trade Reporting Facility where the trade took place.\n",
  4879                        "type": "integer"
  4880                      },
  4881                      "s": {
  4882                        "description": "The size of a trade (also known as volume).\n",
  4883                        "format": "double",
  4884                        "type": "number"
  4885                      },
  4886                      "x": {
  4887                        "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  4888                        "type": "integer"
  4889                      },
  4890                      "z": {
  4891                        "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ\n",
  4892                        "type": "integer"
  4893                      }
  4894                    },
  4895                    "required": [
  4896                      "c",
  4897                      "i",
  4898                      "p",
  4899                      "s",
  4900                      "e",
  4901                      "x",
  4902                      "r",
  4903                      "z"
  4904                    ],
  4905                    "type": "object"
  4906                  }
  4907                ]
  4908              },
  4909              "type": "array"
  4910            }
  4911          },
  4912          "type": "object"
  4913        },
  4914        "SymbolPair": {
  4915          "description": "The symbol pair that was evaluated from the request.",
  4916          "type": "string"
  4917        },
  4918        "Tape": {
  4919          "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ\n",
  4920          "type": "integer"
  4921        },
  4922        "TickerBase": {
  4923          "properties": {
  4924            "ticker": {
  4925              "description": "The exchange symbol that this item is traded under.",
  4926              "type": "string"
  4927            }
  4928          },
  4929          "required": [
  4930            "ticker"
  4931          ],
  4932          "type": "object"
  4933        },
  4934        "TickerResults": {
  4935          "properties": {
  4936            "results": {
  4937              "items": {
  4938                "properties": {
  4939                  "c": {
  4940                    "description": "The close price for the symbol in the given time period.",
  4941                    "format": "double",
  4942                    "type": "number"
  4943                  },
  4944                  "h": {
  4945                    "description": "The highest price for the symbol in the given time period.",
  4946                    "format": "double",
  4947                    "type": "number"
  4948                  },
  4949                  "l": {
  4950                    "description": "The lowest price for the symbol in the given time period.",
  4951                    "format": "double",
  4952                    "type": "number"
  4953                  },
  4954                  "n": {
  4955                    "description": "The number of transactions in the aggregate window.",
  4956                    "type": "integer"
  4957                  },
  4958                  "o": {
  4959                    "description": "The open price for the symbol in the given time period.",
  4960                    "format": "double",
  4961                    "type": "number"
  4962                  },
  4963                  "t": {
  4964                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
  4965                    "type": "integer"
  4966                  },
  4967                  "v": {
  4968                    "description": "The trading volume of the symbol in the given time period.",
  4969                    "format": "double",
  4970                    "type": "number"
  4971                  },
  4972                  "vw": {
  4973                    "description": "The volume weighted average price.",
  4974                    "format": "double",
  4975                    "type": "number"
  4976                  }
  4977                },
  4978                "required": [
  4979                  "o",
  4980                  "h",
  4981                  "l",
  4982                  "c",
  4983                  "v",
  4984                  "t"
  4985                ],
  4986                "type": "object"
  4987              },
  4988              "type": "array"
  4989            }
  4990          },
  4991          "type": "object"
  4992        },
  4993        "TickerSymbol": {
  4994          "description": "The exchange symbol that this item is traded under.",
  4995          "type": "string"
  4996        },
  4997        "Timestamp": {
  4998          "description": "The Unix Msec timestamp for the start of the aggregate window.",
  4999          "type": "integer"
  5000        },
  5001        "TimestampExchange": {
  5002          "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
  5003          "type": "integer"
  5004        },
  5005        "TimestampSIP": {
  5006          "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
  5007          "type": "integer"
  5008        },
  5009        "TimestampTRF": {
  5010          "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
  5011          "type": "integer"
  5012        },
  5013        "TodaysChange": {
  5014          "description": "The value of the change from the previous day.",
  5015          "format": "double",
  5016          "type": "number"
  5017        },
  5018        "TodaysChangePerc": {
  5019          "description": "The percentage change since the previous day.",
  5020          "format": "double",
  5021          "type": "number"
  5022        },
  5023        "TradeDetailsMapItem": {
  5024          "properties": {
  5025            "name": {
  5026              "description": "Name of the trade detail item",
  5027              "type": "string"
  5028            },
  5029            "type": {
  5030              "description": "Actual type of the trade detail item",
  5031              "type": "string"
  5032            }
  5033          },
  5034          "type": "object"
  5035        },
  5036        "TradeExchange": {
  5037          "description": "The exchange that this trade happened on.",
  5038          "type": "integer"
  5039        },
  5040        "TradeId": {
  5041          "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
  5042          "type": "string"
  5043        },
  5044        "Updated": {
  5045          "description": "The last updated timestamp.",
  5046          "type": "integer"
  5047        },
  5048        "V1LastBase": {
  5049          "properties": {
  5050            "request_id": {
  5051              "description": "A request id assigned by the server.",
  5052              "type": "string"
  5053            },
  5054            "status": {
  5055              "description": "The status of this request's response.",
  5056              "type": "string"
  5057            },
  5058            "symbol": {
  5059              "description": "The exchange symbol that this item is traded under.",
  5060              "type": "string"
  5061            }
  5062          },
  5063          "required": [
  5064            "symbol",
  5065            "status",
  5066            "request_id"
  5067          ],
  5068          "type": "object"
  5069        },
  5070        "V2AggsBase": {
  5071          "properties": {
  5072            "adjusted": {
  5073              "description": "Whether or not this response was adjusted for splits.",
  5074              "type": "boolean"
  5075            },
  5076            "queryCount": {
  5077              "description": "The number of aggregates (minute or day) used to generate the response.",
  5078              "type": "integer"
  5079            },
  5080            "request_id": {
  5081              "description": "A request id assigned by the server.",
  5082              "type": "string"
  5083            },
  5084            "resultsCount": {
  5085              "description": "The total number of results for this request.",
  5086              "type": "integer"
  5087            },
  5088            "status": {
  5089              "description": "The status of this request's response.",
  5090              "type": "string"
  5091            }
  5092          },
  5093          "required": [
  5094            "status",
  5095            "adjusted",
  5096            "queryCount",
  5097            "resultsCount",
  5098            "request_id"
  5099          ],
  5100          "type": "object"
  5101        },
  5102        "V2LastBase": {
  5103          "properties": {
  5104            "request_id": {
  5105              "description": "A request id assigned by the server.",
  5106              "type": "string"
  5107            },
  5108            "status": {
  5109              "description": "The status of this request's response.",
  5110              "type": "string"
  5111            }
  5112          },
  5113          "required": [
  5114            "status",
  5115            "request_id"
  5116          ],
  5117          "type": "object"
  5118        },
  5119        "V2TicksBase": {
  5120          "properties": {
  5121            "db_latency": {
  5122              "description": "Latency in milliseconds for the query results from the database.",
  5123              "type": "integer"
  5124            },
  5125            "results_count": {
  5126              "description": "The total number of results for this request.",
  5127              "type": "integer"
  5128            },
  5129            "success": {
  5130              "description": "Whether or not this query was executed successfully.",
  5131              "type": "boolean"
  5132            },
  5133            "ticker": {
  5134              "description": "The exchange symbol that this item is traded under.",
  5135              "type": "string"
  5136            }
  5137          },
  5138          "type": "object"
  5139        },
  5140        "Volume": {
  5141          "description": "The trading volume of the symbol in the given time period.",
  5142          "format": "double",
  5143          "type": "number"
  5144        },
  5145        "VolumeWeight": {
  5146          "description": "The volume weighted average price.",
  5147          "format": "double",
  5148          "type": "number"
  5149        }
  5150      },
  5151      "securitySchemes": {
  5152        "apiKey": {
  5153          "in": "query",
  5154          "name": "apiKey",
  5155          "type": "apiKey"
  5156        }
  5157      }
  5158    },
  5159    "info": {
  5160      "description": "The future of fintech.",
  5161      "title": "Polygon API",
  5162      "version": "1.0.0"
  5163    },
  5164    "openapi": "3.0.3",
  5165    "paths": {
  5166      "/v1/conversion/{from}/{to}": {
  5167        "get": {
  5168          "description": "Get currency conversions using the latest market conversion rates. Note than you can convert in both directions. For example USD to CAD or CAD to USD.",
  5169          "operationId": "RealTimeCurrencyConversion",
  5170          "parameters": [
  5171            {
  5172              "description": "The \"from\" symbol of the pair.",
  5173              "example": "AUD",
  5174              "in": "path",
  5175              "name": "from",
  5176              "required": true,
  5177              "schema": {
  5178                "type": "string"
  5179              }
  5180            },
  5181            {
  5182              "description": "The \"to\" symbol of the pair.",
  5183              "example": "USD",
  5184              "in": "path",
  5185              "name": "to",
  5186              "required": true,
  5187              "schema": {
  5188                "type": "string"
  5189              }
  5190            },
  5191            {
  5192              "description": "The amount to convert, with a decimal.",
  5193              "example": 100,
  5194              "in": "query",
  5195              "name": "amount",
  5196              "schema": {
  5197                "default": 1,
  5198                "type": "number"
  5199              }
  5200            },
  5201            {
  5202              "description": "The decimal precision of the conversion. Defaults to 2 which is 2 decimal places accuracy.",
  5203              "example": 2,
  5204              "in": "query",
  5205              "name": "precision",
  5206              "schema": {
  5207                "default": 2,
  5208                "enum": [
  5209                  0,
  5210                  1,
  5211                  2,
  5212                  3,
  5213                  4
  5214                ],
  5215                "type": "integer"
  5216              }
  5217            }
  5218          ],
  5219          "responses": {
  5220            "200": {
  5221              "content": {
  5222                "application/json": {
  5223                  "example": {
  5224                    "converted": 73.14,
  5225                    "from": "AUD",
  5226                    "initialAmount": 100,
  5227                    "last": {
  5228                      "ask": 1.3673344,
  5229                      "bid": 1.3672596,
  5230                      "exchange": 48,
  5231                      "timestamp": 1605555313000
  5232                    },
  5233                    "request_id": "a73a29dbcab4613eeaf48583d3baacf0",
  5234                    "status": "success",
  5235                    "symbol": "AUD/USD",
  5236                    "to": "USD"
  5237                  },
  5238                  "schema": {
  5239                    "properties": {
  5240                      "converted": {
  5241                        "description": "The result of the conversion.",
  5242                        "format": "double",
  5243                        "type": "number"
  5244                      },
  5245                      "from": {
  5246                        "description": "The \"from\" currency symbol.",
  5247                        "type": "string"
  5248                      },
  5249                      "initialAmount": {
  5250                        "description": "The amount to convert.",
  5251                        "format": "double",
  5252                        "type": "number",
  5253                        "x-polygon-go-type": {
  5254                          "name": "*float64"
  5255                        }
  5256                      },
  5257                      "last": {
  5258                        "properties": {
  5259                          "ask": {
  5260                            "description": "The ask price.",
  5261                            "format": "double",
  5262                            "type": "number"
  5263                          },
  5264                          "bid": {
  5265                            "description": "The bid price.",
  5266                            "format": "double",
  5267                            "type": "number"
  5268                          },
  5269                          "exchange": {
  5270                            "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/forex/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  5271                            "type": "integer"
  5272                          },
  5273                          "timestamp": {
  5274                            "description": "The Unix millisecond timestamp.",
  5275                            "type": "integer",
  5276                            "x-polygon-go-type": {
  5277                              "name": "IMilliseconds",
  5278                              "path": "github.com/polygon-io/ptime"
  5279                            }
  5280                          }
  5281                        },
  5282                        "required": [
  5283                          "exchange",
  5284                          "timestamp",
  5285                          "ask",
  5286                          "bid"
  5287                        ],
  5288                        "type": "object",
  5289                        "x-polygon-go-type": {
  5290                          "name": "LastQuoteCurrencies"
  5291                        }
  5292                      },
  5293                      "request_id": {
  5294                        "description": "A request id assigned by the server.",
  5295                        "type": "string"
  5296                      },
  5297                      "status": {
  5298                        "description": "The status of this request's response.",
  5299                        "type": "string"
  5300                      },
  5301                      "symbol": {
  5302                        "description": "The symbol pair that was evaluated from the request.",
  5303                        "type": "string"
  5304                      },
  5305                      "to": {
  5306                        "description": "The \"to\" currency symbol.",
  5307                        "type": "string"
  5308                      }
  5309                    },
  5310                    "required": [
  5311                      "status",
  5312                      "request_id",
  5313                      "from",
  5314                      "to",
  5315                      "symbol",
  5316                      "initialAmount",
  5317                      "converted"
  5318                    ],
  5319                    "type": "object"
  5320                  }
  5321                },
  5322                "text/csv": {
  5323                  "example": "ask,bid,exchange,timestamp\n1.3673344,1.3672596,48,1605555313000\n",
  5324                  "schema": {
  5325                    "type": "string"
  5326                  }
  5327                }
  5328              },
  5329              "description": "The last tick for this currency pair, plus the converted amount for the requested amount."
  5330            },
  5331            "default": {
  5332              "description": "Unexpected error"
  5333            }
  5334          },
  5335          "summary": "Real-time Currency Conversion",
  5336          "tags": [
  5337            "fx:conversion"
  5338          ],
  5339          "x-polygon-entitlement-data-type": {
  5340            "description": "NBBO data",
  5341            "name": "nbbo"
  5342          },
  5343          "x-polygon-entitlement-market-type": {
  5344            "description": "Forex data",
  5345            "name": "fx"
  5346          }
  5347        }
  5348      },
  5349      "/v1/historic/crypto/{from}/{to}/{date}": {
  5350        "get": {
  5351          "description": "Get historic trade ticks for a cryptocurrency pair.\n",
  5352          "parameters": [
  5353            {
  5354              "description": "The \"from\" symbol of the crypto pair.",
  5355              "example": "BTC",
  5356              "in": "path",
  5357              "name": "from",
  5358              "required": true,
  5359              "schema": {
  5360                "type": "string"
  5361              }
  5362            },
  5363            {
  5364              "description": "The \"to\" symbol of the crypto pair.",
  5365              "example": "USD",
  5366              "in": "path",
  5367              "name": "to",
  5368              "required": true,
  5369              "schema": {
  5370                "type": "string"
  5371              }
  5372            },
  5373            {
  5374              "description": "The date/day of the historic ticks to retrieve.",
  5375              "example": "2020-10-14",
  5376              "in": "path",
  5377              "name": "date",
  5378              "required": true,
  5379              "schema": {
  5380                "format": "date",
  5381                "type": "string"
  5382              }
  5383            },
  5384            {
  5385              "description": "The timestamp offset, used for pagination. This is the offset at which to start the results. Using the `timestamp` of the last result as the offset will give you the next page of results.\n",
  5386              "in": "query",
  5387              "name": "offset",
  5388              "schema": {
  5389                "type": "integer"
  5390              }
  5391            },
  5392            {
  5393              "description": "Limit the size of the response, max 10000.",
  5394              "example": 100,
  5395              "in": "query",
  5396              "name": "limit",
  5397              "schema": {
  5398                "type": "integer"
  5399              }
  5400            }
  5401          ],
  5402          "responses": {
  5403            "200": {
  5404              "content": {
  5405                "application/json": {
  5406                  "example": {
  5407                    "day": "2020-10-14T00:00:00.000Z",
  5408                    "map": {
  5409                      "c": "conditions",
  5410                      "p": "price",
  5411                      "s": "size",
  5412                      "t": "timestamp",
  5413                      "x": "exchange"
  5414                    },
  5415                    "msLatency": 1,
  5416                    "status": "success",
  5417                    "symbol": "BTC-USD",
  5418                    "ticks": [
  5419                      {
  5420                        "c": [
  5421                          2
  5422                        ],
  5423                        "p": 15482.89,
  5424                        "s": 0.00188217,
  5425                        "t": 1604880000067,
  5426                        "x": 1
  5427                      },
  5428                      {
  5429                        "c": [
  5430                          2
  5431                        ],
  5432                        "p": 15482.11,
  5433                        "s": 0.00161739,
  5434                        "t": 1604880000167,
  5435                        "x": 1
  5436                      }
  5437                    ],
  5438                    "type": "crypto"
  5439                  },
  5440                  "schema": {
  5441                    "allOf": [
  5442                      {
  5443                        "description": "The status of this request's response.",
  5444                        "type": "string"
  5445                      },
  5446                      {
  5447                        "properties": {
  5448                          "day": {
  5449                            "description": "The date that was evaluated from the request.",
  5450                            "format": "date",
  5451                            "type": "string"
  5452                          },
  5453                          "map": {
  5454                            "description": "A map for shortened result keys.",
  5455                            "type": "object"
  5456                          },
  5457                          "msLatency": {
  5458                            "description": "The milliseconds of latency for the query results.",
  5459                            "type": "integer"
  5460                          },
  5461                          "symbol": {
  5462                            "description": "The symbol pair that was evaluated from the request.",
  5463                            "type": "string"
  5464                          },
  5465                          "ticks": {
  5466                            "items": {
  5467                              "properties": {
  5468                                "c": {
  5469                                  "description": "A list of condition codes.\n",
  5470                                  "items": {
  5471                                    "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
  5472                                    "type": "integer"
  5473                                  },
  5474                                  "type": "array"
  5475                                },
  5476                                "i": {
  5477                                  "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
  5478                                  "type": "string"
  5479                                },
  5480                                "p": {
  5481                                  "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
  5482                                  "format": "double",
  5483                                  "type": "number"
  5484                                },
  5485                                "s": {
  5486                                  "description": "The size of a trade (also known as volume).\n",
  5487                                  "format": "double",
  5488                                  "type": "number"
  5489                                },
  5490                                "t": {
  5491                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
  5492                                  "type": "integer"
  5493                                },
  5494                                "x": {
  5495                                  "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
  5496                                  "type": "integer"
  5497                                }
  5498                              },
  5499                              "required": [
  5500                                "p",
  5501                                "s",
  5502                                "x",
  5503                                "c",
  5504                                "t",
  5505                                "i"
  5506                              ],
  5507                              "type": "object"
  5508                            },
  5509                            "type": "array"
  5510                          }
  5511                        },
  5512                        "required": [
  5513                          "day",
  5514                          "map",
  5515                          "msLatency",
  5516                          "symbol",
  5517                          "ticks"
  5518                        ],
  5519                        "type": "object"
  5520                      }
  5521                    ]
  5522                  }
  5523                }
  5524              },
  5525              "description": "An array of crypto trade ticks."
  5526            },
  5527            "default": {
  5528              "description": "Unexpected error"
  5529            }
  5530          },
  5531          "summary": "Historic Crypto Trades",
  5532          "tags": [
  5533            "crypto:trades"
  5534          ],
  5535          "x-polygon-deprecation": {
  5536            "date": 1654056060000,
  5537            "replaces": {
  5538              "name": "Trades v3",
  5539              "path": "get_v3_trades__cryptoticker"
  5540            }
  5541          },
  5542          "x-polygon-entitlement-data-type": {
  5543            "description": "Trade data",
  5544            "name": "trades"
  5545          },
  5546          "x-polygon-entitlement-market-type": {
  5547            "description": "Crypto data",
  5548            "name": "crypto"
  5549          }
  5550        }
  5551      },
  5552      "/v1/historic/forex/{from}/{to}/{date}": {
  5553        "get": {
  5554          "description": "Get historic ticks for a forex currency pair.\n",
  5555          "parameters": [
  5556            {
  5557              "description": "The \"from\" symbol of the currency pair.\n\nExample: For **USD/JPY** the `from` would be **USD**.\n",
  5558              "example": "AUD",
  5559              "in": "path",
  5560              "name": "from",
  5561              "required": true,
  5562              "schema": {
  5563                "type": "string"
  5564              }
  5565            },
  5566            {
  5567              "description": "The \"to\" symbol of the currency pair.\n\nExample: For **USD/JPY** the `to` would be **JPY**.\n",
  5568              "example": "USD",
  5569              "in": "path",
  5570              "name": "to",
  5571              "required": true,
  5572              "schema": {
  5573                "type": "string"
  5574              }
  5575            },
  5576            {
  5577              "description": "The date/day of the historic ticks to retrieve.",
  5578              "example": "2020-10-14",
  5579              "in": "path",
  5580              "name": "date",
  5581              "required": true,
  5582              "schema": {
  5583                "format": "date",
  5584                "type": "string"
  5585              }
  5586            },
  5587            {
  5588              "description": "The timestamp offset, used for pagination. This is the offset at which to start the results. Using the `timestamp` of the last result as the offset will give you the next page of results.\n",
  5589              "in": "query",
  5590              "name": "offset",
  5591              "schema": {
  5592                "type": "integer"
  5593              }
  5594            },
  5595            {
  5596              "description": "Limit the size of the response, max 10000.",
  5597              "example": 100,
  5598              "in": "query",
  5599              "name": "limit",
  5600              "schema": {
  5601                "type": "integer"
  5602              }
  5603            }
  5604          ],
  5605          "responses": {
  5606            "200": {
  5607              "content": {
  5608                "application/json": {
  5609                  "example": {
  5610                    "day": "2020-10-14",
  5611                    "map": {
  5612                      "ap": "ask",
  5613                      "bp": "bid",
  5614                      "t": "timestamp"
  5615                    },
  5616                    "msLatency": "0",
  5617                    "pair": "AUD/USD",
  5618                    "status": "success",
  5619                    "ticks": [
  5620                      {
  5621                        "ap": 0.71703,
  5622                        "bp": 0.71701,
  5623                        "t": 1602633600000,
  5624                        "x": 48
  5625                      },
  5626                      {
  5627                        "ap": 0.71703,
  5628                        "bp": 0.717,
  5629                        "t": 1602633600000,
  5630                        "x": 48
  5631                      },
  5632                      {
  5633                        "ap": 0.71702,
  5634                        "bp": 0.717,
  5635                        "t": 1602633600000,
  5636                        "x": 48
  5637                      }
  5638                    ],
  5639                    "type": "forex"
  5640                  },
  5641                  "schema": {
  5642                    "allOf": [
  5643                      {
  5644                        "properties": {
  5645                          "status": {
  5646                            "description": "The status of this request's response.",
  5647                            "type": "string"
  5648                          }
  5649                        },
  5650                        "required": [
  5651                          "status"
  5652                        ],
  5653                        "type": "object"
  5654                      },
  5655                      {
  5656                        "properties": {
  5657                          "day": {
  5658                            "description": "The date that was evaluated from the request.",
  5659                            "format": "date",
  5660                            "type": "string"
  5661                          },
  5662                          "map": {
  5663                            "description": "A map for shortened result keys.",
  5664                            "type": "object"
  5665                          },
  5666                          "msLatency": {
  5667                            "description": "The milliseconds of latency for the query results.",
  5668                            "type": "integer"
  5669                          },
  5670                          "pair": {
  5671                            "description": "The currency pair that was evaluated from the request.",
  5672                            "type": "string"
  5673                          },
  5674                          "ticks": {
  5675                            "items": {
  5676                              "properties": {
  5677                                "a": {
  5678                                  "description": "The ask price.",
  5679                                  "format": "double",
  5680                                  "type": "number"
  5681                                },
  5682                                "b": {
  5683                                  "description": "The bid price.",
  5684                                  "format": "double",
  5685                                  "type": "number"
  5686                                },
  5687                                "t": {
  5688                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
  5689                                  "type": "integer"
  5690                                },
  5691                                "x": {
  5692                                  "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/forex/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
  5693                                  "type": "integer"
  5694                                }
  5695                              },
  5696                              "required": [
  5697                                "a",
  5698                                "b",
  5699                                "x",
  5700                                "t"
  5701                              ],
  5702                              "type": "object"
  5703                            },
  5704                            "type": "array"
  5705                          }
  5706                        },
  5707                        "required": [
  5708                          "day",
  5709                          "map",
  5710                          "msLatency",
  5711                          "pair",
  5712                          "ticks"
  5713                        ],
  5714                        "type": "object"
  5715                      }
  5716                    ]
  5717                  }
  5718                }
  5719              },
  5720              "description": "An array of forex ticks"
  5721            },
  5722            "default": {
  5723              "description": "Unexpected error"
  5724            }
  5725          },
  5726          "summary": "Historic Forex Ticks",
  5727          "tags": [
  5728            "fx:trades"
  5729          ],
  5730          "x-polygon-deprecation": {
  5731            "date": 1654056060000,
  5732            "replaces": {
  5733              "name": "Quotes (BBO) v3",
  5734              "path": "get_v3_quotes__fxticker"
  5735            }
  5736          },
  5737          "x-polygon-entitlement-data-type": {
  5738            "description": "NBBO data",
  5739            "name": "nbbo"
  5740          },
  5741          "x-polygon-entitlement-market-type": {
  5742            "description": "Forex data",
  5743            "name": "fx"
  5744          }
  5745        }
  5746      },
  5747      "/v1/indicators/ema/{cryptoTicker}": {
  5748        "get": {
  5749          "description": "Get the exponential moving average (EMA) for a ticker symbol over a given time range.",
  5750          "operationId": "CryptoEMA",
  5751          "parameters": [
  5752            {
  5753              "description": "The ticker symbol for which to get exponential moving average (EMA) data.",
  5754              "example": "X:BTCUSD",
  5755              "in": "path",
  5756              "name": "cryptoTicker",
  5757              "required": true,
  5758              "schema": {
  5759                "type": "string"
  5760              },
  5761              "x-polygon-go-id": "Ticker"
  5762            },
  5763            {
  5764              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  5765              "in": "query",
  5766              "name": "timestamp",
  5767              "schema": {
  5768                "type": "string"
  5769              },
  5770              "x-polygon-filter-field": {
  5771                "range": true
  5772              }
  5773            },
  5774            {
  5775              "description": "The size of the aggregate time window.",
  5776              "example": "day",
  5777              "in": "query",
  5778              "name": "timespan",
  5779              "schema": {
  5780                "default": "day",
  5781                "enum": [
  5782                  "minute",
  5783                  "hour",
  5784                  "day",
  5785                  "week",
  5786                  "month",
  5787                  "quarter",
  5788                  "year"
  5789                ],
  5790                "type": "string"
  5791              }
  5792            },
  5793            {
  5794              "description": "The window size used to calculate the exponential moving average (EMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
  5795              "example": 50,
  5796              "in": "query",
  5797              "name": "window",
  5798              "schema": {
  5799                "default": 50,
  5800                "type": "integer"
  5801              }
  5802            },
  5803            {
  5804              "description": "The price in the aggregate which will be used to calculate the exponential moving average. i.e. 'close' will result in using close prices to \ncalculate the exponential moving average (EMA).",
  5805              "example": "close",
  5806              "in": "query",
  5807              "name": "series_type",
  5808              "schema": {
  5809                "default": "close",
  5810                "enum": [
  5811                  "open",
  5812                  "high",
  5813                  "low",
  5814                  "close"
  5815                ],
  5816                "type": "string"
  5817              }
  5818            },
  5819            {
  5820              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  5821              "in": "query",
  5822              "name": "expand_underlying",
  5823              "schema": {
  5824                "default": false,
  5825                "type": "boolean"
  5826              }
  5827            },
  5828            {
  5829              "description": "The order in which to return the results, ordered by timestamp.",
  5830              "example": "desc",
  5831              "in": "query",
  5832              "name": "order",
  5833              "schema": {
  5834                "default": "desc",
  5835                "enum": [
  5836                  "asc",
  5837                  "desc"
  5838                ],
  5839                "type": "string"
  5840              }
  5841            },
  5842            {
  5843              "description": "Limit the number of results returned, default is 10 and max is 5000",
  5844              "in": "query",
  5845              "name": "limit",
  5846              "schema": {
  5847                "default": 10,
  5848                "maximum": 5000,
  5849                "type": "integer"
  5850              }
  5851            },
  5852            {
  5853              "description": "Range by timestamp.",
  5854              "in": "query",
  5855              "name": "timestamp.gte",
  5856              "schema": {
  5857                "type": "string"
  5858              }
  5859            },
  5860            {
  5861              "description": "Range by timestamp.",
  5862              "in": "query",
  5863              "name": "timestamp.gt",
  5864              "schema": {
  5865                "type": "string"
  5866              }
  5867            },
  5868            {
  5869              "description": "Range by timestamp.",
  5870              "in": "query",
  5871              "name": "timestamp.lte",
  5872              "schema": {
  5873                "type": "string"
  5874              }
  5875            },
  5876            {
  5877              "description": "Range by timestamp.",
  5878              "in": "query",
  5879              "name": "timestamp.lt",
  5880              "schema": {
  5881                "type": "string"
  5882              }
  5883            }
  5884          ],
  5885          "responses": {
  5886            "200": {
  5887              "content": {
  5888                "application/json": {
  5889                  "example": {
  5890                    "next_url": "https://api.polygon.io/v1/indicators/ema/X:BTCUSD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  5891                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  5892                    "results": {
  5893                      "underlying": {
  5894                        "url": "https://api.polygon.io/v2/aggs/ticker/X:BTCUSD/range/1/day/2003-01-01/2022-07-25"
  5895                      },
  5896                      "values": [
  5897                        {
  5898                          "timestamp": 1517562000016,
  5899                          "value": 140.139
  5900                        }
  5901                      ]
  5902                    },
  5903                    "status": "OK"
  5904                  },
  5905                  "schema": {
  5906                    "properties": {
  5907                      "next_url": {
  5908                        "description": "If present, this value can be used to fetch the next page of data.",
  5909                        "type": "string"
  5910                      },
  5911                      "request_id": {
  5912                        "description": "A request id assigned by the server.",
  5913                        "type": "string"
  5914                      },
  5915                      "results": {
  5916                        "properties": {
  5917                          "underlying": {
  5918                            "properties": {
  5919                              "aggregates": {
  5920                                "items": {
  5921                                  "properties": {
  5922                                    "c": {
  5923                                      "description": "The close price for the symbol in the given time period.",
  5924                                      "format": "float",
  5925                                      "type": "number"
  5926                                    },
  5927                                    "h": {
  5928                                      "description": "The highest price for the symbol in the given time period.",
  5929                                      "format": "float",
  5930                                      "type": "number"
  5931                                    },
  5932                                    "l": {
  5933                                      "description": "The lowest price for the symbol in the given time period.",
  5934                                      "format": "float",
  5935                                      "type": "number"
  5936                                    },
  5937                                    "n": {
  5938                                      "description": "The number of transactions in the aggregate window.",
  5939                                      "type": "integer"
  5940                                    },
  5941                                    "o": {
  5942                                      "description": "The open price for the symbol in the given time period.",
  5943                                      "format": "float",
  5944                                      "type": "number"
  5945                                    },
  5946                                    "otc": {
  5947                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  5948                                      "type": "boolean"
  5949                                    },
  5950                                    "t": {
  5951                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  5952                                      "format": "float",
  5953                                      "type": "number"
  5954                                    },
  5955                                    "v": {
  5956                                      "description": "The trading volume of the symbol in the given time period.",
  5957                                      "format": "float",
  5958                                      "type": "number"
  5959                                    },
  5960                                    "vw": {
  5961                                      "description": "The volume weighted average price.",
  5962                                      "format": "float",
  5963                                      "type": "number"
  5964                                    }
  5965                                  },
  5966                                  "required": [
  5967                                    "v",
  5968                                    "vw",
  5969                                    "o",
  5970                                    "c",
  5971                                    "h",
  5972                                    "l",
  5973                                    "t",
  5974                                    "n"
  5975                                  ],
  5976                                  "type": "object",
  5977                                  "x-polygon-go-type": {
  5978                                    "name": "Aggregate",
  5979                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  5980                                  }
  5981                                },
  5982                                "type": "array"
  5983                              },
  5984                              "url": {
  5985                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  5986                                "type": "string"
  5987                              }
  5988                            },
  5989                            "type": "object"
  5990                          },
  5991                          "values": {
  5992                            "items": {
  5993                              "properties": {
  5994                                "timestamp": {
  5995                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  5996                                  "format": "int64",
  5997                                  "type": "integer",
  5998                                  "x-polygon-go-type": {
  5999                                    "name": "IMicroseconds",
  6000                                    "path": "github.com/polygon-io/ptime"
  6001                                  }
  6002                                },
  6003                                "value": {
  6004                                  "description": "The indicator value for this period.",
  6005                                  "format": "float",
  6006                                  "type": "number",
  6007                                  "x-polygon-go-type": {
  6008                                    "name": "*float64"
  6009                                  }
  6010                                }
  6011                              },
  6012                              "type": "object"
  6013                            },
  6014                            "type": "array"
  6015                          }
  6016                        },
  6017                        "type": "object",
  6018                        "x-polygon-go-type": {
  6019                          "name": "EMAResults"
  6020                        }
  6021                      },
  6022                      "status": {
  6023                        "description": "The status of this request's response.",
  6024                        "type": "string"
  6025                      }
  6026                    },
  6027                    "type": "object"
  6028                  }
  6029                },
  6030                "text/csv": {
  6031                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nX:BTCUSD,55188.33773657,18970.3019,0,18816.66899332,19165.98,19333,18690,1664164800000,297389,,0,,0,0,0,0,0,false,1664164800000,19846.01135387188\nX:BTCUSD,4798.38258637,18914.0766,0,18928,18784.41,19184.3,18636,1664078400000,78936,,0,,0,0,0,0,0,false,1664078400000,19902.65703099573\nX:BTCUSD,4798.38258637,18914.0766,0,18928,18784.41,19184.3,18636,1664064000000,78936,,0,,0,0,0,0,0,false,1664064000000,19948.29976695474\nX:BTCUSD,15457.24362826,19317.486,0,19529.04,19475.84,19651.2772302,18846.67,1664409600000,191936,,0,,0,0,0,0,0,false,1664409600000,19751.714760699124\nX:BTCUSD,23180.93663313,19103.9189,0,19090,19416.20352522,19791,18461,1664337600000,225076,,0,,0,0,0,0,0,false,1664337600000,19762.974955013375\nX:BTCUSD,17479.00092209,19776.6697,0,19228.2,19141.78,20372.17374536,18821.55,1664251200000,183075,,0,,0,0,0,0,0,false,1664251200000,19791.86053850303\nX:BTCUSD,2868.09828007,19069.8521,0,19210.31,18925.87,19400,18805.1,1663992000000,58721,,0,,0,0,0,0,0,false,1663992000000,19995.805471728403\nX:BTCUSD,23180.93663313,19103.9189,0,19090,19416.20352522,19791,18461,1664323200000,225076,,0,,0,0,0,0,0,false,1664323200000,19777.128890923308\nX:BTCUSD,17479.00092209,19776.6697,0,19228.2,19141.78,20372.17374536,18821.55,1664236800000,183075,,0,,0,0,0,0,0,false,1664236800000,19818.394438033767\nX:BTCUSD,55188.33773657,18970.3019,0,18816.66899332,19165.98,19333,18690,1664150400000,297389,,0,,0,0,0,0,0,false,1664150400000,19873.767735662568\n",
  6032                  "schema": {
  6033                    "type": "string"
  6034                  }
  6035                }
  6036              },
  6037              "description": "Exponential Moving Average (EMA) data for each period."
  6038            }
  6039          },
  6040          "summary": "Exponential Moving Average (EMA)",
  6041          "tags": [
  6042            "crpyto:aggregates"
  6043          ],
  6044          "x-polygon-entitlement-data-type": {
  6045            "description": "Aggregate data",
  6046            "name": "aggregates"
  6047          },
  6048          "x-polygon-entitlement-market-type": {
  6049            "description": "Crypto data",
  6050            "name": "crypto"
  6051          }
  6052        },
  6053        "x-polygon-ignore": true
  6054      },
  6055      "/v1/indicators/ema/{fxTicker}": {
  6056        "get": {
  6057          "description": "Get the exponential moving average (EMA) for a ticker symbol over a given time range.",
  6058          "operationId": "ForexEMA",
  6059          "parameters": [
  6060            {
  6061              "description": "The ticker symbol for which to get exponential moving average (EMA) data.",
  6062              "example": "C:EURUSD",
  6063              "in": "path",
  6064              "name": "fxTicker",
  6065              "required": true,
  6066              "schema": {
  6067                "type": "string"
  6068              },
  6069              "x-polygon-go-id": "Ticker"
  6070            },
  6071            {
  6072              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  6073              "in": "query",
  6074              "name": "timestamp",
  6075              "schema": {
  6076                "type": "string"
  6077              },
  6078              "x-polygon-filter-field": {
  6079                "range": true
  6080              }
  6081            },
  6082            {
  6083              "description": "The size of the aggregate time window.",
  6084              "example": "day",
  6085              "in": "query",
  6086              "name": "timespan",
  6087              "schema": {
  6088                "default": "day",
  6089                "enum": [
  6090                  "minute",
  6091                  "hour",
  6092                  "day",
  6093                  "week",
  6094                  "month",
  6095                  "quarter",
  6096                  "year"
  6097                ],
  6098                "type": "string"
  6099              }
  6100            },
  6101            {
  6102              "description": "Whether or not the aggregates used to calculate the exponential moving average are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
  6103              "example": true,
  6104              "in": "query",
  6105              "name": "adjusted",
  6106              "schema": {
  6107                "default": true,
  6108                "type": "boolean"
  6109              }
  6110            },
  6111            {
  6112              "description": "The window size used to calculate the exponential moving average (EMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
  6113              "example": 50,
  6114              "in": "query",
  6115              "name": "window",
  6116              "schema": {
  6117                "default": 50,
  6118                "type": "integer"
  6119              }
  6120            },
  6121            {
  6122              "description": "The price in the aggregate which will be used to calculate the exponential moving average. i.e. 'close' will result in using close prices to \ncalculate the exponential moving average (EMA).",
  6123              "example": "close",
  6124              "in": "query",
  6125              "name": "series_type",
  6126              "schema": {
  6127                "default": "close",
  6128                "enum": [
  6129                  "open",
  6130                  "high",
  6131                  "low",
  6132                  "close"
  6133                ],
  6134                "type": "string"
  6135              }
  6136            },
  6137            {
  6138              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  6139              "in": "query",
  6140              "name": "expand_underlying",
  6141              "schema": {
  6142                "default": false,
  6143                "type": "boolean"
  6144              }
  6145            },
  6146            {
  6147              "description": "The order in which to return the results, ordered by timestamp.",
  6148              "example": "desc",
  6149              "in": "query",
  6150              "name": "order",
  6151              "schema": {
  6152                "default": "desc",
  6153                "enum": [
  6154                  "asc",
  6155                  "desc"
  6156                ],
  6157                "type": "string"
  6158              }
  6159            },
  6160            {
  6161              "description": "Limit the number of results returned, default is 10 and max is 5000",
  6162              "in": "query",
  6163              "name": "limit",
  6164              "schema": {
  6165                "default": 10,
  6166                "maximum": 5000,
  6167                "type": "integer"
  6168              }
  6169            },
  6170            {
  6171              "description": "Range by timestamp.",
  6172              "in": "query",
  6173              "name": "timestamp.gte",
  6174              "schema": {
  6175                "type": "string"
  6176              }
  6177            },
  6178            {
  6179              "description": "Range by timestamp.",
  6180              "in": "query",
  6181              "name": "timestamp.gt",
  6182              "schema": {
  6183                "type": "string"
  6184              }
  6185            },
  6186            {
  6187              "description": "Range by timestamp.",
  6188              "in": "query",
  6189              "name": "timestamp.lte",
  6190              "schema": {
  6191                "type": "string"
  6192              }
  6193            },
  6194            {
  6195              "description": "Range by timestamp.",
  6196              "in": "query",
  6197              "name": "timestamp.lt",
  6198              "schema": {
  6199                "type": "string"
  6200              }
  6201            }
  6202          ],
  6203          "responses": {
  6204            "200": {
  6205              "content": {
  6206                "application/json": {
  6207                  "example": {
  6208                    "next_url": "https://api.polygon.io/v1/indicators/ema/C:USDAUD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  6209                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  6210                    "results": {
  6211                      "underlying": {
  6212                        "url": "https://api.polygon.io/v2/aggs/ticker/C:USDAUD/range/1/day/2003-01-01/2022-07-25"
  6213                      },
  6214                      "values": [
  6215                        {
  6216                          "timestamp": 1517562000016,
  6217                          "value": 140.139
  6218                        }
  6219                      ]
  6220                    },
  6221                    "status": "OK"
  6222                  },
  6223                  "schema": {
  6224                    "properties": {
  6225                      "next_url": {
  6226                        "description": "If present, this value can be used to fetch the next page of data.",
  6227                        "type": "string"
  6228                      },
  6229                      "request_id": {
  6230                        "description": "A request id assigned by the server.",
  6231                        "type": "string"
  6232                      },
  6233                      "results": {
  6234                        "properties": {
  6235                          "underlying": {
  6236                            "properties": {
  6237                              "aggregates": {
  6238                                "items": {
  6239                                  "properties": {
  6240                                    "c": {
  6241                                      "description": "The close price for the symbol in the given time period.",
  6242                                      "format": "float",
  6243                                      "type": "number"
  6244                                    },
  6245                                    "h": {
  6246                                      "description": "The highest price for the symbol in the given time period.",
  6247                                      "format": "float",
  6248                                      "type": "number"
  6249                                    },
  6250                                    "l": {
  6251                                      "description": "The lowest price for the symbol in the given time period.",
  6252                                      "format": "float",
  6253                                      "type": "number"
  6254                                    },
  6255                                    "n": {
  6256                                      "description": "The number of transactions in the aggregate window.",
  6257                                      "type": "integer"
  6258                                    },
  6259                                    "o": {
  6260                                      "description": "The open price for the symbol in the given time period.",
  6261                                      "format": "float",
  6262                                      "type": "number"
  6263                                    },
  6264                                    "otc": {
  6265                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  6266                                      "type": "boolean"
  6267                                    },
  6268                                    "t": {
  6269                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  6270                                      "format": "float",
  6271                                      "type": "number"
  6272                                    },
  6273                                    "v": {
  6274                                      "description": "The trading volume of the symbol in the given time period.",
  6275                                      "format": "float",
  6276                                      "type": "number"
  6277                                    },
  6278                                    "vw": {
  6279                                      "description": "The volume weighted average price.",
  6280                                      "format": "float",
  6281                                      "type": "number"
  6282                                    }
  6283                                  },
  6284                                  "required": [
  6285                                    "v",
  6286                                    "vw",
  6287                                    "o",
  6288                                    "c",
  6289                                    "h",
  6290                                    "l",
  6291                                    "t",
  6292                                    "n"
  6293                                  ],
  6294                                  "type": "object",
  6295                                  "x-polygon-go-type": {
  6296                                    "name": "Aggregate",
  6297                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  6298                                  }
  6299                                },
  6300                                "type": "array"
  6301                              },
  6302                              "url": {
  6303                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  6304                                "type": "string"
  6305                              }
  6306                            },
  6307                            "type": "object"
  6308                          },
  6309                          "values": {
  6310                            "items": {
  6311                              "properties": {
  6312                                "timestamp": {
  6313                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  6314                                  "format": "int64",
  6315                                  "type": "integer",
  6316                                  "x-polygon-go-type": {
  6317                                    "name": "IMicroseconds",
  6318                                    "path": "github.com/polygon-io/ptime"
  6319                                  }
  6320                                },
  6321                                "value": {
  6322                                  "description": "The indicator value for this period.",
  6323                                  "format": "float",
  6324                                  "type": "number",
  6325                                  "x-polygon-go-type": {
  6326                                    "name": "*float64"
  6327                                  }
  6328                                }
  6329                              },
  6330                              "type": "object"
  6331                            },
  6332                            "type": "array"
  6333                          }
  6334                        },
  6335                        "type": "object",
  6336                        "x-polygon-go-type": {
  6337                          "name": "EMAResults"
  6338                        }
  6339                      },
  6340                      "status": {
  6341                        "description": "The status of this request's response.",
  6342                        "type": "string"
  6343                      }
  6344                    },
  6345                    "type": "object"
  6346                  }
  6347                },
  6348                "text/csv": {
  6349                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nC:USDAUD,685,1.5537,0,1.5539533,1.5371372,1.5705737,1.5316281,1664323200000,685,,0,,0,0,0,0,0,false,1664323200000,1.4915199239999994\nC:USDAUD,550,1.5405,0,1.5298,1.54531,1.5526263,1.5298,1664164800000,550,,0,,0,0,0,0,0,false,1664164800000,1.4863299679999997\nC:USDAUD,10,1.5312,0,1.5324261,1.53107,1.5326375,1.5301,1664078400000,10,,0,,0,0,0,0,0,false,1664078400000,1.4826388699999997\nC:USDAUD,686,1.5442,0,1.53763,1.5404,1.5526022,1.537279,1664409600000,686,,0,,0,0,0,0,0,false,1664409600000,1.4942168479999998\nC:USDAUD,536,1.5459,0,1.5446162,1.5550165,1.5587,1.5364287,1664251200000,536,,0,,0,0,0,0,0,false,1664251200000,1.4900704799999993\nC:USDAUD,536,1.5459,0,1.5446162,1.5550165,1.5587,1.5364287,1664236800000,536,,0,,0,0,0,0,0,false,1664236800000,1.4882634499999994\nC:USDAUD,550,1.5405,0,1.5298,1.54531,1.5526263,1.5298,1664150400000,550,,0,,0,0,0,0,0,false,1664150400000,1.4845906159999998\nC:USDAUD,10,1.5312,0,1.5324261,1.53107,1.5326375,1.5301,1664064000000,10,,0,,0,0,0,0,0,false,1664064000000,1.4809719239999999\nC:USDAUD,1,1.5314,0,1.5313936,1.5313936,1.5313936,1.5313936,1663977600000,1,,0,,0,0,0,0,0,false,1663977600000,1.4794745239999998\nC:USDAUD,685,1.5537,0,1.5539533,1.5371372,1.5705737,1.5316281,1664337600000,685,,0,,0,0,0,0,0,false,1664337600000,1.4928357579999996\n",
  6350                  "schema": {
  6351                    "type": "string"
  6352                  }
  6353                }
  6354              },
  6355              "description": "Exponential Moving Average (EMA) data for each period."
  6356            }
  6357          },
  6358          "summary": "Exponential Moving Average (EMA)",
  6359          "tags": [
  6360            "fx:aggregates"
  6361          ],
  6362          "x-polygon-entitlement-data-type": {
  6363            "description": "Aggregate data",
  6364            "name": "aggregates"
  6365          },
  6366          "x-polygon-entitlement-market-type": {
  6367            "description": "Forex data",
  6368            "name": "fx"
  6369          }
  6370        },
  6371        "x-polygon-ignore": true
  6372      },
  6373      "/v1/indicators/ema/{indicesTicker}": {
  6374        "get": {
  6375          "description": "Get the exponential moving average (EMA) for a ticker symbol over a given time range.",
  6376          "operationId": "IndicesEMA",
  6377          "parameters": [
  6378            {
  6379              "description": "The ticker symbol for which to get exponential moving average (EMA) data.",
  6380              "example": "I:NDX",
  6381              "in": "path",
  6382              "name": "indicesTicker",
  6383              "required": true,
  6384              "schema": {
  6385                "type": "string"
  6386              },
  6387              "x-polygon-go-id": "Ticker"
  6388            },
  6389            {
  6390              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  6391              "in": "query",
  6392              "name": "timestamp",
  6393              "schema": {
  6394                "type": "string"
  6395              },
  6396              "x-polygon-filter-field": {
  6397                "range": true
  6398              }
  6399            },
  6400            {
  6401              "description": "The size of the aggregate time window.",
  6402              "example": "day",
  6403              "in": "query",
  6404              "name": "timespan",
  6405              "schema": {
  6406                "default": "day",
  6407                "enum": [
  6408                  "minute",
  6409                  "hour",
  6410                  "day",
  6411                  "week",
  6412                  "month",
  6413                  "quarter",
  6414                  "year"
  6415                ],
  6416                "type": "string"
  6417              }
  6418            },
  6419            {
  6420              "description": "Whether or not the aggregates used to calculate the exponential moving average are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
  6421              "example": true,
  6422              "in": "query",
  6423              "name": "adjusted",
  6424              "schema": {
  6425                "default": true,
  6426                "type": "boolean"
  6427              }
  6428            },
  6429            {
  6430              "description": "The window size used to calculate the exponential moving average (EMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
  6431              "example": 50,
  6432              "in": "query",
  6433              "name": "window",
  6434              "schema": {
  6435                "default": 50,
  6436                "type": "integer"
  6437              }
  6438            },
  6439            {
  6440              "description": "The value in the aggregate which will be used to calculate the exponential moving average. i.e. 'close' will result in using close values to \ncalculate the exponential moving average (EMA).",
  6441              "example": "close",
  6442              "in": "query",
  6443              "name": "series_type",
  6444              "schema": {
  6445                "default": "close",
  6446                "enum": [
  6447                  "open",
  6448                  "high",
  6449                  "low",
  6450                  "close"
  6451                ],
  6452                "type": "string"
  6453              }
  6454            },
  6455            {
  6456              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  6457              "in": "query",
  6458              "name": "expand_underlying",
  6459              "schema": {
  6460                "default": false,
  6461                "type": "boolean"
  6462              }
  6463            },
  6464            {
  6465              "description": "The order in which to return the results, ordered by timestamp.",
  6466              "example": "desc",
  6467              "in": "query",
  6468              "name": "order",
  6469              "schema": {
  6470                "default": "desc",
  6471                "enum": [
  6472                  "asc",
  6473                  "desc"
  6474                ],
  6475                "type": "string"
  6476              }
  6477            },
  6478            {
  6479              "description": "Limit the number of results returned, default is 10 and max is 5000",
  6480              "in": "query",
  6481              "name": "limit",
  6482              "schema": {
  6483                "default": 10,
  6484                "maximum": 5000,
  6485                "type": "integer"
  6486              }
  6487            },
  6488            {
  6489              "description": "Range by timestamp.",
  6490              "in": "query",
  6491              "name": "timestamp.gte",
  6492              "schema": {
  6493                "type": "string"
  6494              }
  6495            },
  6496            {
  6497              "description": "Range by timestamp.",
  6498              "in": "query",
  6499              "name": "timestamp.gt",
  6500              "schema": {
  6501                "type": "string"
  6502              }
  6503            },
  6504            {
  6505              "description": "Range by timestamp.",
  6506              "in": "query",
  6507              "name": "timestamp.lte",
  6508              "schema": {
  6509                "type": "string"
  6510              }
  6511            },
  6512            {
  6513              "description": "Range by timestamp.",
  6514              "in": "query",
  6515              "name": "timestamp.lt",
  6516              "schema": {
  6517                "type": "string"
  6518              }
  6519            }
  6520          ],
  6521          "responses": {
  6522            "200": {
  6523              "content": {
  6524                "application/json": {
  6525                  "example": {
  6526                    "next_url": "https://api.polygon.io/v1/indicators/ema/I:NDX?cursor=YWRqdXN0ZWQ9dHJ1ZSZhcD0lN0IlMjJ2JTIyJTNBMCUyQyUyMm8lMjIlM0EwJTJDJTIyYyUyMiUzQTE1MDg0Ljk5OTM4OTgyMDAzJTJDJTIyaCUyMiUzQTAlMkMlMjJsJTIyJTNBMCUyQyUyMnQlMjIlM0ExNjg3MjE5MjAwMDAwJTdEJmFzPSZleHBhbmRfdW5kZXJseWluZz1mYWxzZSZsaW1pdD0xJm9yZGVyPWRlc2Mmc2VyaWVzX3R5cGU9Y2xvc2UmdGltZXNwYW49ZGF5JnRpbWVzdGFtcC5sdD0xNjg3MjM3MjAwMDAwJndpbmRvdz01MA",
  6527                    "request_id": "b9201816341441eed663a90443c0623a",
  6528                    "results": {
  6529                      "underlying": {
  6530                        "url": "https://api.polygon.io/v2/aggs/ticker/I:NDX/range/1/day/1678338000000/1687366449650?limit=226\u0026sort=desc"
  6531                      },
  6532                      "values": [
  6533                        {
  6534                          "timestamp": 1687237200000,
  6535                          "value": 14452.002555459003
  6536                        }
  6537                      ]
  6538                    },
  6539                    "status": "OK"
  6540                  },
  6541                  "schema": {
  6542                    "properties": {
  6543                      "next_url": {
  6544                        "description": "If present, this value can be used to fetch the next page of data.",
  6545                        "type": "string"
  6546                      },
  6547                      "request_id": {
  6548                        "description": "A request id assigned by the server.",
  6549                        "type": "string"
  6550                      },
  6551                      "results": {
  6552                        "properties": {
  6553                          "underlying": {
  6554                            "properties": {
  6555                              "aggregates": {
  6556                                "items": {
  6557                                  "properties": {
  6558                                    "c": {
  6559                                      "description": "The close price for the symbol in the given time period.",
  6560                                      "format": "float",
  6561                                      "type": "number"
  6562                                    },
  6563                                    "h": {
  6564                                      "description": "The highest price for the symbol in the given time period.",
  6565                                      "format": "float",
  6566                                      "type": "number"
  6567                                    },
  6568                                    "l": {
  6569                                      "description": "The lowest price for the symbol in the given time period.",
  6570                                      "format": "float",
  6571                                      "type": "number"
  6572                                    },
  6573                                    "n": {
  6574                                      "description": "The number of transactions in the aggregate window.",
  6575                                      "type": "integer"
  6576                                    },
  6577                                    "o": {
  6578                                      "description": "The open price for the symbol in the given time period.",
  6579                                      "format": "float",
  6580                                      "type": "number"
  6581                                    },
  6582                                    "otc": {
  6583                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  6584                                      "type": "boolean"
  6585                                    },
  6586                                    "t": {
  6587                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  6588                                      "format": "float",
  6589                                      "type": "number"
  6590                                    },
  6591                                    "v": {
  6592                                      "description": "The trading volume of the symbol in the given time period.",
  6593                                      "format": "float",
  6594                                      "type": "number"
  6595                                    },
  6596                                    "vw": {
  6597                                      "description": "The volume weighted average price.",
  6598                                      "format": "float",
  6599                                      "type": "number"
  6600                                    }
  6601                                  },
  6602                                  "required": [
  6603                                    "v",
  6604                                    "vw",
  6605                                    "o",
  6606                                    "c",
  6607                                    "h",
  6608                                    "l",
  6609                                    "t",
  6610                                    "n"
  6611                                  ],
  6612                                  "type": "object",
  6613                                  "x-polygon-go-type": {
  6614                                    "name": "Aggregate",
  6615                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  6616                                  }
  6617                                },
  6618                                "type": "array"
  6619                              },
  6620                              "url": {
  6621                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  6622                                "type": "string"
  6623                              }
  6624                            },
  6625                            "type": "object"
  6626                          },
  6627                          "values": {
  6628                            "items": {
  6629                              "properties": {
  6630                                "timestamp": {
  6631                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  6632                                  "format": "int64",
  6633                                  "type": "integer",
  6634                                  "x-polygon-go-type": {
  6635                                    "name": "IMicroseconds",
  6636                                    "path": "github.com/polygon-io/ptime"
  6637                                  }
  6638                                },
  6639                                "value": {
  6640                                  "description": "The indicator value for this period.",
  6641                                  "format": "float",
  6642                                  "type": "number",
  6643                                  "x-polygon-go-type": {
  6644                                    "name": "*float64"
  6645                                  }
  6646                                }
  6647                              },
  6648                              "type": "object"
  6649                            },
  6650                            "type": "array"
  6651                          }
  6652                        },
  6653                        "type": "object",
  6654                        "x-polygon-go-type": {
  6655                          "name": "EMAResults"
  6656                        }
  6657                      },
  6658                      "status": {
  6659                        "description": "The status of this request's response.",
  6660                        "type": "string"
  6661                      }
  6662                    },
  6663                    "type": "object"
  6664                  }
  6665                }
  6666              },
  6667              "description": "Exponential Moving Average (EMA) data for each period."
  6668            }
  6669          },
  6670          "summary": "Exponential Moving Average (EMA)",
  6671          "tags": [
  6672            "indices:aggregates"
  6673          ],
  6674          "x-polygon-entitlement-allowed-limited-tickers": true,
  6675          "x-polygon-entitlement-data-type": {
  6676            "description": "Aggregate data",
  6677            "name": "aggregates"
  6678          },
  6679          "x-polygon-entitlement-market-type": {
  6680            "description": "Indices data",
  6681            "name": "indices"
  6682          }
  6683        },
  6684        "x-polygon-ignore": true
  6685      },
  6686      "/v1/indicators/ema/{optionsTicker}": {
  6687        "get": {
  6688          "description": "Get the exponential moving average (EMA) for a ticker symbol over a given time range.",
  6689          "operationId": "OptionsEMA",
  6690          "parameters": [
  6691            {
  6692              "description": "The ticker symbol for which to get exponential moving average (EMA) data.",
  6693              "example": "O:SPY241220P00720000",
  6694              "in": "path",
  6695              "name": "optionsTicker",
  6696              "required": true,
  6697              "schema": {
  6698                "type": "string"
  6699              },
  6700              "x-polygon-go-id": "Ticker"
  6701            },
  6702            {
  6703              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  6704              "in": "query",
  6705              "name": "timestamp",
  6706              "schema": {
  6707                "type": "string"
  6708              },
  6709              "x-polygon-filter-field": {
  6710                "range": true
  6711              }
  6712            },
  6713            {
  6714              "description": "The size of the aggregate time window.",
  6715              "example": "day",
  6716              "in": "query",
  6717              "name": "timespan",
  6718              "schema": {
  6719                "default": "day",
  6720                "enum": [
  6721                  "minute",
  6722                  "hour",
  6723                  "day",
  6724                  "week",
  6725                  "month",
  6726                  "quarter",
  6727                  "year"
  6728                ],
  6729                "type": "string"
  6730              }
  6731            },
  6732            {
  6733              "description": "Whether or not the aggregates used to calculate the exponential moving average are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
  6734              "example": true,
  6735              "in": "query",
  6736              "name": "adjusted",
  6737              "schema": {
  6738                "default": true,
  6739                "type": "boolean"
  6740              }
  6741            },
  6742            {
  6743              "description": "The window size used to calculate the exponential moving average (EMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
  6744              "example": 50,
  6745              "in": "query",
  6746              "name": "window",
  6747              "schema": {
  6748                "default": 50,
  6749                "type": "integer"
  6750              }
  6751            },
  6752            {
  6753              "description": "The price in the aggregate which will be used to calculate the exponential moving average. i.e. 'close' will result in using close prices to \ncalculate the exponential moving average (EMA).",
  6754              "example": "close",
  6755              "in": "query",
  6756              "name": "series_type",
  6757              "schema": {
  6758                "default": "close",
  6759                "enum": [
  6760                  "open",
  6761                  "high",
  6762                  "low",
  6763                  "close"
  6764                ],
  6765                "type": "string"
  6766              }
  6767            },
  6768            {
  6769              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  6770              "in": "query",
  6771              "name": "expand_underlying",
  6772              "schema": {
  6773                "default": false,
  6774                "type": "boolean"
  6775              }
  6776            },
  6777            {
  6778              "description": "The order in which to return the results, ordered by timestamp.",
  6779              "example": "desc",
  6780              "in": "query",
  6781              "name": "order",
  6782              "schema": {
  6783                "default": "desc",
  6784                "enum": [
  6785                  "asc",
  6786                  "desc"
  6787                ],
  6788                "type": "string"
  6789              }
  6790            },
  6791            {
  6792              "description": "Limit the number of results returned, default is 10 and max is 5000",
  6793              "in": "query",
  6794              "name": "limit",
  6795              "schema": {
  6796                "default": 10,
  6797                "maximum": 5000,
  6798                "type": "integer"
  6799              }
  6800            },
  6801            {
  6802              "description": "Range by timestamp.",
  6803              "in": "query",
  6804              "name": "timestamp.gte",
  6805              "schema": {
  6806                "type": "string"
  6807              }
  6808            },
  6809            {
  6810              "description": "Range by timestamp.",
  6811              "in": "query",
  6812              "name": "timestamp.gt",
  6813              "schema": {
  6814                "type": "string"
  6815              }
  6816            },
  6817            {
  6818              "description": "Range by timestamp.",
  6819              "in": "query",
  6820              "name": "timestamp.lte",
  6821              "schema": {
  6822                "type": "string"
  6823              }
  6824            },
  6825            {
  6826              "description": "Range by timestamp.",
  6827              "in": "query",
  6828              "name": "timestamp.lt",
  6829              "schema": {
  6830                "type": "string"
  6831              }
  6832            }
  6833          ],
  6834          "responses": {
  6835            "200": {
  6836              "content": {
  6837                "application/json": {
  6838                  "example": {
  6839                    "next_url": "https://api.polygon.io/v1/indicators/ema/O:SPY241220P00720000?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  6840                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  6841                    "results": {
  6842                      "underlying": {
  6843                        "url": "https://api.polygon.io/v2/aggs/ticker/O:SPY241220P00720000/range/1/day/2003-01-01/2022-07-25"
  6844                      },
  6845                      "values": [
  6846                        {
  6847                          "timestamp": 1517562000016,
  6848                          "value": 140.139
  6849                        }
  6850                      ]
  6851                    },
  6852                    "status": "OK"
  6853                  },
  6854                  "schema": {
  6855                    "properties": {
  6856                      "next_url": {
  6857                        "description": "If present, this value can be used to fetch the next page of data.",
  6858                        "type": "string"
  6859                      },
  6860                      "request_id": {
  6861                        "description": "A request id assigned by the server.",
  6862                        "type": "string"
  6863                      },
  6864                      "results": {
  6865                        "properties": {
  6866                          "underlying": {
  6867                            "properties": {
  6868                              "aggregates": {
  6869                                "items": {
  6870                                  "properties": {
  6871                                    "c": {
  6872                                      "description": "The close price for the symbol in the given time period.",
  6873                                      "format": "float",
  6874                                      "type": "number"
  6875                                    },
  6876                                    "h": {
  6877                                      "description": "The highest price for the symbol in the given time period.",
  6878                                      "format": "float",
  6879                                      "type": "number"
  6880                                    },
  6881                                    "l": {
  6882                                      "description": "The lowest price for the symbol in the given time period.",
  6883                                      "format": "float",
  6884                                      "type": "number"
  6885                                    },
  6886                                    "n": {
  6887                                      "description": "The number of transactions in the aggregate window.",
  6888                                      "type": "integer"
  6889                                    },
  6890                                    "o": {
  6891                                      "description": "The open price for the symbol in the given time period.",
  6892                                      "format": "float",
  6893                                      "type": "number"
  6894                                    },
  6895                                    "otc": {
  6896                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  6897                                      "type": "boolean"
  6898                                    },
  6899                                    "t": {
  6900                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  6901                                      "format": "float",
  6902                                      "type": "number"
  6903                                    },
  6904                                    "v": {
  6905                                      "description": "The trading volume of the symbol in the given time period.",
  6906                                      "format": "float",
  6907                                      "type": "number"
  6908                                    },
  6909                                    "vw": {
  6910                                      "description": "The volume weighted average price.",
  6911                                      "format": "float",
  6912                                      "type": "number"
  6913                                    }
  6914                                  },
  6915                                  "required": [
  6916                                    "v",
  6917                                    "vw",
  6918                                    "o",
  6919                                    "c",
  6920                                    "h",
  6921                                    "l",
  6922                                    "t",
  6923                                    "n"
  6924                                  ],
  6925                                  "type": "object",
  6926                                  "x-polygon-go-type": {
  6927                                    "name": "Aggregate",
  6928                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  6929                                  }
  6930                                },
  6931                                "type": "array"
  6932                              },
  6933                              "url": {
  6934                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  6935                                "type": "string"
  6936                              }
  6937                            },
  6938                            "type": "object"
  6939                          },
  6940                          "values": {
  6941                            "items": {
  6942                              "properties": {
  6943                                "timestamp": {
  6944                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  6945                                  "format": "int64",
  6946                                  "type": "integer",
  6947                                  "x-polygon-go-type": {
  6948                                    "name": "IMicroseconds",
  6949                                    "path": "github.com/polygon-io/ptime"
  6950                                  }
  6951                                },
  6952                                "value": {
  6953                                  "description": "The indicator value for this period.",
  6954                                  "format": "float",
  6955                                  "type": "number",
  6956                                  "x-polygon-go-type": {
  6957                                    "name": "*float64"
  6958                                  }
  6959                                }
  6960                              },
  6961                              "type": "object"
  6962                            },
  6963                            "type": "array"
  6964                          }
  6965                        },
  6966                        "type": "object",
  6967                        "x-polygon-go-type": {
  6968                          "name": "EMAResults"
  6969                        }
  6970                      },
  6971                      "status": {
  6972                        "description": "The status of this request's response.",
  6973                        "type": "string"
  6974                      }
  6975                    },
  6976                    "type": "object"
  6977                  }
  6978                },
  6979                "text/csv": {
  6980                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value O:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649217600000,1,,0,,0,0,0,0,0,false,1649217600000,286.1730473491824 O:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649131200000,1,,0,,0,0,0,0,0,false,1649131200000,285.60990642465924 O:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649044800000,1,,0,,0,0,0,0,0,false,1649044800000,285.023780156278 O:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648785600000,1,,0,,0,0,0,0,0,false,1648785600000,284.4137303667383 O:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648526400000,1,,0,,0,0,0,0,0,false,1648526400000,282.43007426223943 O:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649304000000,1,,0,,0,0,0,0,0,false,1649304000000,286.7141043158811 O:SPY241220P00720000,2,270.49,0,270.49,270.49,270.49,270.49,1649390400000,1,,0,,0,0,0,0,0,false,1649390400000,286.0778649309446 O:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648699200000,1,,0,,0,0,0,0,0,false,1648699200000,283.77878058578887 O:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648612800000,1,,0,,0,0,0,0,0,false,1648612800000,283.11791448724966 O:SPY241220P00720000,3,277.8267,0,277.82,277.83,277.83,277.82,1649649600000,2,,0,,0,0,0,0,0,false,1649649600000,285.7544192473781",
  6981                  "schema": {
  6982                    "type": "string"
  6983                  }
  6984                }
  6985              },
  6986              "description": "Exponential Moving Average (EMA) data for each period."
  6987            }
  6988          },
  6989          "summary": "Exponential Moving Average (EMA)",
  6990          "tags": [
  6991            "options:aggregates"
  6992          ],
  6993          "x-polygon-entitlement-data-type": {
  6994            "description": "Aggregate data",
  6995            "name": "aggregates"
  6996          },
  6997          "x-polygon-entitlement-market-type": {
  6998            "description": "Options data",
  6999            "name": "options"
  7000          }
  7001        },
  7002        "x-polygon-ignore": true
  7003      },
  7004      "/v1/indicators/ema/{stockTicker}": {
  7005        "get": {
  7006          "description": "Get the exponential moving average (EMA) for a ticker symbol over a given time range.",
  7007          "operationId": "EMA",
  7008          "parameters": [
  7009            {
  7010              "description": "The ticker symbol for which to get exponential moving average (EMA) data.",
  7011              "example": "AAPL",
  7012              "in": "path",
  7013              "name": "stockTicker",
  7014              "required": true,
  7015              "schema": {
  7016                "type": "string"
  7017              },
  7018              "x-polygon-go-id": "Ticker"
  7019            },
  7020            {
  7021              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  7022              "in": "query",
  7023              "name": "timestamp",
  7024              "schema": {
  7025                "type": "string"
  7026              },
  7027              "x-polygon-filter-field": {
  7028                "range": true
  7029              }
  7030            },
  7031            {
  7032              "description": "The size of the aggregate time window.",
  7033              "example": "day",
  7034              "in": "query",
  7035              "name": "timespan",
  7036              "schema": {
  7037                "default": "day",
  7038                "enum": [
  7039                  "minute",
  7040                  "hour",
  7041                  "day",
  7042                  "week",
  7043                  "month",
  7044                  "quarter",
  7045                  "year"
  7046                ],
  7047                "type": "string"
  7048              }
  7049            },
  7050            {
  7051              "description": "Whether or not the aggregates used to calculate the exponential moving average are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results that are NOT adjusted for splits.",
  7052              "example": true,
  7053              "in": "query",
  7054              "name": "adjusted",
  7055              "schema": {
  7056                "default": true,
  7057                "type": "boolean"
  7058              }
  7059            },
  7060            {
  7061              "description": "The window size used to calculate the exponential moving average (EMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
  7062              "example": 50,
  7063              "in": "query",
  7064              "name": "window",
  7065              "schema": {
  7066                "default": 50,
  7067                "type": "integer"
  7068              }
  7069            },
  7070            {
  7071              "description": "The price in the aggregate which will be used to calculate the exponential moving average. i.e. 'close' will result in using close prices to \ncalculate the exponential moving average (EMA).",
  7072              "example": "close",
  7073              "in": "query",
  7074              "name": "series_type",
  7075              "schema": {
  7076                "default": "close",
  7077                "enum": [
  7078                  "open",
  7079                  "high",
  7080                  "low",
  7081                  "close"
  7082                ],
  7083                "type": "string"
  7084              }
  7085            },
  7086            {
  7087              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  7088              "in": "query",
  7089              "name": "expand_underlying",
  7090              "schema": {
  7091                "default": false,
  7092                "type": "boolean"
  7093              }
  7094            },
  7095            {
  7096              "description": "The order in which to return the results, ordered by timestamp.",
  7097              "example": "desc",
  7098              "in": "query",
  7099              "name": "order",
  7100              "schema": {
  7101                "default": "desc",
  7102                "enum": [
  7103                  "asc",
  7104                  "desc"
  7105                ],
  7106                "type": "string"
  7107              }
  7108            },
  7109            {
  7110              "description": "Limit the number of results returned, default is 10 and max is 5000",
  7111              "in": "query",
  7112              "name": "limit",
  7113              "schema": {
  7114                "default": 10,
  7115                "maximum": 5000,
  7116                "type": "integer"
  7117              }
  7118            },
  7119            {
  7120              "description": "Range by timestamp.",
  7121              "in": "query",
  7122              "name": "timestamp.gte",
  7123              "schema": {
  7124                "type": "string"
  7125              }
  7126            },
  7127            {
  7128              "description": "Range by timestamp.",
  7129              "in": "query",
  7130              "name": "timestamp.gt",
  7131              "schema": {
  7132                "type": "string"
  7133              }
  7134            },
  7135            {
  7136              "description": "Range by timestamp.",
  7137              "in": "query",
  7138              "name": "timestamp.lte",
  7139              "schema": {
  7140                "type": "string"
  7141              }
  7142            },
  7143            {
  7144              "description": "Range by timestamp.",
  7145              "in": "query",
  7146              "name": "timestamp.lt",
  7147              "schema": {
  7148                "type": "string"
  7149              }
  7150            }
  7151          ],
  7152          "responses": {
  7153            "200": {
  7154              "content": {
  7155                "application/json": {
  7156                  "example": {
  7157                    "next_url": "https://api.polygon.io/v1/indicators/ema/AAPL?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  7158                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  7159                    "results": {
  7160                      "underlying": {
  7161                        "url": "https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2003-01-01/2022-07-25"
  7162                      },
  7163                      "values": [
  7164                        {
  7165                          "timestamp": 1517562000016,
  7166                          "value": 140.139
  7167                        }
  7168                      ]
  7169                    },
  7170                    "status": "OK"
  7171                  },
  7172                  "schema": {
  7173                    "properties": {
  7174                      "next_url": {
  7175                        "description": "If present, this value can be used to fetch the next page of data.",
  7176                        "type": "string"
  7177                      },
  7178                      "request_id": {
  7179                        "description": "A request id assigned by the server.",
  7180                        "type": "string"
  7181                      },
  7182                      "results": {
  7183                        "properties": {
  7184                          "underlying": {
  7185                            "properties": {
  7186                              "aggregates": {
  7187                                "items": {
  7188                                  "properties": {
  7189                                    "c": {
  7190                                      "description": "The close price for the symbol in the given time period.",
  7191                                      "format": "float",
  7192                                      "type": "number"
  7193                                    },
  7194                                    "h": {
  7195                                      "description": "The highest price for the symbol in the given time period.",
  7196                                      "format": "float",
  7197                                      "type": "number"
  7198                                    },
  7199                                    "l": {
  7200                                      "description": "The lowest price for the symbol in the given time period.",
  7201                                      "format": "float",
  7202                                      "type": "number"
  7203                                    },
  7204                                    "n": {
  7205                                      "description": "The number of transactions in the aggregate window.",
  7206                                      "type": "integer"
  7207                                    },
  7208                                    "o": {
  7209                                      "description": "The open price for the symbol in the given time period.",
  7210                                      "format": "float",
  7211                                      "type": "number"
  7212                                    },
  7213                                    "otc": {
  7214                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  7215                                      "type": "boolean"
  7216                                    },
  7217                                    "t": {
  7218                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  7219                                      "format": "float",
  7220                                      "type": "number"
  7221                                    },
  7222                                    "v": {
  7223                                      "description": "The trading volume of the symbol in the given time period.",
  7224                                      "format": "float",
  7225                                      "type": "number"
  7226                                    },
  7227                                    "vw": {
  7228                                      "description": "The volume weighted average price.",
  7229                                      "format": "float",
  7230                                      "type": "number"
  7231                                    }
  7232                                  },
  7233                                  "required": [
  7234                                    "v",
  7235                                    "vw",
  7236                                    "o",
  7237                                    "c",
  7238                                    "h",
  7239                                    "l",
  7240                                    "t",
  7241                                    "n"
  7242                                  ],
  7243                                  "type": "object",
  7244                                  "x-polygon-go-type": {
  7245                                    "name": "Aggregate",
  7246                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  7247                                  }
  7248                                },
  7249                                "type": "array"
  7250                              },
  7251                              "url": {
  7252                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  7253                                "type": "string"
  7254                              }
  7255                            },
  7256                            "type": "object"
  7257                          },
  7258                          "values": {
  7259                            "items": {
  7260                              "properties": {
  7261                                "timestamp": {
  7262                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  7263                                  "format": "int64",
  7264                                  "type": "integer",
  7265                                  "x-polygon-go-type": {
  7266                                    "name": "IMicroseconds",
  7267                                    "path": "github.com/polygon-io/ptime"
  7268                                  }
  7269                                },
  7270                                "value": {
  7271                                  "description": "The indicator value for this period.",
  7272                                  "format": "float",
  7273                                  "type": "number",
  7274                                  "x-polygon-go-type": {
  7275                                    "name": "*float64"
  7276                                  }
  7277                                }
  7278                              },
  7279                              "type": "object"
  7280                            },
  7281                            "type": "array"
  7282                          }
  7283                        },
  7284                        "type": "object",
  7285                        "x-polygon-go-type": {
  7286                          "name": "EMAResults"
  7287                        }
  7288                      },
  7289                      "status": {
  7290                        "description": "The status of this request's response.",
  7291                        "type": "string"
  7292                      }
  7293                    },
  7294                    "type": "object"
  7295                  }
  7296                },
  7297                "text/csv": {
  7298                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nAAPL,8.1599225E+07,152.5505,0,149.31,154.48,154.56,149.1,1663560000000,671961,,0,,0,0,0,0,0,false,1663560000000,163.17972071441582\nAAPL,8.4461761E+07,152.1354,0,152.74,151.76,154.72,149.945,1664251200000,683781,,0,,0,0,0,0,0,false,1664251200000,160.92194334973746\nAAPL,9.3308449E+07,156.1877,0,157.34,153.72,158.61,153.6,1663732800000,712645,,0,,0,0,0,0,0,false,1663732800000,162.5721451116157\nAAPL,1.07691097E+08,156.1317,0,153.4,156.9,158.08,153.08,1663646400000,792177,,0,,0,0,0,0,0,false,1663646400000,162.93345715698777\nAAPL,9.6031641E+07,150.0222,0,151.19,150.43,151.47,148.56,1663905600000,766888,,0,,0,0,0,0,0,false,1663905600000,161.72552880161066\nAAPL,8.6651514E+07,152.5709,0,152.38,152.74,154.47,150.91,1663819200000,686866,,0,,0,0,0,0,0,false,1663819200000,162.18657079351314\nAAPL,1.64879031E+08,150.2387,0,151.21,150.7,151.35,148.37,1663300800000,850358,,0,,0,0,0,0,0,false,1663300800000,163.53481135582055\nAAPL,1.27842348E+08,142.9013,0,146.1,142.48,146.72,140.68,1664424000000,1061605,,0,,0,0,0,0,0,false,1664424000000,159.78118646009983\nAAPL,1.46755122E+08,147.599,0,147.64,149.84,150.6414,144.84,1664337600000,1140818,,0,,0,0,0,0,0,false,1664337600000,160.48735733602226\nAAPL,9.3339409E+07,151.5222,0,149.66,150.77,153.7701,149.64,1664164800000,747666,,0,,0,0,0,0,0,false,1664164800000,161.29590022115534\n",
  7299                  "schema": {
  7300                    "type": "string"
  7301                  }
  7302                }
  7303              },
  7304              "description": "Exponential Moving Average (EMA) data for each period."
  7305            }
  7306          },
  7307          "summary": "Exponential Moving Average (EMA)",
  7308          "tags": [
  7309            "stocks:aggregates"
  7310          ],
  7311          "x-polygon-entitlement-data-type": {
  7312            "description": "Aggregate data",
  7313            "name": "aggregates"
  7314          },
  7315          "x-polygon-entitlement-market-type": {
  7316            "description": "Stocks data",
  7317            "name": "stocks"
  7318          }
  7319        }
  7320      },
  7321      "/v1/indicators/macd/{cryptoTicker}": {
  7322        "get": {
  7323          "description": "Get moving average convergence/divergence (MACD) data for a ticker symbol over a given time range.",
  7324          "operationId": "CryptoMACD",
  7325          "parameters": [
  7326            {
  7327              "description": "The ticker symbol for which to get MACD data.",
  7328              "example": "X:BTCUSD",
  7329              "in": "path",
  7330              "name": "cryptoTicker",
  7331              "required": true,
  7332              "schema": {
  7333                "type": "string"
  7334              },
  7335              "x-polygon-go-id": "Ticker"
  7336            },
  7337            {
  7338              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  7339              "in": "query",
  7340              "name": "timestamp",
  7341              "schema": {
  7342                "type": "string"
  7343              },
  7344              "x-polygon-filter-field": {
  7345                "range": true
  7346              }
  7347            },
  7348            {
  7349              "description": "The size of the aggregate time window.",
  7350              "example": "day",
  7351              "in": "query",
  7352              "name": "timespan",
  7353              "schema": {
  7354                "default": "day",
  7355                "enum": [
  7356                  "minute",
  7357                  "hour",
  7358                  "day",
  7359                  "week",
  7360                  "month",
  7361                  "quarter",
  7362                  "year"
  7363                ],
  7364                "type": "string"
  7365              }
  7366            },
  7367            {
  7368              "description": "The short window size used to calculate MACD data.",
  7369              "example": 12,
  7370              "in": "query",
  7371              "name": "short_window",
  7372              "schema": {
  7373                "default": 12,
  7374                "type": "integer"
  7375              }
  7376            },
  7377            {
  7378              "description": "The long window size used to calculate MACD data.",
  7379              "example": 26,
  7380              "in": "query",
  7381              "name": "long_window",
  7382              "schema": {
  7383                "default": 26,
  7384                "type": "integer"
  7385              }
  7386            },
  7387            {
  7388              "description": "The window size used to calculate the MACD signal line.",
  7389              "example": 9,
  7390              "in": "query",
  7391              "name": "signal_window",
  7392              "schema": {
  7393                "default": 9,
  7394                "type": "integer"
  7395              }
  7396            },
  7397            {
  7398              "description": "The price in the aggregate which will be used to calculate MACD data. i.e. 'close' will result in using close prices to \ncalculate the MACD.",
  7399              "example": "close",
  7400              "in": "query",
  7401              "name": "series_type",
  7402              "schema": {
  7403                "default": "close",
  7404                "enum": [
  7405                  "open",
  7406                  "high",
  7407                  "low",
  7408                  "close"
  7409                ],
  7410                "type": "string"
  7411              }
  7412            },
  7413            {
  7414              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  7415              "in": "query",
  7416              "name": "expand_underlying",
  7417              "schema": {
  7418                "default": false,
  7419                "type": "boolean"
  7420              }
  7421            },
  7422            {
  7423              "description": "The order in which to return the results, ordered by timestamp.",
  7424              "example": "desc",
  7425              "in": "query",
  7426              "name": "order",
  7427              "schema": {
  7428                "default": "desc",
  7429                "enum": [
  7430                  "asc",
  7431                  "desc"
  7432                ],
  7433                "type": "string"
  7434              }
  7435            },
  7436            {
  7437              "description": "Limit the number of results returned, default is 10 and max is 5000",
  7438              "in": "query",
  7439              "name": "limit",
  7440              "schema": {
  7441                "default": 10,
  7442                "maximum": 5000,
  7443                "type": "integer"
  7444              }
  7445            },
  7446            {
  7447              "description": "Range by timestamp.",
  7448              "in": "query",
  7449              "name": "timestamp.gte",
  7450              "schema": {
  7451                "type": "string"
  7452              }
  7453            },
  7454            {
  7455              "description": "Range by timestamp.",
  7456              "in": "query",
  7457              "name": "timestamp.gt",
  7458              "schema": {
  7459                "type": "string"
  7460              }
  7461            },
  7462            {
  7463              "description": "Range by timestamp.",
  7464              "in": "query",
  7465              "name": "timestamp.lte",
  7466              "schema": {
  7467                "type": "string"
  7468              }
  7469            },
  7470            {
  7471              "description": "Range by timestamp.",
  7472              "in": "query",
  7473              "name": "timestamp.lt",
  7474              "schema": {
  7475                "type": "string"
  7476              }
  7477            }
  7478          ],
  7479          "responses": {
  7480            "200": {
  7481              "content": {
  7482                "application/json": {
  7483                  "example": {
  7484                    "next_url": "https://api.polygon.io/v1/indicators/macd/X:BTCUSD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  7485                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  7486                    "results": {
  7487                      "underlying": {
  7488                        "url": "https://api.polygon.io/v2/aggs/ticker/X:BTCUSD/range/1/day/2003-01-01/2022-07-25"
  7489                      },
  7490                      "values": [
  7491                        {
  7492                          "histogram": 38.3801666667,
  7493                          "signal": 106.9811666667,
  7494                          "timestamp": 1517562000016,
  7495                          "value": 145.3613333333
  7496                        },
  7497                        {
  7498                          "histogram": 41.098859136,
  7499                          "signal": 102.7386283473,
  7500                          "timestamp": 1517562001016,
  7501                          "value": 143.8374874833
  7502                        }
  7503                      ]
  7504                    },
  7505                    "status": "OK"
  7506                  },
  7507                  "schema": {
  7508                    "properties": {
  7509                      "next_url": {
  7510                        "description": "If present, this value can be used to fetch the next page of data.",
  7511                        "type": "string"
  7512                      },
  7513                      "request_id": {
  7514                        "description": "A request id assigned by the server.",
  7515                        "type": "string"
  7516                      },
  7517                      "results": {
  7518                        "properties": {
  7519                          "underlying": {
  7520                            "properties": {
  7521                              "aggregates": {
  7522                                "items": {
  7523                                  "properties": {
  7524                                    "c": {
  7525                                      "description": "The close price for the symbol in the given time period.",
  7526                                      "format": "float",
  7527                                      "type": "number"
  7528                                    },
  7529                                    "h": {
  7530                                      "description": "The highest price for the symbol in the given time period.",
  7531                                      "format": "float",
  7532                                      "type": "number"
  7533                                    },
  7534                                    "l": {
  7535                                      "description": "The lowest price for the symbol in the given time period.",
  7536                                      "format": "float",
  7537                                      "type": "number"
  7538                                    },
  7539                                    "n": {
  7540                                      "description": "The number of transactions in the aggregate window.",
  7541                                      "type": "integer"
  7542                                    },
  7543                                    "o": {
  7544                                      "description": "The open price for the symbol in the given time period.",
  7545                                      "format": "float",
  7546                                      "type": "number"
  7547                                    },
  7548                                    "otc": {
  7549                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  7550                                      "type": "boolean"
  7551                                    },
  7552                                    "t": {
  7553                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  7554                                      "format": "float",
  7555                                      "type": "number"
  7556                                    },
  7557                                    "v": {
  7558                                      "description": "The trading volume of the symbol in the given time period.",
  7559                                      "format": "float",
  7560                                      "type": "number"
  7561                                    },
  7562                                    "vw": {
  7563                                      "description": "The volume weighted average price.",
  7564                                      "format": "float",
  7565                                      "type": "number"
  7566                                    }
  7567                                  },
  7568                                  "required": [
  7569                                    "v",
  7570                                    "vw",
  7571                                    "o",
  7572                                    "c",
  7573                                    "h",
  7574                                    "l",
  7575                                    "t",
  7576                                    "n"
  7577                                  ],
  7578                                  "type": "object",
  7579                                  "x-polygon-go-type": {
  7580                                    "name": "Aggregate",
  7581                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  7582                                  }
  7583                                },
  7584                                "type": "array"
  7585                              },
  7586                              "url": {
  7587                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  7588                                "type": "string"
  7589                              }
  7590                            },
  7591                            "type": "object"
  7592                          },
  7593                          "values": {
  7594                            "items": {
  7595                              "properties": {
  7596                                "histogram": {
  7597                                  "description": "The indicator value for this period.",
  7598                                  "format": "float",
  7599                                  "type": "number",
  7600                                  "x-polygon-go-type": {
  7601                                    "name": "*float64"
  7602                                  }
  7603                                },
  7604                                "signal": {
  7605                                  "description": "The indicator value for this period.",
  7606                                  "format": "float",
  7607                                  "type": "number",
  7608                                  "x-polygon-go-type": {
  7609                                    "name": "*float64"
  7610                                  }
  7611                                },
  7612                                "timestamp": {
  7613                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  7614                                  "format": "int64",
  7615                                  "type": "integer",
  7616                                  "x-polygon-go-type": {
  7617                                    "name": "IMicroseconds",
  7618                                    "path": "github.com/polygon-io/ptime"
  7619                                  }
  7620                                },
  7621                                "value": {
  7622                                  "description": "The indicator value for this period.",
  7623                                  "format": "float",
  7624                                  "type": "number",
  7625                                  "x-polygon-go-type": {
  7626                                    "name": "*float64"
  7627                                  }
  7628                                }
  7629                              },
  7630                              "type": "object"
  7631                            },
  7632                            "type": "array"
  7633                          }
  7634                        },
  7635                        "type": "object",
  7636                        "x-polygon-go-type": {
  7637                          "name": "MACDResults"
  7638                        }
  7639                      },
  7640                      "status": {
  7641                        "description": "The status of this request's response.",
  7642                        "type": "string"
  7643                      }
  7644                    },
  7645                    "type": "object"
  7646                  }
  7647                },
  7648                "text/csv": {
  7649                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value,signal,histogram\nX:BTCUSD,23180.93663313,19103.9189,0,19090,19416.20352522,19791,18461,1664323200000,225076,,0,,0,0,0,0,0,false,1664323200000,-200.79662915774315,-281.5009533935604,80.70432423581724\nX:BTCUSD,17479.00092209,19776.6697,0,19228.2,19141.78,20372.17374536,18821.55,1664236800000,183075,,0,,0,0,0,0,0,false,1664236800000,-264.55324270273195,-316.4388906203941,51.88564791766214\nX:BTCUSD,55188.33773657,18970.3019,0,18816.66899332,19165.98,19333,18690,1664150400000,297389,,0,,0,0,0,0,0,false,1664150400000,-317.75700272815084,-339.5909474061525,21.83394467800167\nX:BTCUSD,4798.38258637,18914.0766,0,18928,18784.41,19184.3,18636,1664078400000,78936,,0,,0,0,0,0,0,false,1664078400000,-350.23805379084297,-345.0494335756529,-5.188620215190042\nX:BTCUSD,4798.38258637,18914.0766,0,18928,18784.41,19184.3,18636,1664064000000,78936,,0,,0,0,0,0,0,false,1664064000000,-347.75055091027025,-343.7522785218554,-3.9982723884148754\nX:BTCUSD,2868.09828007,19069.8521,0,19210.31,18925.87,19400,18805.1,1663992000000,58721,,0,,0,0,0,0,0,false,1663992000000,-339.51740285673077,-342.7527104247516,3.2353075680208576\nX:BTCUSD,11337.77105153,19346.509,0,19527.23,19487.24,19640,18846.95,1664409600000,142239,,0,,0,0,0,0,0,false,1664409600000,-130.70646519456568,-232.81921860513586,102.11275341057018\nX:BTCUSD,23180.93663313,19103.9189,0,19090,19416.20352522,19791,18461,1664337600000,225076,,0,,0,0,0,0,0,false,1664337600000,-165.73322121465026,-258.3474069577784,92.61418574312813\nX:BTCUSD,17479.00092209,19776.6697,0,19228.2,19141.78,20372.17374536,18821.55,1664251200000,183075,,0,,0,0,0,0,0,false,1664251200000,-242.62960978099727,-301.6770344525147,59.04742467151743\nX:BTCUSD,55188.33773657,18970.3019,0,18816.66899332,19165.98,19333,18690,1664164800000,297389,,0,,0,0,0,0,0,false,1664164800000,-288.68772337443806,-329.4103025998096,40.72257922537153\n",
  7650                  "schema": {
  7651                    "type": "string"
  7652                  }
  7653                }
  7654              },
  7655              "description": "Moving Average Convergence/Divergence (MACD) data for each period."
  7656            }
  7657          },
  7658          "summary": "Moving Average Convergence/Divergence (MACD)",
  7659          "tags": [
  7660            "crypto:aggregates"
  7661          ],
  7662          "x-polygon-entitlement-data-type": {
  7663            "description": "Aggregate data",
  7664            "name": "aggregates"
  7665          },
  7666          "x-polygon-entitlement-market-type": {
  7667            "description": "Crypto data",
  7668            "name": "crypto"
  7669          }
  7670        },
  7671        "x-polygon-ignore": true
  7672      },
  7673      "/v1/indicators/macd/{fxTicker}": {
  7674        "get": {
  7675          "description": "Get moving average convergence/divergence (MACD) data for a ticker symbol over a given time range.",
  7676          "operationId": "ForexMACD",
  7677          "parameters": [
  7678            {
  7679              "description": "The ticker symbol for which to get MACD data.",
  7680              "example": "C:EURUSD",
  7681              "in": "path",
  7682              "name": "fxTicker",
  7683              "required": true,
  7684              "schema": {
  7685                "type": "string"
  7686              },
  7687              "x-polygon-go-id": "Ticker"
  7688            },
  7689            {
  7690              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  7691              "in": "query",
  7692              "name": "timestamp",
  7693              "schema": {
  7694                "type": "string"
  7695              },
  7696              "x-polygon-filter-field": {
  7697                "range": true
  7698              }
  7699            },
  7700            {
  7701              "description": "The size of the aggregate time window.",
  7702              "example": "day",
  7703              "in": "query",
  7704              "name": "timespan",
  7705              "schema": {
  7706                "default": "day",
  7707                "enum": [
  7708                  "minute",
  7709                  "hour",
  7710                  "day",
  7711                  "week",
  7712                  "month",
  7713                  "quarter",
  7714                  "year"
  7715                ],
  7716                "type": "string"
  7717              }
  7718            },
  7719            {
  7720              "description": "Whether or not the aggregates used to calculate the MACD are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
  7721              "example": true,
  7722              "in": "query",
  7723              "name": "adjusted",
  7724              "schema": {
  7725                "default": true,
  7726                "type": "boolean"
  7727              }
  7728            },
  7729            {
  7730              "description": "The short window size used to calculate MACD data.",
  7731              "example": 12,
  7732              "in": "query",
  7733              "name": "short_window",
  7734              "schema": {
  7735                "default": 12,
  7736                "type": "integer"
  7737              }
  7738            },
  7739            {
  7740              "description": "The long window size used to calculate MACD data.",
  7741              "example": 26,
  7742              "in": "query",
  7743              "name": "long_window",
  7744              "schema": {
  7745                "default": 26,
  7746                "type": "integer"
  7747              }
  7748            },
  7749            {
  7750              "description": "The window size used to calculate the MACD signal line.",
  7751              "example": 9,
  7752              "in": "query",
  7753              "name": "signal_window",
  7754              "schema": {
  7755                "default": 9,
  7756                "type": "integer"
  7757              }
  7758            },
  7759            {
  7760              "description": "The price in the aggregate which will be used to calculate the MACD. i.e. 'close' will result in using close prices to \ncalculate the MACD.",
  7761              "example": "close",
  7762              "in": "query",
  7763              "name": "series_type",
  7764              "schema": {
  7765                "default": "close",
  7766                "enum": [
  7767                  "open",
  7768                  "high",
  7769                  "low",
  7770                  "close"
  7771                ],
  7772                "type": "string"
  7773              }
  7774            },
  7775            {
  7776              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  7777              "in": "query",
  7778              "name": "expand_underlying",
  7779              "schema": {
  7780                "default": false,
  7781                "type": "boolean"
  7782              }
  7783            },
  7784            {
  7785              "description": "The order in which to return the results, ordered by timestamp.",
  7786              "example": "desc",
  7787              "in": "query",
  7788              "name": "order",
  7789              "schema": {
  7790                "default": "desc",
  7791                "enum": [
  7792                  "asc",
  7793                  "desc"
  7794                ],
  7795                "type": "string"
  7796              }
  7797            },
  7798            {
  7799              "description": "Limit the number of results returned, default is 10 and max is 5000",
  7800              "in": "query",
  7801              "name": "limit",
  7802              "schema": {
  7803                "default": 10,
  7804                "maximum": 5000,
  7805                "type": "integer"
  7806              }
  7807            },
  7808            {
  7809              "description": "Range by timestamp.",
  7810              "in": "query",
  7811              "name": "timestamp.gte",
  7812              "schema": {
  7813                "type": "string"
  7814              }
  7815            },
  7816            {
  7817              "description": "Range by timestamp.",
  7818              "in": "query",
  7819              "name": "timestamp.gt",
  7820              "schema": {
  7821                "type": "string"
  7822              }
  7823            },
  7824            {
  7825              "description": "Range by timestamp.",
  7826              "in": "query",
  7827              "name": "timestamp.lte",
  7828              "schema": {
  7829                "type": "string"
  7830              }
  7831            },
  7832            {
  7833              "description": "Range by timestamp.",
  7834              "in": "query",
  7835              "name": "timestamp.lt",
  7836              "schema": {
  7837                "type": "string"
  7838              }
  7839            }
  7840          ],
  7841          "responses": {
  7842            "200": {
  7843              "content": {
  7844                "application/json": {
  7845                  "example": {
  7846                    "next_url": "https://api.polygon.io/v1/indicators/macd/C:USDAUD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  7847                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  7848                    "results": {
  7849                      "underlying": {
  7850                        "url": "https://api.polygon.io/v2/aggs/ticker/C:USDAUD/range/1/day/2003-01-01/2022-07-25"
  7851                      },
  7852                      "values": [
  7853                        {
  7854                          "histogram": 38.3801666667,
  7855                          "signal": 106.9811666667,
  7856                          "timestamp": 1517562000016,
  7857                          "value": 145.3613333333
  7858                        },
  7859                        {
  7860                          "histogram": 41.098859136,
  7861                          "signal": 102.7386283473,
  7862                          "timestamp": 1517562001016,
  7863                          "value": 143.8374874833
  7864                        }
  7865                      ]
  7866                    },
  7867                    "status": "OK"
  7868                  },
  7869                  "schema": {
  7870                    "properties": {
  7871                      "next_url": {
  7872                        "description": "If present, this value can be used to fetch the next page of data.",
  7873                        "type": "string"
  7874                      },
  7875                      "request_id": {
  7876                        "description": "A request id assigned by the server.",
  7877                        "type": "string"
  7878                      },
  7879                      "results": {
  7880                        "properties": {
  7881                          "underlying": {
  7882                            "properties": {
  7883                              "aggregates": {
  7884                                "items": {
  7885                                  "properties": {
  7886                                    "c": {
  7887                                      "description": "The close price for the symbol in the given time period.",
  7888                                      "format": "float",
  7889                                      "type": "number"
  7890                                    },
  7891                                    "h": {
  7892                                      "description": "The highest price for the symbol in the given time period.",
  7893                                      "format": "float",
  7894                                      "type": "number"
  7895                                    },
  7896                                    "l": {
  7897                                      "description": "The lowest price for the symbol in the given time period.",
  7898                                      "format": "float",
  7899                                      "type": "number"
  7900                                    },
  7901                                    "n": {
  7902                                      "description": "The number of transactions in the aggregate window.",
  7903                                      "type": "integer"
  7904                                    },
  7905                                    "o": {
  7906                                      "description": "The open price for the symbol in the given time period.",
  7907                                      "format": "float",
  7908                                      "type": "number"
  7909                                    },
  7910                                    "otc": {
  7911                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  7912                                      "type": "boolean"
  7913                                    },
  7914                                    "t": {
  7915                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  7916                                      "format": "float",
  7917                                      "type": "number"
  7918                                    },
  7919                                    "v": {
  7920                                      "description": "The trading volume of the symbol in the given time period.",
  7921                                      "format": "float",
  7922                                      "type": "number"
  7923                                    },
  7924                                    "vw": {
  7925                                      "description": "The volume weighted average price.",
  7926                                      "format": "float",
  7927                                      "type": "number"
  7928                                    }
  7929                                  },
  7930                                  "required": [
  7931                                    "v",
  7932                                    "vw",
  7933                                    "o",
  7934                                    "c",
  7935                                    "h",
  7936                                    "l",
  7937                                    "t",
  7938                                    "n"
  7939                                  ],
  7940                                  "type": "object",
  7941                                  "x-polygon-go-type": {
  7942                                    "name": "Aggregate",
  7943                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  7944                                  }
  7945                                },
  7946                                "type": "array"
  7947                              },
  7948                              "url": {
  7949                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  7950                                "type": "string"
  7951                              }
  7952                            },
  7953                            "type": "object"
  7954                          },
  7955                          "values": {
  7956                            "items": {
  7957                              "properties": {
  7958                                "histogram": {
  7959                                  "description": "The indicator value for this period.",
  7960                                  "format": "float",
  7961                                  "type": "number",
  7962                                  "x-polygon-go-type": {
  7963                                    "name": "*float64"
  7964                                  }
  7965                                },
  7966                                "signal": {
  7967                                  "description": "The indicator value for this period.",
  7968                                  "format": "float",
  7969                                  "type": "number",
  7970                                  "x-polygon-go-type": {
  7971                                    "name": "*float64"
  7972                                  }
  7973                                },
  7974                                "timestamp": {
  7975                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  7976                                  "format": "int64",
  7977                                  "type": "integer",
  7978                                  "x-polygon-go-type": {
  7979                                    "name": "IMicroseconds",
  7980                                    "path": "github.com/polygon-io/ptime"
  7981                                  }
  7982                                },
  7983                                "value": {
  7984                                  "description": "The indicator value for this period.",
  7985                                  "format": "float",
  7986                                  "type": "number",
  7987                                  "x-polygon-go-type": {
  7988                                    "name": "*float64"
  7989                                  }
  7990                                }
  7991                              },
  7992                              "type": "object"
  7993                            },
  7994                            "type": "array"
  7995                          }
  7996                        },
  7997                        "type": "object",
  7998                        "x-polygon-go-type": {
  7999                          "name": "MACDResults"
  8000                        }
  8001                      },
  8002                      "status": {
  8003                        "description": "The status of this request's response.",
  8004                        "type": "string"
  8005                      }
  8006                    },
  8007                    "type": "object"
  8008                  }
  8009                },
  8010                "text/csv": {
  8011                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value,signal,histogram\nC:USDAUD,687,1.5442,0,1.53763,1.5386983,1.5526022,1.537279,1664409600000,687,,0,,0,0,0,0,0,false,1664409600000,0.0160095063995076,0.016240853664654657,-0.0002313472651470569\nC:USDAUD,536,1.5459,0,1.5446162,1.5550165,1.5587,1.5364287,1664251200000,536,,0,,0,0,0,0,0,false,1664251200000,0.019060448457087098,0.015690709670065223,0.0033697387870218753\nC:USDAUD,550,1.5405,0,1.5298,1.54531,1.5526263,1.5298,1664164800000,550,,0,,0,0,0,0,0,false,1664164800000,0.017190795754692623,0.013971241529748895,0.003219554224943728\nC:USDAUD,1,1.5314,0,1.5313936,1.5313936,1.5313936,1.5313936,1663977600000,1,,0,,0,0,0,0,0,false,1663977600000,0.014349509127189686,0.010792069356789809,0.0035574397703998766\nC:USDAUD,685,1.5537,0,1.5539533,1.5371372,1.5705737,1.5316281,1664337600000,685,,0,,0,0,0,0,0,false,1664337600000,0.0169083298713677,0.016298690480941423,0.0006096393904262767\nC:USDAUD,685,1.5537,0,1.5539533,1.5371372,1.5705737,1.5316281,1664323200000,685,,0,,0,0,0,0,0,false,1664323200000,0.017968564486413374,0.016146280633334852,0.001822283853078522\nC:USDAUD,536,1.5459,0,1.5446162,1.5550165,1.5587,1.5364287,1664236800000,536,,0,,0,0,0,0,0,false,1664236800000,0.018356408747553177,0.014848274973309752,0.0035081337742434247\nC:USDAUD,550,1.5405,0,1.5298,1.54531,1.5526263,1.5298,1664150400000,550,,0,,0,0,0,0,0,false,1664150400000,0.016441299960100686,0.01316635297351296,0.0032749469865877255\nC:USDAUD,10,1.5312,0,1.5324261,1.53107,1.5326375,1.5301,1664078400000,10,,0,,0,0,0,0,0,false,1664078400000,0.015245524601038118,0.012347616226866026,0.002897908374172092\nC:USDAUD,10,1.5312,0,1.5324261,1.53107,1.5326375,1.5301,1664064000000,10,,0,,0,0,0,0,0,false,1664064000000,0.014947418239455779,0.011623139133323003,0.0033242791061327756\n",
  8012                  "schema": {
  8013                    "type": "string"
  8014                  }
  8015                }
  8016              },
  8017              "description": "Moving Average Convergence/Divergence (MACD) data for each period."
  8018            }
  8019          },
  8020          "summary": "Moving Average Convergence/Divergence (MACD)",
  8021          "tags": [
  8022            "fx:aggregates"
  8023          ],
  8024          "x-polygon-entitlement-data-type": {
  8025            "description": "Aggregate data",
  8026            "name": "aggregates"
  8027          },
  8028          "x-polygon-entitlement-market-type": {
  8029            "description": "Forex data",
  8030            "name": "fx"
  8031          }
  8032        },
  8033        "x-polygon-ignore": true
  8034      },
  8035      "/v1/indicators/macd/{indicesTicker}": {
  8036        "get": {
  8037          "description": "Get moving average convergence/divergence (MACD) for a ticker symbol over a given time range.",
  8038          "operationId": "IndicesMACD",
  8039          "parameters": [
  8040            {
  8041              "description": "The ticker symbol for which to get MACD data.",
  8042              "example": "I:NDX",
  8043              "in": "path",
  8044              "name": "indicesTicker",
  8045              "required": true,
  8046              "schema": {
  8047                "type": "string"
  8048              },
  8049              "x-polygon-go-id": "Ticker"
  8050            },
  8051            {
  8052              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  8053              "in": "query",
  8054              "name": "timestamp",
  8055              "schema": {
  8056                "type": "string"
  8057              },
  8058              "x-polygon-filter-field": {
  8059                "range": true
  8060              }
  8061            },
  8062            {
  8063              "description": "The size of the aggregate time window.",
  8064              "example": "day",
  8065              "in": "query",
  8066              "name": "timespan",
  8067              "schema": {
  8068                "default": "day",
  8069                "enum": [
  8070                  "minute",
  8071                  "hour",
  8072                  "day",
  8073                  "week",
  8074                  "month",
  8075                  "quarter",
  8076                  "year"
  8077                ],
  8078                "type": "string"
  8079              }
  8080            },
  8081            {
  8082              "description": "Whether or not the aggregates used to calculate the MACD are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
  8083              "example": true,
  8084              "in": "query",
  8085              "name": "adjusted",
  8086              "schema": {
  8087                "default": true,
  8088                "type": "boolean"
  8089              }
  8090            },
  8091            {
  8092              "description": "The short window size used to calculate MACD data.",
  8093              "example": 12,
  8094              "in": "query",
  8095              "name": "short_window",
  8096              "schema": {
  8097                "default": 12,
  8098                "type": "integer"
  8099              }
  8100            },
  8101            {
  8102              "description": "The long window size used to calculate MACD data.",
  8103              "example": 26,
  8104              "in": "query",
  8105              "name": "long_window",
  8106              "schema": {
  8107                "default": 26,
  8108                "type": "integer"
  8109              }
  8110            },
  8111            {
  8112              "description": "The window size used to calculate the MACD signal line.",
  8113              "example": 9,
  8114              "in": "query",
  8115              "name": "signal_window",
  8116              "schema": {
  8117                "default": 9,
  8118                "type": "integer"
  8119              }
  8120            },
  8121            {
  8122              "description": "The value in the aggregate which will be used to calculate the MACD. i.e. 'close' will result in using close values to \ncalculate the MACD.",
  8123              "example": "close",
  8124              "in": "query",
  8125              "name": "series_type",
  8126              "schema": {
  8127                "default": "close",
  8128                "enum": [
  8129                  "open",
  8130                  "high",
  8131                  "low",
  8132                  "close"
  8133                ],
  8134                "type": "string"
  8135              }
  8136            },
  8137            {
  8138              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  8139              "in": "query",
  8140              "name": "expand_underlying",
  8141              "schema": {
  8142                "default": false,
  8143                "type": "boolean"
  8144              }
  8145            },
  8146            {
  8147              "description": "The order in which to return the results, ordered by timestamp.",
  8148              "example": "desc",
  8149              "in": "query",
  8150              "name": "order",
  8151              "schema": {
  8152                "default": "desc",
  8153                "enum": [
  8154                  "asc",
  8155                  "desc"
  8156                ],
  8157                "type": "string"
  8158              }
  8159            },
  8160            {
  8161              "description": "Limit the number of results returned, default is 10 and max is 5000",
  8162              "in": "query",
  8163              "name": "limit",
  8164              "schema": {
  8165                "default": 10,
  8166                "maximum": 5000,
  8167                "type": "integer"
  8168              }
  8169            },
  8170            {
  8171              "description": "Range by timestamp.",
  8172              "in": "query",
  8173              "name": "timestamp.gte",
  8174              "schema": {
  8175                "type": "string"
  8176              }
  8177            },
  8178            {
  8179              "description": "Range by timestamp.",
  8180              "in": "query",
  8181              "name": "timestamp.gt",
  8182              "schema": {
  8183                "type": "string"
  8184              }
  8185            },
  8186            {
  8187              "description": "Range by timestamp.",
  8188              "in": "query",
  8189              "name": "timestamp.lte",
  8190              "schema": {
  8191                "type": "string"
  8192              }
  8193            },
  8194            {
  8195              "description": "Range by timestamp.",
  8196              "in": "query",
  8197              "name": "timestamp.lt",
  8198              "schema": {
  8199                "type": "string"
  8200              }
  8201            }
  8202          ],
  8203          "responses": {
  8204            "200": {
  8205              "content": {
  8206                "application/json": {
  8207                  "example": {
  8208                    "next_url": "https://api.polygon.io/v1/indicators/macd/I:NDX?cursor=YWRqdXN0ZWQ9dHJ1ZSZhcD0lN0IlMjJ2JTIyJTNBMCUyQyUyMm8lMjIlM0EwJTJDJTIyYyUyMiUzQTE1MDg0Ljk5OTM4OTgyMDAzJTJDJTIyaCUyMiUzQTAlMkMlMjJsJTIyJTNBMCUyQyUyMnQlMjIlM0ExNjg3MTUwODAwMDAwJTdEJmFzPSZleHBhbmRfdW5kZXJseWluZz1mYWxzZSZsaW1pdD0yJmxvbmdfd2luZG93PTI2Jm9yZGVyPWRlc2Mmc2VyaWVzX3R5cGU9Y2xvc2Umc2hvcnRfd2luZG93PTEyJnNpZ25hbF93aW5kb3c9OSZ0aW1lc3Bhbj1kYXkmdGltZXN0YW1wLmx0PTE2ODcyMTkyMDAwMDA",
  8209                    "request_id": "2eeda0be57e83cbc64cc8d1a74e84dbd",
  8210                    "results": {
  8211                      "underlying": {
  8212                        "url": "https://api.polygon.io/v2/aggs/ticker/I:NDX/range/1/day/1678338000000/1687366537196?limit=121\u0026sort=desc"
  8213                      },
  8214                      "values": [
  8215                        {
  8216                          "histogram": -4.7646219788108795,
  8217                          "signal": 220.7596784587801,
  8218                          "timestamp": 1687237200000,
  8219                          "value": 215.9950564799692
  8220                        },
  8221                        {
  8222                          "histogram": 3.4518937661882205,
  8223                          "signal": 221.9508339534828,
  8224                          "timestamp": 1687219200000,
  8225                          "value": 225.40272771967102
  8226                        }
  8227                      ]
  8228                    },
  8229                    "status": "OK"
  8230                  },
  8231                  "schema": {
  8232                    "properties": {
  8233                      "next_url": {
  8234                        "description": "If present, this value can be used to fetch the next page of data.",
  8235                        "type": "string"
  8236                      },
  8237                      "request_id": {
  8238                        "description": "A request id assigned by the server.",
  8239                        "type": "string"
  8240                      },
  8241                      "results": {
  8242                        "properties": {
  8243                          "underlying": {
  8244                            "properties": {
  8245                              "aggregates": {
  8246                                "items": {
  8247                                  "properties": {
  8248                                    "c": {
  8249                                      "description": "The close price for the symbol in the given time period.",
  8250                                      "format": "float",
  8251                                      "type": "number"
  8252                                    },
  8253                                    "h": {
  8254                                      "description": "The highest price for the symbol in the given time period.",
  8255                                      "format": "float",
  8256                                      "type": "number"
  8257                                    },
  8258                                    "l": {
  8259                                      "description": "The lowest price for the symbol in the given time period.",
  8260                                      "format": "float",
  8261                                      "type": "number"
  8262                                    },
  8263                                    "n": {
  8264                                      "description": "The number of transactions in the aggregate window.",
  8265                                      "type": "integer"
  8266                                    },
  8267                                    "o": {
  8268                                      "description": "The open price for the symbol in the given time period.",
  8269                                      "format": "float",
  8270                                      "type": "number"
  8271                                    },
  8272                                    "otc": {
  8273                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  8274                                      "type": "boolean"
  8275                                    },
  8276                                    "t": {
  8277                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  8278                                      "format": "float",
  8279                                      "type": "number"
  8280                                    },
  8281                                    "v": {
  8282                                      "description": "The trading volume of the symbol in the given time period.",
  8283                                      "format": "float",
  8284                                      "type": "number"
  8285                                    },
  8286                                    "vw": {
  8287                                      "description": "The volume weighted average price.",
  8288                                      "format": "float",
  8289                                      "type": "number"
  8290                                    }
  8291                                  },
  8292                                  "required": [
  8293                                    "v",
  8294                                    "vw",
  8295                                    "o",
  8296                                    "c",
  8297                                    "h",
  8298                                    "l",
  8299                                    "t",
  8300                                    "n"
  8301                                  ],
  8302                                  "type": "object",
  8303                                  "x-polygon-go-type": {
  8304                                    "name": "Aggregate",
  8305                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  8306                                  }
  8307                                },
  8308                                "type": "array"
  8309                              },
  8310                              "url": {
  8311                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  8312                                "type": "string"
  8313                              }
  8314                            },
  8315                            "type": "object"
  8316                          },
  8317                          "values": {
  8318                            "items": {
  8319                              "properties": {
  8320                                "histogram": {
  8321                                  "description": "The indicator value for this period.",
  8322                                  "format": "float",
  8323                                  "type": "number",
  8324                                  "x-polygon-go-type": {
  8325                                    "name": "*float64"
  8326                                  }
  8327                                },
  8328                                "signal": {
  8329                                  "description": "The indicator value for this period.",
  8330                                  "format": "float",
  8331                                  "type": "number",
  8332                                  "x-polygon-go-type": {
  8333                                    "name": "*float64"
  8334                                  }
  8335                                },
  8336                                "timestamp": {
  8337                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  8338                                  "format": "int64",
  8339                                  "type": "integer",
  8340                                  "x-polygon-go-type": {
  8341                                    "name": "IMicroseconds",
  8342                                    "path": "github.com/polygon-io/ptime"
  8343                                  }
  8344                                },
  8345                                "value": {
  8346                                  "description": "The indicator value for this period.",
  8347                                  "format": "float",
  8348                                  "type": "number",
  8349                                  "x-polygon-go-type": {
  8350                                    "name": "*float64"
  8351                                  }
  8352                                }
  8353                              },
  8354                              "type": "object"
  8355                            },
  8356                            "type": "array"
  8357                          }
  8358                        },
  8359                        "type": "object",
  8360                        "x-polygon-go-type": {
  8361                          "name": "MACDResults"
  8362                        }
  8363                      },
  8364                      "status": {
  8365                        "description": "The status of this request's response.",
  8366                        "type": "string"
  8367                      }
  8368                    },
  8369                    "type": "object"
  8370                  }
  8371                }
  8372              },
  8373              "description": "Moving Average Convergence/Divergence (MACD) data for each period."
  8374            }
  8375          },
  8376          "summary": "Moving Average Convergence/Divergence (MACD)",
  8377          "tags": [
  8378            "indices:aggregates"
  8379          ],
  8380          "x-polygon-entitlement-allowed-limited-tickers": true,
  8381          "x-polygon-entitlement-data-type": {
  8382            "description": "Aggregate data",
  8383            "name": "aggregates"
  8384          },
  8385          "x-polygon-entitlement-market-type": {
  8386            "description": "Indices data",
  8387            "name": "indices"
  8388          }
  8389        },
  8390        "x-polygon-ignore": true
  8391      },
  8392      "/v1/indicators/macd/{optionsTicker}": {
  8393        "get": {
  8394          "description": "Get moving average convergence/divergence (MACD) for a ticker symbol over a given time range.",
  8395          "operationId": "OptionsMACD",
  8396          "parameters": [
  8397            {
  8398              "description": "The ticker symbol for which to get MACD data.",
  8399              "example": "O:SPY241220P00720000",
  8400              "in": "path",
  8401              "name": "optionsTicker",
  8402              "required": true,
  8403              "schema": {
  8404                "type": "string"
  8405              },
  8406              "x-polygon-go-id": "Ticker"
  8407            },
  8408            {
  8409              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  8410              "in": "query",
  8411              "name": "timestamp",
  8412              "schema": {
  8413                "type": "string"
  8414              },
  8415              "x-polygon-filter-field": {
  8416                "range": true
  8417              }
  8418            },
  8419            {
  8420              "description": "The size of the aggregate time window.",
  8421              "example": "day",
  8422              "in": "query",
  8423              "name": "timespan",
  8424              "schema": {
  8425                "default": "day",
  8426                "enum": [
  8427                  "minute",
  8428                  "hour",
  8429                  "day",
  8430                  "week",
  8431                  "month",
  8432                  "quarter",
  8433                  "year"
  8434                ],
  8435                "type": "string"
  8436              }
  8437            },
  8438            {
  8439              "description": "Whether or not the aggregates used to calculate the MACD are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
  8440              "example": true,
  8441              "in": "query",
  8442              "name": "adjusted",
  8443              "schema": {
  8444                "default": true,
  8445                "type": "boolean"
  8446              }
  8447            },
  8448            {
  8449              "description": "The short window size used to calculate MACD data.",
  8450              "example": 12,
  8451              "in": "query",
  8452              "name": "short_window",
  8453              "schema": {
  8454                "default": 12,
  8455                "type": "integer"
  8456              }
  8457            },
  8458            {
  8459              "description": "The long window size used to calculate MACD data.",
  8460              "example": 26,
  8461              "in": "query",
  8462              "name": "long_window",
  8463              "schema": {
  8464                "default": 26,
  8465                "type": "integer"
  8466              }
  8467            },
  8468            {
  8469              "description": "The window size used to calculate the MACD signal line.",
  8470              "example": 9,
  8471              "in": "query",
  8472              "name": "signal_window",
  8473              "schema": {
  8474                "default": 9,
  8475                "type": "integer"
  8476              }
  8477            },
  8478            {
  8479              "description": "The price in the aggregate which will be used to calculate the MACD. i.e. 'close' will result in using close prices to \ncalculate the MACD.",
  8480              "example": "close",
  8481              "in": "query",
  8482              "name": "series_type",
  8483              "schema": {
  8484                "default": "close",
  8485                "enum": [
  8486                  "open",
  8487                  "high",
  8488                  "low",
  8489                  "close"
  8490                ],
  8491                "type": "string"
  8492              }
  8493            },
  8494            {
  8495              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  8496              "in": "query",
  8497              "name": "expand_underlying",
  8498              "schema": {
  8499                "default": false,
  8500                "type": "boolean"
  8501              }
  8502            },
  8503            {
  8504              "description": "The order in which to return the results, ordered by timestamp.",
  8505              "example": "desc",
  8506              "in": "query",
  8507              "name": "order",
  8508              "schema": {
  8509                "default": "desc",
  8510                "enum": [
  8511                  "asc",
  8512                  "desc"
  8513                ],
  8514                "type": "string"
  8515              }
  8516            },
  8517            {
  8518              "description": "Limit the number of results returned, default is 10 and max is 5000",
  8519              "in": "query",
  8520              "name": "limit",
  8521              "schema": {
  8522                "default": 10,
  8523                "maximum": 5000,
  8524                "type": "integer"
  8525              }
  8526            },
  8527            {
  8528              "description": "Range by timestamp.",
  8529              "in": "query",
  8530              "name": "timestamp.gte",
  8531              "schema": {
  8532                "type": "string"
  8533              }
  8534            },
  8535            {
  8536              "description": "Range by timestamp.",
  8537              "in": "query",
  8538              "name": "timestamp.gt",
  8539              "schema": {
  8540                "type": "string"
  8541              }
  8542            },
  8543            {
  8544              "description": "Range by timestamp.",
  8545              "in": "query",
  8546              "name": "timestamp.lte",
  8547              "schema": {
  8548                "type": "string"
  8549              }
  8550            },
  8551            {
  8552              "description": "Range by timestamp.",
  8553              "in": "query",
  8554              "name": "timestamp.lt",
  8555              "schema": {
  8556                "type": "string"
  8557              }
  8558            }
  8559          ],
  8560          "responses": {
  8561            "200": {
  8562              "content": {
  8563                "application/json": {
  8564                  "example": {
  8565                    "next_url": "https://api.polygon.io/v1/indicators/macd/O:SPY241220P00720000?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  8566                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  8567                    "results": {
  8568                      "underlying": {
  8569                        "url": "https://api.polygon.io/v2/aggs/ticker/O:SPY241220P00720000/range/1/day/2003-01-01/2022-07-25"
  8570                      },
  8571                      "values": [
  8572                        {
  8573                          "histogram": 38.3801666667,
  8574                          "signal": 106.9811666667,
  8575                          "timestamp": 1517562000016,
  8576                          "value": 145.3613333333
  8577                        },
  8578                        {
  8579                          "histogram": 41.098859136,
  8580                          "signal": 102.7386283473,
  8581                          "timestamp": 1517562001016,
  8582                          "value": 143.8374874833
  8583                        }
  8584                      ]
  8585                    },
  8586                    "status": "OK"
  8587                  },
  8588                  "schema": {
  8589                    "properties": {
  8590                      "next_url": {
  8591                        "description": "If present, this value can be used to fetch the next page of data.",
  8592                        "type": "string"
  8593                      },
  8594                      "request_id": {
  8595                        "description": "A request id assigned by the server.",
  8596                        "type": "string"
  8597                      },
  8598                      "results": {
  8599                        "properties": {
  8600                          "underlying": {
  8601                            "properties": {
  8602                              "aggregates": {
  8603                                "items": {
  8604                                  "properties": {
  8605                                    "c": {
  8606                                      "description": "The close price for the symbol in the given time period.",
  8607                                      "format": "float",
  8608                                      "type": "number"
  8609                                    },
  8610                                    "h": {
  8611                                      "description": "The highest price for the symbol in the given time period.",
  8612                                      "format": "float",
  8613                                      "type": "number"
  8614                                    },
  8615                                    "l": {
  8616                                      "description": "The lowest price for the symbol in the given time period.",
  8617                                      "format": "float",
  8618                                      "type": "number"
  8619                                    },
  8620                                    "n": {
  8621                                      "description": "The number of transactions in the aggregate window.",
  8622                                      "type": "integer"
  8623                                    },
  8624                                    "o": {
  8625                                      "description": "The open price for the symbol in the given time period.",
  8626                                      "format": "float",
  8627                                      "type": "number"
  8628                                    },
  8629                                    "otc": {
  8630                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  8631                                      "type": "boolean"
  8632                                    },
  8633                                    "t": {
  8634                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  8635                                      "format": "float",
  8636                                      "type": "number"
  8637                                    },
  8638                                    "v": {
  8639                                      "description": "The trading volume of the symbol in the given time period.",
  8640                                      "format": "float",
  8641                                      "type": "number"
  8642                                    },
  8643                                    "vw": {
  8644                                      "description": "The volume weighted average price.",
  8645                                      "format": "float",
  8646                                      "type": "number"
  8647                                    }
  8648                                  },
  8649                                  "required": [
  8650                                    "v",
  8651                                    "vw",
  8652                                    "o",
  8653                                    "c",
  8654                                    "h",
  8655                                    "l",
  8656                                    "t",
  8657                                    "n"
  8658                                  ],
  8659                                  "type": "object",
  8660                                  "x-polygon-go-type": {
  8661                                    "name": "Aggregate",
  8662                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  8663                                  }
  8664                                },
  8665                                "type": "array"
  8666                              },
  8667                              "url": {
  8668                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  8669                                "type": "string"
  8670                              }
  8671                            },
  8672                            "type": "object"
  8673                          },
  8674                          "values": {
  8675                            "items": {
  8676                              "properties": {
  8677                                "histogram": {
  8678                                  "description": "The indicator value for this period.",
  8679                                  "format": "float",
  8680                                  "type": "number",
  8681                                  "x-polygon-go-type": {
  8682                                    "name": "*float64"
  8683                                  }
  8684                                },
  8685                                "signal": {
  8686                                  "description": "The indicator value for this period.",
  8687                                  "format": "float",
  8688                                  "type": "number",
  8689                                  "x-polygon-go-type": {
  8690                                    "name": "*float64"
  8691                                  }
  8692                                },
  8693                                "timestamp": {
  8694                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  8695                                  "format": "int64",
  8696                                  "type": "integer",
  8697                                  "x-polygon-go-type": {
  8698                                    "name": "IMicroseconds",
  8699                                    "path": "github.com/polygon-io/ptime"
  8700                                  }
  8701                                },
  8702                                "value": {
  8703                                  "description": "The indicator value for this period.",
  8704                                  "format": "float",
  8705                                  "type": "number",
  8706                                  "x-polygon-go-type": {
  8707                                    "name": "*float64"
  8708                                  }
  8709                                }
  8710                              },
  8711                              "type": "object"
  8712                            },
  8713                            "type": "array"
  8714                          }
  8715                        },
  8716                        "type": "object",
  8717                        "x-polygon-go-type": {
  8718                          "name": "MACDResults"
  8719                        }
  8720                      },
  8721                      "status": {
  8722                        "description": "The status of this request's response.",
  8723                        "type": "string"
  8724                      }
  8725                    },
  8726                    "type": "object"
  8727                  }
  8728                },
  8729                "text/csv": {
  8730                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value,signal,histogram\nO:SPY241220P00720000,3,277.8267,0,277.82,277.83,277.83,277.82,1649649600000,2,,0,,0,0,0,0,0,false,1649649600000,-0.05105556065990413,3.5771695836806834,-3.6282251443405875\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649304000000,1,,0,,0,0,0,0,0,false,1649304000000,4.047960862047148,5.247666286053219,-1.199705424006071\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648785600000,1,,0,,0,0,0,0,0,false,1648785600000,5.255380647906861,6.466477305754766,-1.2110966578479045\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648699200000,1,,0,,0,0,0,0,0,false,1648699200000,5.591072756938104,6.769251470216741,-1.178178713278637\nO:SPY241220P00720000,2,270.49,0,270.49,270.49,270.49,270.49,1649390400000,1,,0,,0,0,0,0,0,false,1649390400000,1.4304642046162712,4.48422586976583,-3.053761665149559\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649217600000,1,,0,,0,0,0,0,0,false,1649217600000,4.32835898317461,5.547592642054737,-1.2192336588801274\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649131200000,1,,0,,0,0,0,0,0,false,1649131200000,4.623290999840208,5.852401056774768,-1.2291100569345605\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649044800000,1,,0,,0,0,0,0,0,false,1649044800000,4.932483632022979,6.159678571008409,-1.2271949389854298\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648612800000,1,,0,,0,0,0,0,0,false,1648612800000,5.93821326327344,7.063796148536399,-1.1255828852629595\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648526400000,1,,0,,0,0,0,0,0,false,1648526400000,6.294916771166584,7.345191869852139,-1.050275098685555\n",
  8731                  "schema": {
  8732                    "type": "string"
  8733                  }
  8734                }
  8735              },
  8736              "description": "Moving Average Convergence/Divergence (MACD) data for each period."
  8737            }
  8738          },
  8739          "summary": "Moving Average Convergence/Divergence (MACD)",
  8740          "tags": [
  8741            "options:aggregates"
  8742          ],
  8743          "x-polygon-entitlement-data-type": {
  8744            "description": "Aggregate data",
  8745            "name": "aggregates"
  8746          },
  8747          "x-polygon-entitlement-market-type": {
  8748            "description": "Options data",
  8749            "name": "options"
  8750          }
  8751        },
  8752        "x-polygon-ignore": true
  8753      },
  8754      "/v1/indicators/macd/{stockTicker}": {
  8755        "get": {
  8756          "description": "Get moving average convergence/divergence (MACD) data for a ticker symbol over a given time range.",
  8757          "operationId": "MACD",
  8758          "parameters": [
  8759            {
  8760              "description": "The ticker symbol for which to get MACD data.",
  8761              "example": "AAPL",
  8762              "in": "path",
  8763              "name": "stockTicker",
  8764              "required": true,
  8765              "schema": {
  8766                "type": "string"
  8767              },
  8768              "x-polygon-go-id": "Ticker"
  8769            },
  8770            {
  8771              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  8772              "in": "query",
  8773              "name": "timestamp",
  8774              "schema": {
  8775                "type": "string"
  8776              },
  8777              "x-polygon-filter-field": {
  8778                "range": true
  8779              }
  8780            },
  8781            {
  8782              "description": "The size of the aggregate time window.",
  8783              "example": "day",
  8784              "in": "query",
  8785              "name": "timespan",
  8786              "schema": {
  8787                "default": "day",
  8788                "enum": [
  8789                  "minute",
  8790                  "hour",
  8791                  "day",
  8792                  "week",
  8793                  "month",
  8794                  "quarter",
  8795                  "year"
  8796                ],
  8797                "type": "string"
  8798              }
  8799            },
  8800            {
  8801              "description": "Whether or not the aggregates used to calculate the MACD are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results that are NOT adjusted for splits.",
  8802              "example": true,
  8803              "in": "query",
  8804              "name": "adjusted",
  8805              "schema": {
  8806                "default": true,
  8807                "type": "boolean"
  8808              }
  8809            },
  8810            {
  8811              "description": "The short window size used to calculate MACD data.",
  8812              "example": 12,
  8813              "in": "query",
  8814              "name": "short_window",
  8815              "schema": {
  8816                "default": 12,
  8817                "type": "integer"
  8818              }
  8819            },
  8820            {
  8821              "description": "The long window size used to calculate MACD data.",
  8822              "example": 26,
  8823              "in": "query",
  8824              "name": "long_window",
  8825              "schema": {
  8826                "default": 26,
  8827                "type": "integer"
  8828              }
  8829            },
  8830            {
  8831              "description": "The window size used to calculate the MACD signal line.",
  8832              "example": 9,
  8833              "in": "query",
  8834              "name": "signal_window",
  8835              "schema": {
  8836                "default": 9,
  8837                "type": "integer"
  8838              }
  8839            },
  8840            {
  8841              "description": "The price in the aggregate which will be used to calculate the MACD. i.e. 'close' will result in using close prices to \ncalculate the MACD.",
  8842              "example": "close",
  8843              "in": "query",
  8844              "name": "series_type",
  8845              "schema": {
  8846                "default": "close",
  8847                "enum": [
  8848                  "open",
  8849                  "high",
  8850                  "low",
  8851                  "close"
  8852                ],
  8853                "type": "string"
  8854              }
  8855            },
  8856            {
  8857              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  8858              "in": "query",
  8859              "name": "expand_underlying",
  8860              "schema": {
  8861                "default": false,
  8862                "type": "boolean"
  8863              }
  8864            },
  8865            {
  8866              "description": "The order in which to return the results, ordered by timestamp.",
  8867              "example": "desc",
  8868              "in": "query",
  8869              "name": "order",
  8870              "schema": {
  8871                "default": "desc",
  8872                "enum": [
  8873                  "asc",
  8874                  "desc"
  8875                ],
  8876                "type": "string"
  8877              }
  8878            },
  8879            {
  8880              "description": "Limit the number of results returned, default is 10 and max is 5000",
  8881              "in": "query",
  8882              "name": "limit",
  8883              "schema": {
  8884                "default": 10,
  8885                "maximum": 5000,
  8886                "type": "integer"
  8887              }
  8888            },
  8889            {
  8890              "description": "Range by timestamp.",
  8891              "in": "query",
  8892              "name": "timestamp.gte",
  8893              "schema": {
  8894                "type": "string"
  8895              }
  8896            },
  8897            {
  8898              "description": "Range by timestamp.",
  8899              "in": "query",
  8900              "name": "timestamp.gt",
  8901              "schema": {
  8902                "type": "string"
  8903              }
  8904            },
  8905            {
  8906              "description": "Range by timestamp.",
  8907              "in": "query",
  8908              "name": "timestamp.lte",
  8909              "schema": {
  8910                "type": "string"
  8911              }
  8912            },
  8913            {
  8914              "description": "Range by timestamp.",
  8915              "in": "query",
  8916              "name": "timestamp.lt",
  8917              "schema": {
  8918                "type": "string"
  8919              }
  8920            }
  8921          ],
  8922          "responses": {
  8923            "200": {
  8924              "content": {
  8925                "application/json": {
  8926                  "example": {
  8927                    "next_url": "https://api.polygon.io/v1/indicators/macd/AAPL?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  8928                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  8929                    "results": {
  8930                      "underlying": {
  8931                        "url": "https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2003-01-01/2022-07-25"
  8932                      },
  8933                      "values": [
  8934                        {
  8935                          "histogram": 38.3801666667,
  8936                          "signal": 106.9811666667,
  8937                          "timestamp": 1517562000016,
  8938                          "value": 145.3613333333
  8939                        },
  8940                        {
  8941                          "histogram": 41.098859136,
  8942                          "signal": 102.7386283473,
  8943                          "timestamp": 1517562001016,
  8944                          "value": 143.8374874833
  8945                        }
  8946                      ]
  8947                    },
  8948                    "status": "OK"
  8949                  },
  8950                  "schema": {
  8951                    "properties": {
  8952                      "next_url": {
  8953                        "description": "If present, this value can be used to fetch the next page of data.",
  8954                        "type": "string"
  8955                      },
  8956                      "request_id": {
  8957                        "description": "A request id assigned by the server.",
  8958                        "type": "string"
  8959                      },
  8960                      "results": {
  8961                        "properties": {
  8962                          "underlying": {
  8963                            "properties": {
  8964                              "aggregates": {
  8965                                "items": {
  8966                                  "properties": {
  8967                                    "c": {
  8968                                      "description": "The close price for the symbol in the given time period.",
  8969                                      "format": "float",
  8970                                      "type": "number"
  8971                                    },
  8972                                    "h": {
  8973                                      "description": "The highest price for the symbol in the given time period.",
  8974                                      "format": "float",
  8975                                      "type": "number"
  8976                                    },
  8977                                    "l": {
  8978                                      "description": "The lowest price for the symbol in the given time period.",
  8979                                      "format": "float",
  8980                                      "type": "number"
  8981                                    },
  8982                                    "n": {
  8983                                      "description": "The number of transactions in the aggregate window.",
  8984                                      "type": "integer"
  8985                                    },
  8986                                    "o": {
  8987                                      "description": "The open price for the symbol in the given time period.",
  8988                                      "format": "float",
  8989                                      "type": "number"
  8990                                    },
  8991                                    "otc": {
  8992                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  8993                                      "type": "boolean"
  8994                                    },
  8995                                    "t": {
  8996                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  8997                                      "format": "float",
  8998                                      "type": "number"
  8999                                    },
  9000                                    "v": {
  9001                                      "description": "The trading volume of the symbol in the given time period.",
  9002                                      "format": "float",
  9003                                      "type": "number"
  9004                                    },
  9005                                    "vw": {
  9006                                      "description": "The volume weighted average price.",
  9007                                      "format": "float",
  9008                                      "type": "number"
  9009                                    }
  9010                                  },
  9011                                  "required": [
  9012                                    "v",
  9013                                    "vw",
  9014                                    "o",
  9015                                    "c",
  9016                                    "h",
  9017                                    "l",
  9018                                    "t",
  9019                                    "n"
  9020                                  ],
  9021                                  "type": "object",
  9022                                  "x-polygon-go-type": {
  9023                                    "name": "Aggregate",
  9024                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  9025                                  }
  9026                                },
  9027                                "type": "array"
  9028                              },
  9029                              "url": {
  9030                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  9031                                "type": "string"
  9032                              }
  9033                            },
  9034                            "type": "object"
  9035                          },
  9036                          "values": {
  9037                            "items": {
  9038                              "properties": {
  9039                                "histogram": {
  9040                                  "description": "The indicator value for this period.",
  9041                                  "format": "float",
  9042                                  "type": "number",
  9043                                  "x-polygon-go-type": {
  9044                                    "name": "*float64"
  9045                                  }
  9046                                },
  9047                                "signal": {
  9048                                  "description": "The indicator value for this period.",
  9049                                  "format": "float",
  9050                                  "type": "number",
  9051                                  "x-polygon-go-type": {
  9052                                    "name": "*float64"
  9053                                  }
  9054                                },
  9055                                "timestamp": {
  9056                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  9057                                  "format": "int64",
  9058                                  "type": "integer",
  9059                                  "x-polygon-go-type": {
  9060                                    "name": "IMicroseconds",
  9061                                    "path": "github.com/polygon-io/ptime"
  9062                                  }
  9063                                },
  9064                                "value": {
  9065                                  "description": "The indicator value for this period.",
  9066                                  "format": "float",
  9067                                  "type": "number",
  9068                                  "x-polygon-go-type": {
  9069                                    "name": "*float64"
  9070                                  }
  9071                                }
  9072                              },
  9073                              "type": "object"
  9074                            },
  9075                            "type": "array"
  9076                          }
  9077                        },
  9078                        "type": "object",
  9079                        "x-polygon-go-type": {
  9080                          "name": "MACDResults"
  9081                        }
  9082                      },
  9083                      "status": {
  9084                        "description": "The status of this request's response.",
  9085                        "type": "string"
  9086                      }
  9087                    },
  9088                    "type": "object"
  9089                  }
  9090                },
  9091                "text/csv": {
  9092                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value,signal,histogram\nAAPL,1.27842348E+08,142.9013,0,146.1,142.48,146.72,140.68,1664424000000,1061605,,0,,0,0,0,0,0,false,1664424000000,-5.413804946923619,-3.8291158739479005,-1.5846890729757188\nAAPL,8.4461761E+07,152.1354,0,152.74,151.76,154.72,149.945,1664251200000,683781,,0,,0,0,0,0,0,false,1664251200000,-4.63165683097526,-3.098305244715017,-1.5333515862602427\nAAPL,9.3339409E+07,151.5222,0,149.66,150.77,153.7701,149.64,1664164800000,747666,,0,,0,0,0,0,0,false,1664164800000,-4.581291216131007,-2.7149673481499565,-1.86632386798105\nAAPL,9.3308449E+07,156.1877,0,157.34,153.72,158.61,153.6,1663732800000,712645,,0,,0,0,0,0,0,false,1663732800000,-3.6311474313744156,-1.1648824074663984,-2.4662650239080173\nAAPL,1.64879031E+08,150.2387,0,151.21,150.7,151.35,148.37,1663300800000,850358,,0,,0,0,0,0,0,false,1663300800000,-2.533545758578896,0.9308104167079131,-3.464356175286809\nAAPL,1.46755122E+08,147.599,0,147.64,149.84,150.6414,144.84,1664337600000,1140818,,0,,0,0,0,0,0,false,1664337600000,-4.771497049659786,-3.432943605703971,-1.3385534439558149\nAAPL,9.6031641E+07,150.0222,0,151.19,150.43,151.47,148.56,1663905600000,766888,,0,,0,0,0,0,0,false,1663905600000,-4.349569413677017,-2.2483863811546936,-2.1011830325223233\nAAPL,8.6651514E+07,152.5709,0,152.38,152.74,154.47,150.91,1663819200000,686866,,0,,0,0,0,0,0,false,1663819200000,-3.9559234852549707,-1.7230906230241128,-2.232832862230858\nAAPL,1.07691097E+08,156.1317,0,153.4,156.9,158.08,153.08,1663646400000,792177,,0,,0,0,0,0,0,false,1663646400000,-3.2635802145105117,-0.548316151489394,-2.7152640630211176\nAAPL,8.1599225E+07,152.5505,0,149.31,154.48,154.56,149.1,1663560000000,671961,,0,,0,0,0,0,0,false,1663560000000,-3.070742345502225,0.13049986426588545,-3.2012422097681106\n",
  9093                  "schema": {
  9094                    "type": "string"
  9095                  }
  9096                }
  9097              },
  9098              "description": "Moving Average Convergence/Divergence (MACD) data for each period."
  9099            }
  9100          },
  9101          "summary": "Moving Average Convergence/Divergence (MACD)",
  9102          "tags": [
  9103            "stocks:aggregates"
  9104          ],
  9105          "x-polygon-entitlement-data-type": {
  9106            "description": "Aggregate data",
  9107            "name": "aggregates"
  9108          },
  9109          "x-polygon-entitlement-market-type": {
  9110            "description": "Stocks data",
  9111            "name": "stocks"
  9112          }
  9113        }
  9114      },
  9115      "/v1/indicators/rsi/{cryptoTicker}": {
  9116        "get": {
  9117          "description": "Get the relative strength index (RSI) for a ticker symbol over a given time range.",
  9118          "operationId": "CryptoRSI",
  9119          "parameters": [
  9120            {
  9121              "description": "The ticker symbol for which to get relative strength index (RSI) data.",
  9122              "example": "X:BTCUSD",
  9123              "in": "path",
  9124              "name": "cryptoTicker",
  9125              "required": true,
  9126              "schema": {
  9127                "type": "string"
  9128              },
  9129              "x-polygon-go-id": "Ticker"
  9130            },
  9131            {
  9132              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  9133              "in": "query",
  9134              "name": "timestamp",
  9135              "schema": {
  9136                "type": "string"
  9137              },
  9138              "x-polygon-filter-field": {
  9139                "range": true
  9140              }
  9141            },
  9142            {
  9143              "description": "The size of the aggregate time window.",
  9144              "example": "day",
  9145              "in": "query",
  9146              "name": "timespan",
  9147              "schema": {
  9148                "default": "day",
  9149                "enum": [
  9150                  "minute",
  9151                  "hour",
  9152                  "day",
  9153                  "week",
  9154                  "month",
  9155                  "quarter",
  9156                  "year"
  9157                ],
  9158                "type": "string"
  9159              }
  9160            },
  9161            {
  9162              "description": "The window size used to calculate the relative strength index (RSI). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
  9163              "example": 14,
  9164              "in": "query",
  9165              "name": "window",
  9166              "schema": {
  9167                "default": 14,
  9168                "type": "integer"
  9169              }
  9170            },
  9171            {
  9172              "description": "The price in the aggregate which will be used to calculate the relative strength index. i.e. 'close' will result in using close prices to \ncalculate the relative strength index (RSI).",
  9173              "example": "close",
  9174              "in": "query",
  9175              "name": "series_type",
  9176              "schema": {
  9177                "default": "close",
  9178                "enum": [
  9179                  "open",
  9180                  "high",
  9181                  "low",
  9182                  "close"
  9183                ],
  9184                "type": "string"
  9185              }
  9186            },
  9187            {
  9188              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  9189              "in": "query",
  9190              "name": "expand_underlying",
  9191              "schema": {
  9192                "default": false,
  9193                "type": "boolean"
  9194              }
  9195            },
  9196            {
  9197              "description": "The order in which to return the results, ordered by timestamp.",
  9198              "example": "desc",
  9199              "in": "query",
  9200              "name": "order",
  9201              "schema": {
  9202                "default": "desc",
  9203                "enum": [
  9204                  "asc",
  9205                  "desc"
  9206                ],
  9207                "type": "string"
  9208              }
  9209            },
  9210            {
  9211              "description": "Limit the number of results returned, default is 10 and max is 5000",
  9212              "in": "query",
  9213              "name": "limit",
  9214              "schema": {
  9215                "default": 10,
  9216                "maximum": 5000,
  9217                "type": "integer"
  9218              }
  9219            },
  9220            {
  9221              "description": "Range by timestamp.",
  9222              "in": "query",
  9223              "name": "timestamp.gte",
  9224              "schema": {
  9225                "type": "string"
  9226              }
  9227            },
  9228            {
  9229              "description": "Range by timestamp.",
  9230              "in": "query",
  9231              "name": "timestamp.gt",
  9232              "schema": {
  9233                "type": "string"
  9234              }
  9235            },
  9236            {
  9237              "description": "Range by timestamp.",
  9238              "in": "query",
  9239              "name": "timestamp.lte",
  9240              "schema": {
  9241                "type": "string"
  9242              }
  9243            },
  9244            {
  9245              "description": "Range by timestamp.",
  9246              "in": "query",
  9247              "name": "timestamp.lt",
  9248              "schema": {
  9249                "type": "string"
  9250              }
  9251            }
  9252          ],
  9253          "responses": {
  9254            "200": {
  9255              "content": {
  9256                "application/json": {
  9257                  "example": {
  9258                    "next_url": "https://api.polygon.io/v1/indicators/rsi/X:BTCUSD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  9259                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  9260                    "results": {
  9261                      "underlying": {
  9262                        "url": "https://api.polygon.io/v2/aggs/ticker/X:BTCUSD/range/1/day/2003-01-01/2022-07-25"
  9263                      },
  9264                      "values": [
  9265                        {
  9266                          "timestamp": 1517562000016,
  9267                          "value": 82.19
  9268                        }
  9269                      ]
  9270                    },
  9271                    "status": "OK"
  9272                  },
  9273                  "schema": {
  9274                    "properties": {
  9275                      "next_url": {
  9276                        "description": "If present, this value can be used to fetch the next page of data.",
  9277                        "type": "string"
  9278                      },
  9279                      "request_id": {
  9280                        "description": "A request id assigned by the server.",
  9281                        "type": "string"
  9282                      },
  9283                      "results": {
  9284                        "properties": {
  9285                          "underlying": {
  9286                            "properties": {
  9287                              "aggregates": {
  9288                                "items": {
  9289                                  "properties": {
  9290                                    "c": {
  9291                                      "description": "The close price for the symbol in the given time period.",
  9292                                      "format": "float",
  9293                                      "type": "number"
  9294                                    },
  9295                                    "h": {
  9296                                      "description": "The highest price for the symbol in the given time period.",
  9297                                      "format": "float",
  9298                                      "type": "number"
  9299                                    },
  9300                                    "l": {
  9301                                      "description": "The lowest price for the symbol in the given time period.",
  9302                                      "format": "float",
  9303                                      "type": "number"
  9304                                    },
  9305                                    "n": {
  9306                                      "description": "The number of transactions in the aggregate window.",
  9307                                      "type": "integer"
  9308                                    },
  9309                                    "o": {
  9310                                      "description": "The open price for the symbol in the given time period.",
  9311                                      "format": "float",
  9312                                      "type": "number"
  9313                                    },
  9314                                    "otc": {
  9315                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  9316                                      "type": "boolean"
  9317                                    },
  9318                                    "t": {
  9319                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  9320                                      "format": "float",
  9321                                      "type": "number"
  9322                                    },
  9323                                    "v": {
  9324                                      "description": "The trading volume of the symbol in the given time period.",
  9325                                      "format": "float",
  9326                                      "type": "number"
  9327                                    },
  9328                                    "vw": {
  9329                                      "description": "The volume weighted average price.",
  9330                                      "format": "float",
  9331                                      "type": "number"
  9332                                    }
  9333                                  },
  9334                                  "required": [
  9335                                    "v",
  9336                                    "vw",
  9337                                    "o",
  9338                                    "c",
  9339                                    "h",
  9340                                    "l",
  9341                                    "t",
  9342                                    "n"
  9343                                  ],
  9344                                  "type": "object",
  9345                                  "x-polygon-go-type": {
  9346                                    "name": "Aggregate",
  9347                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  9348                                  }
  9349                                },
  9350                                "type": "array"
  9351                              },
  9352                              "url": {
  9353                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  9354                                "type": "string"
  9355                              }
  9356                            },
  9357                            "type": "object"
  9358                          },
  9359                          "values": {
  9360                            "items": {
  9361                              "properties": {
  9362                                "timestamp": {
  9363                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  9364                                  "format": "int64",
  9365                                  "type": "integer",
  9366                                  "x-polygon-go-type": {
  9367                                    "name": "IMicroseconds",
  9368                                    "path": "github.com/polygon-io/ptime"
  9369                                  }
  9370                                },
  9371                                "value": {
  9372                                  "description": "The indicator value for this period.",
  9373                                  "format": "float",
  9374                                  "type": "number",
  9375                                  "x-polygon-go-type": {
  9376                                    "name": "*float64"
  9377                                  }
  9378                                }
  9379                              },
  9380                              "type": "object"
  9381                            },
  9382                            "type": "array"
  9383                          }
  9384                        },
  9385                        "type": "object",
  9386                        "x-polygon-go-type": {
  9387                          "name": "RSIResults"
  9388                        }
  9389                      },
  9390                      "status": {
  9391                        "description": "The status of this request's response.",
  9392                        "type": "string"
  9393                      }
  9394                    },
  9395                    "type": "object"
  9396                  }
  9397                },
  9398                "text/csv": {
  9399                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nX:BTCUSD,15457.24362826,19317.486,0,19529.04,19475.84,19651.2772302,18846.67,1664409600000,191936,,0,,0,0,0,0,0,false,1664409600000,52.040915721136884\nX:BTCUSD,17479.00092209,19776.6697,0,19228.2,19141.78,20372.17374536,18821.55,1664251200000,183075,,0,,0,0,0,0,0,false,1664251200000,44.813590401722564\nX:BTCUSD,17479.00092209,19776.6697,0,19228.2,19141.78,20372.17374536,18821.55,1664236800000,183075,,0,,0,0,0,0,0,false,1664236800000,44.813590401722564\nX:BTCUSD,55188.33773657,18970.3019,0,18816.66899332,19165.98,19333,18690,1664164800000,297389,,0,,0,0,0,0,0,false,1664164800000,45.22751170711286\nX:BTCUSD,55188.33773657,18970.3019,0,18816.66899332,19165.98,19333,18690,1664150400000,297389,,0,,0,0,0,0,0,false,1664150400000,45.22751170711286\nX:BTCUSD,4798.38258637,18914.0766,0,18928,18784.41,19184.3,18636,1664078400000,78936,,0,,0,0,0,0,0,false,1664078400000,37.361825384231004\nX:BTCUSD,4798.38258637,18914.0766,0,18928,18784.41,19184.3,18636,1664064000000,78936,,0,,0,0,0,0,0,false,1664064000000,37.361825384231004\nX:BTCUSD,23180.93663313,19103.9189,0,19090,19416.20352522,19791,18461,1664337600000,225076,,0,,0,0,0,0,0,false,1664337600000,50.74235333598462\nX:BTCUSD,23180.93663313,19103.9189,0,19090,19416.20352522,19791,18461,1664323200000,225076,,0,,0,0,0,0,0,false,1664323200000,50.74235333598462\nX:BTCUSD,2868.09828007,19069.8521,0,19210.31,18925.87,19400,18805.1,1663992000000,58721,,0,,0,0,0,0,0,false,1663992000000,39.159457782344376\n",
  9400                  "schema": {
  9401                    "type": "string"
  9402                  }
  9403                }
  9404              },
  9405              "description": "Relative strength index data for each period."
  9406            }
  9407          },
  9408          "summary": "Relative Strength Index (RSI)",
  9409          "tags": [
  9410            "crpyto:aggregates"
  9411          ],
  9412          "x-polygon-entitlement-data-type": {
  9413            "description": "Aggregate data",
  9414            "name": "aggregates"
  9415          },
  9416          "x-polygon-entitlement-market-type": {
  9417            "description": "Crypto data",
  9418            "name": "crypto"
  9419          }
  9420        },
  9421        "x-polygon-ignore": true
  9422      },
  9423      "/v1/indicators/rsi/{fxTicker}": {
  9424        "get": {
  9425          "description": "Get the relative strength index (RSI) for a ticker symbol over a given time range.",
  9426          "operationId": "ForexRSI",
  9427          "parameters": [
  9428            {
  9429              "description": "The ticker symbol for which to get relative strength index (RSI) data.",
  9430              "example": "C:EURUSD",
  9431              "in": "path",
  9432              "name": "fxTicker",
  9433              "required": true,
  9434              "schema": {
  9435                "type": "string"
  9436              },
  9437              "x-polygon-go-id": "Ticker"
  9438            },
  9439            {
  9440              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  9441              "in": "query",
  9442              "name": "timestamp",
  9443              "schema": {
  9444                "type": "string"
  9445              },
  9446              "x-polygon-filter-field": {
  9447                "range": true
  9448              }
  9449            },
  9450            {
  9451              "description": "The size of the aggregate time window.",
  9452              "example": "day",
  9453              "in": "query",
  9454              "name": "timespan",
  9455              "schema": {
  9456                "default": "day",
  9457                "enum": [
  9458                  "minute",
  9459                  "hour",
  9460                  "day",
  9461                  "week",
  9462                  "month",
  9463                  "quarter",
  9464                  "year"
  9465                ],
  9466                "type": "string"
  9467              }
  9468            },
  9469            {
  9470              "description": "Whether or not the aggregates used to calculate the relative strength index are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
  9471              "example": true,
  9472              "in": "query",
  9473              "name": "adjusted",
  9474              "schema": {
  9475                "default": true,
  9476                "type": "boolean"
  9477              }
  9478            },
  9479            {
  9480              "description": "The window size used to calculate the relative strength index (RSI).",
  9481              "example": 14,
  9482              "in": "query",
  9483              "name": "window",
  9484              "schema": {
  9485                "default": 14,
  9486                "type": "integer"
  9487              }
  9488            },
  9489            {
  9490              "description": "The price in the aggregate which will be used to calculate the relative strength index. i.e. 'close' will result in using close prices to \ncalculate the relative strength index (RSI).",
  9491              "example": "close",
  9492              "in": "query",
  9493              "name": "series_type",
  9494              "schema": {
  9495                "default": "close",
  9496                "enum": [
  9497                  "open",
  9498                  "high",
  9499                  "low",
  9500                  "close"
  9501                ],
  9502                "type": "string"
  9503              }
  9504            },
  9505            {
  9506              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  9507              "in": "query",
  9508              "name": "expand_underlying",
  9509              "schema": {
  9510                "default": false,
  9511                "type": "boolean"
  9512              }
  9513            },
  9514            {
  9515              "description": "The order in which to return the results, ordered by timestamp.",
  9516              "example": "desc",
  9517              "in": "query",
  9518              "name": "order",
  9519              "schema": {
  9520                "default": "desc",
  9521                "enum": [
  9522                  "asc",
  9523                  "desc"
  9524                ],
  9525                "type": "string"
  9526              }
  9527            },
  9528            {
  9529              "description": "Limit the number of results returned, default is 10 and max is 5000",
  9530              "in": "query",
  9531              "name": "limit",
  9532              "schema": {
  9533                "default": 10,
  9534                "maximum": 5000,
  9535                "type": "integer"
  9536              }
  9537            },
  9538            {
  9539              "description": "Range by timestamp.",
  9540              "in": "query",
  9541              "name": "timestamp.gte",
  9542              "schema": {
  9543                "type": "string"
  9544              }
  9545            },
  9546            {
  9547              "description": "Range by timestamp.",
  9548              "in": "query",
  9549              "name": "timestamp.gt",
  9550              "schema": {
  9551                "type": "string"
  9552              }
  9553            },
  9554            {
  9555              "description": "Range by timestamp.",
  9556              "in": "query",
  9557              "name": "timestamp.lte",
  9558              "schema": {
  9559                "type": "string"
  9560              }
  9561            },
  9562            {
  9563              "description": "Range by timestamp.",
  9564              "in": "query",
  9565              "name": "timestamp.lt",
  9566              "schema": {
  9567                "type": "string"
  9568              }
  9569            }
  9570          ],
  9571          "responses": {
  9572            "200": {
  9573              "content": {
  9574                "application/json": {
  9575                  "example": {
  9576                    "next_url": "https://api.polygon.io/v1/indicators/rsi/C:USDAUD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
  9577                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
  9578                    "results": {
  9579                      "underlying": {
  9580                        "url": "https://api.polygon.io/v2/aggs/ticker/C:USDAUD/range/1/day/2003-01-01/2022-07-25"
  9581                      },
  9582                      "values": [
  9583                        {
  9584                          "timestamp": 1517562000016,
  9585                          "value": 82.19
  9586                        }
  9587                      ]
  9588                    },
  9589                    "status": "OK"
  9590                  },
  9591                  "schema": {
  9592                    "properties": {
  9593                      "next_url": {
  9594                        "description": "If present, this value can be used to fetch the next page of data.",
  9595                        "type": "string"
  9596                      },
  9597                      "request_id": {
  9598                        "description": "A request id assigned by the server.",
  9599                        "type": "string"
  9600                      },
  9601                      "results": {
  9602                        "properties": {
  9603                          "underlying": {
  9604                            "properties": {
  9605                              "aggregates": {
  9606                                "items": {
  9607                                  "properties": {
  9608                                    "c": {
  9609                                      "description": "The close price for the symbol in the given time period.",
  9610                                      "format": "float",
  9611                                      "type": "number"
  9612                                    },
  9613                                    "h": {
  9614                                      "description": "The highest price for the symbol in the given time period.",
  9615                                      "format": "float",
  9616                                      "type": "number"
  9617                                    },
  9618                                    "l": {
  9619                                      "description": "The lowest price for the symbol in the given time period.",
  9620                                      "format": "float",
  9621                                      "type": "number"
  9622                                    },
  9623                                    "n": {
  9624                                      "description": "The number of transactions in the aggregate window.",
  9625                                      "type": "integer"
  9626                                    },
  9627                                    "o": {
  9628                                      "description": "The open price for the symbol in the given time period.",
  9629                                      "format": "float",
  9630                                      "type": "number"
  9631                                    },
  9632                                    "otc": {
  9633                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  9634                                      "type": "boolean"
  9635                                    },
  9636                                    "t": {
  9637                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  9638                                      "format": "float",
  9639                                      "type": "number"
  9640                                    },
  9641                                    "v": {
  9642                                      "description": "The trading volume of the symbol in the given time period.",
  9643                                      "format": "float",
  9644                                      "type": "number"
  9645                                    },
  9646                                    "vw": {
  9647                                      "description": "The volume weighted average price.",
  9648                                      "format": "float",
  9649                                      "type": "number"
  9650                                    }
  9651                                  },
  9652                                  "required": [
  9653                                    "v",
  9654                                    "vw",
  9655                                    "o",
  9656                                    "c",
  9657                                    "h",
  9658                                    "l",
  9659                                    "t",
  9660                                    "n"
  9661                                  ],
  9662                                  "type": "object",
  9663                                  "x-polygon-go-type": {
  9664                                    "name": "Aggregate",
  9665                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  9666                                  }
  9667                                },
  9668                                "type": "array"
  9669                              },
  9670                              "url": {
  9671                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  9672                                "type": "string"
  9673                              }
  9674                            },
  9675                            "type": "object"
  9676                          },
  9677                          "values": {
  9678                            "items": {
  9679                              "properties": {
  9680                                "timestamp": {
  9681                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
  9682                                  "format": "int64",
  9683                                  "type": "integer",
  9684                                  "x-polygon-go-type": {
  9685                                    "name": "IMicroseconds",
  9686                                    "path": "github.com/polygon-io/ptime"
  9687                                  }
  9688                                },
  9689                                "value": {
  9690                                  "description": "The indicator value for this period.",
  9691                                  "format": "float",
  9692                                  "type": "number",
  9693                                  "x-polygon-go-type": {
  9694                                    "name": "*float64"
  9695                                  }
  9696                                }
  9697                              },
  9698                              "type": "object"
  9699                            },
  9700                            "type": "array"
  9701                          }
  9702                        },
  9703                        "type": "object",
  9704                        "x-polygon-go-type": {
  9705                          "name": "RSIResults"
  9706                        }
  9707                      },
  9708                      "status": {
  9709                        "description": "The status of this request's response.",
  9710                        "type": "string"
  9711                      }
  9712                    },
  9713                    "type": "object"
  9714                  }
  9715                },
  9716                "text/csv": {
  9717                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nC:USDAUD,686,1.5442,0,1.53763,1.5404,1.5526022,1.537279,1664409600000,686,,0,,0,0,0,0,0,false,1664409600000,65.97230488287764\nC:USDAUD,550,1.5405,0,1.5298,1.54531,1.5526263,1.5298,1664164800000,550,,0,,0,0,0,0,0,false,1664164800000,79.3273623194404\nC:USDAUD,550,1.5405,0,1.5298,1.54531,1.5526263,1.5298,1664150400000,550,,0,,0,0,0,0,0,false,1664150400000,79.32736231944038\nC:USDAUD,10,1.5312,0,1.5324261,1.53107,1.5326375,1.5301,1664064000000,10,,0,,0,0,0,0,0,false,1664064000000,74.64770184023104\nC:USDAUD,685,1.5537,0,1.5539533,1.5371372,1.5705737,1.5316281,1664337600000,685,,0,,0,0,0,0,0,false,1664337600000,64.43214811875563\nC:USDAUD,685,1.5537,0,1.5539533,1.5371372,1.5705737,1.5316281,1664323200000,685,,0,,0,0,0,0,0,false,1664323200000,64.43214811875563\nC:USDAUD,536,1.5459,0,1.5446162,1.5550165,1.5587,1.5364287,1664251200000,536,,0,,0,0,0,0,0,false,1664251200000,81.95981214984681\nC:USDAUD,536,1.5459,0,1.5446162,1.5550165,1.5587,1.5364287,1664236800000,536,,0,,0,0,0,0,0,false,1664236800000,81.95981214984683\nC:USDAUD,10,1.5312,0,1.5324261,1.53107,1.5326375,1.5301,1664078400000,10,,0,,0,0,0,0,0,false,1664078400000,74.64770184023104\nC:USDAUD,1,1.5314,0,1.5313936,1.5313936,1.5313936,1.5313936,1663977600000,1,,0,,0,0,0,0,0,false,1663977600000,74.98028072374902\n",
  9718                  "schema": {
  9719                    "type": "string"
  9720                  }
  9721                }
  9722              },
  9723              "description": "Relative strength index data for each period."
  9724            }
  9725          },
  9726          "summary": "Relative Strength Index (RSI)",
  9727          "tags": [
  9728            "fx:aggregates"
  9729          ],
  9730          "x-polygon-entitlement-data-type": {
  9731            "description": "Aggregate data",
  9732            "name": "aggregates"
  9733          },
  9734          "x-polygon-entitlement-market-type": {
  9735            "description": "Forex data",
  9736            "name": "fx"
  9737          }
  9738        },
  9739        "x-polygon-ignore": true
  9740      },
  9741      "/v1/indicators/rsi/{indicesTicker}": {
  9742        "get": {
  9743          "description": "Get the relative strength index (RSI) for a ticker symbol over a given time range.",
  9744          "operationId": "IndicesRSI",
  9745          "parameters": [
  9746            {
  9747              "description": "The ticker symbol for which to get relative strength index (RSI) data.",
  9748              "example": "I:NDX",
  9749              "in": "path",
  9750              "name": "indicesTicker",
  9751              "required": true,
  9752              "schema": {
  9753                "type": "string"
  9754              },
  9755              "x-polygon-go-id": "Ticker"
  9756            },
  9757            {
  9758              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
  9759              "in": "query",
  9760              "name": "timestamp",
  9761              "schema": {
  9762                "type": "string"
  9763              },
  9764              "x-polygon-filter-field": {
  9765                "range": true
  9766              }
  9767            },
  9768            {
  9769              "description": "The size of the aggregate time window.",
  9770              "example": "day",
  9771              "in": "query",
  9772              "name": "timespan",
  9773              "schema": {
  9774                "default": "day",
  9775                "enum": [
  9776                  "minute",
  9777                  "hour",
  9778                  "day",
  9779                  "week",
  9780                  "month",
  9781                  "quarter",
  9782                  "year"
  9783                ],
  9784                "type": "string"
  9785              }
  9786            },
  9787            {
  9788              "description": "Whether or not the aggregates used to calculate the relative strength index are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
  9789              "example": true,
  9790              "in": "query",
  9791              "name": "adjusted",
  9792              "schema": {
  9793                "default": true,
  9794                "type": "boolean"
  9795              }
  9796            },
  9797            {
  9798              "description": "The window size used to calculate the relative strength index (RSI).",
  9799              "example": 14,
  9800              "in": "query",
  9801              "name": "window",
  9802              "schema": {
  9803                "default": 14,
  9804                "type": "integer"
  9805              }
  9806            },
  9807            {
  9808              "description": "The value in the aggregate which will be used to calculate the relative strength index. i.e. 'close' will result in using close values to \ncalculate the relative strength index (RSI).",
  9809              "example": "close",
  9810              "in": "query",
  9811              "name": "series_type",
  9812              "schema": {
  9813                "default": "close",
  9814                "enum": [
  9815                  "open",
  9816                  "high",
  9817                  "low",
  9818                  "close"
  9819                ],
  9820                "type": "string"
  9821              }
  9822            },
  9823            {
  9824              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
  9825              "in": "query",
  9826              "name": "expand_underlying",
  9827              "schema": {
  9828                "default": false,
  9829                "type": "boolean"
  9830              }
  9831            },
  9832            {
  9833              "description": "The order in which to return the results, ordered by timestamp.",
  9834              "example": "desc",
  9835              "in": "query",
  9836              "name": "order",
  9837              "schema": {
  9838                "default": "desc",
  9839                "enum": [
  9840                  "asc",
  9841                  "desc"
  9842                ],
  9843                "type": "string"
  9844              }
  9845            },
  9846            {
  9847              "description": "Limit the number of results returned, default is 10 and max is 5000",
  9848              "in": "query",
  9849              "name": "limit",
  9850              "schema": {
  9851                "default": 10,
  9852                "maximum": 5000,
  9853                "type": "integer"
  9854              }
  9855            },
  9856            {
  9857              "description": "Range by timestamp.",
  9858              "in": "query",
  9859              "name": "timestamp.gte",
  9860              "schema": {
  9861                "type": "string"
  9862              }
  9863            },
  9864            {
  9865              "description": "Range by timestamp.",
  9866              "in": "query",
  9867              "name": "timestamp.gt",
  9868              "schema": {
  9869                "type": "string"
  9870              }
  9871            },
  9872            {
  9873              "description": "Range by timestamp.",
  9874              "in": "query",
  9875              "name": "timestamp.lte",
  9876              "schema": {
  9877                "type": "string"
  9878              }
  9879            },
  9880            {
  9881              "description": "Range by timestamp.",
  9882              "in": "query",
  9883              "name": "timestamp.lt",
  9884              "schema": {
  9885                "type": "string"
  9886              }
  9887            }
  9888          ],
  9889          "responses": {
  9890            "200": {
  9891              "content": {
  9892                "application/json": {
  9893                  "example": {
  9894                    "next_url": "https://api.polygon.io/v1/indicators/rsi/I:NDX?cursor=YWRqdXN0ZWQ9dHJ1ZSZhcD0lN0IlMjJ2JTIyJTNBMCUyQyUyMm8lMjIlM0EwJTJDJTIyYyUyMiUzQTE1MDg0Ljk5OTM4OTgyMDAzJTJDJTIyaCUyMiUzQTAlMkMlMjJsJTIyJTNBMCUyQyUyMnQlMjIlM0ExNjg3MjE5MjAwMDAwJTdEJmFzPSZleHBhbmRfdW5kZXJseWluZz1mYWxzZSZsaW1pdD0xJm9yZGVyPWRlc2Mmc2VyaWVzX3R5cGU9Y2xvc2UmdGltZXNwYW49ZGF5JnRpbWVzdGFtcC5sdD0xNjg3MjM3MjAwMDAwJndpbmRvdz0xNA",
  9895                    "request_id": "28a8417f521f98e1d08f6ed7d1fbcad3",
  9896                    "results": {
  9897                      "underlying": {
  9898                        "url": "https://api.polygon.io/v2/aggs/ticker/I:NDX/range/1/day/1678338000000/1687366658253?limit=66\u0026sort=desc"
  9899                      },
  9900                      "values": [
  9901                        {
  9902                          "timestamp": 1687237200000,
  9903                          "value": 73.98019439047955
  9904                        }
  9905                      ]
  9906                    },
  9907                    "status": "OK"
  9908                  },
  9909                  "schema": {
  9910                    "properties": {
  9911                      "next_url": {
  9912                        "description": "If present, this value can be used to fetch the next page of data.",
  9913                        "type": "string"
  9914                      },
  9915                      "request_id": {
  9916                        "description": "A request id assigned by the server.",
  9917                        "type": "string"
  9918                      },
  9919                      "results": {
  9920                        "properties": {
  9921                          "underlying": {
  9922                            "properties": {
  9923                              "aggregates": {
  9924                                "items": {
  9925                                  "properties": {
  9926                                    "c": {
  9927                                      "description": "The close price for the symbol in the given time period.",
  9928                                      "format": "float",
  9929                                      "type": "number"
  9930                                    },
  9931                                    "h": {
  9932                                      "description": "The highest price for the symbol in the given time period.",
  9933                                      "format": "float",
  9934                                      "type": "number"
  9935                                    },
  9936                                    "l": {
  9937                                      "description": "The lowest price for the symbol in the given time period.",
  9938                                      "format": "float",
  9939                                      "type": "number"
  9940                                    },
  9941                                    "n": {
  9942                                      "description": "The number of transactions in the aggregate window.",
  9943                                      "type": "integer"
  9944                                    },
  9945                                    "o": {
  9946                                      "description": "The open price for the symbol in the given time period.",
  9947                                      "format": "float",
  9948                                      "type": "number"
  9949                                    },
  9950                                    "otc": {
  9951                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
  9952                                      "type": "boolean"
  9953                                    },
  9954                                    "t": {
  9955                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
  9956                                      "format": "float",
  9957                                      "type": "number"
  9958                                    },
  9959                                    "v": {
  9960                                      "description": "The trading volume of the symbol in the given time period.",
  9961                                      "format": "float",
  9962                                      "type": "number"
  9963                                    },
  9964                                    "vw": {
  9965                                      "description": "The volume weighted average price.",
  9966                                      "format": "float",
  9967                                      "type": "number"
  9968                                    }
  9969                                  },
  9970                                  "required": [
  9971                                    "v",
  9972                                    "vw",
  9973                                    "o",
  9974                                    "c",
  9975                                    "h",
  9976                                    "l",
  9977                                    "t",
  9978                                    "n"
  9979                                  ],
  9980                                  "type": "object",
  9981                                  "x-polygon-go-type": {
  9982                                    "name": "Aggregate",
  9983                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
  9984                                  }
  9985                                },
  9986                                "type": "array"
  9987                              },
  9988                              "url": {
  9989                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
  9990                                "type": "string"
  9991                              }
  9992                            },
  9993                            "type": "object"
  9994                          },
  9995                          "values": {
  9996                            "items": {
  9997                              "properties": {
  9998                                "timestamp": {
  9999                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
 10000                                  "format": "int64",
 10001                                  "type": "integer",
 10002                                  "x-polygon-go-type": {
 10003                                    "name": "IMicroseconds",
 10004                                    "path": "github.com/polygon-io/ptime"
 10005                                  }
 10006                                },
 10007                                "value": {
 10008                                  "description": "The indicator value for this period.",
 10009                                  "format": "float",
 10010                                  "type": "number",
 10011                                  "x-polygon-go-type": {
 10012                                    "name": "*float64"
 10013                                  }
 10014                                }
 10015                              },
 10016                              "type": "object"
 10017                            },
 10018                            "type": "array"
 10019                          }
 10020                        },
 10021                        "type": "object",
 10022                        "x-polygon-go-type": {
 10023                          "name": "RSIResults"
 10024                        }
 10025                      },
 10026                      "status": {
 10027                        "description": "The status of this request's response.",
 10028                        "type": "string"
 10029                      }
 10030                    },
 10031                    "type": "object"
 10032                  }
 10033                }
 10034              },
 10035              "description": "Relative Strength Index (RSI) data for each period."
 10036            }
 10037          },
 10038          "summary": "Relative Strength Index (RSI)",
 10039          "tags": [
 10040            "indices:aggregates"
 10041          ],
 10042          "x-polygon-entitlement-allowed-limited-tickers": true,
 10043          "x-polygon-entitlement-data-type": {
 10044            "description": "Aggregate data",
 10045            "name": "aggregates"
 10046          },
 10047          "x-polygon-entitlement-market-type": {
 10048            "description": "Indices data",
 10049            "name": "indices"
 10050          }
 10051        },
 10052        "x-polygon-ignore": true
 10053      },
 10054      "/v1/indicators/rsi/{optionsTicker}": {
 10055        "get": {
 10056          "description": "Get the relative strength index (RSI) for a ticker symbol over a given time range.",
 10057          "operationId": "OptionsRSI",
 10058          "parameters": [
 10059            {
 10060              "description": "The ticker symbol for which to get relative strength index (RSI) data.",
 10061              "example": "O:SPY241220P00720000",
 10062              "in": "path",
 10063              "name": "optionsTicker",
 10064              "required": true,
 10065              "schema": {
 10066                "type": "string"
 10067              },
 10068              "x-polygon-go-id": "Ticker"
 10069            },
 10070            {
 10071              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 10072              "in": "query",
 10073              "name": "timestamp",
 10074              "schema": {
 10075                "type": "string"
 10076              },
 10077              "x-polygon-filter-field": {
 10078                "range": true
 10079              }
 10080            },
 10081            {
 10082              "description": "The size of the aggregate time window.",
 10083              "example": "day",
 10084              "in": "query",
 10085              "name": "timespan",
 10086              "schema": {
 10087                "default": "day",
 10088                "enum": [
 10089                  "minute",
 10090                  "hour",
 10091                  "day",
 10092                  "week",
 10093                  "month",
 10094                  "quarter",
 10095                  "year"
 10096                ],
 10097                "type": "string"
 10098              }
 10099            },
 10100            {
 10101              "description": "Whether or not the aggregates used to calculate the relative strength index are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
 10102              "example": true,
 10103              "in": "query",
 10104              "name": "adjusted",
 10105              "schema": {
 10106                "default": true,
 10107                "type": "boolean"
 10108              }
 10109            },
 10110            {
 10111              "description": "The window size used to calculate the relative strength index (RSI).",
 10112              "example": 14,
 10113              "in": "query",
 10114              "name": "window",
 10115              "schema": {
 10116                "default": 14,
 10117                "type": "integer"
 10118              }
 10119            },
 10120            {
 10121              "description": "The price in the aggregate which will be used to calculate the relative strength index. i.e. 'close' will result in using close prices to \ncalculate the relative strength index (RSI).",
 10122              "example": "close",
 10123              "in": "query",
 10124              "name": "series_type",
 10125              "schema": {
 10126                "default": "close",
 10127                "enum": [
 10128                  "open",
 10129                  "high",
 10130                  "low",
 10131                  "close"
 10132                ],
 10133                "type": "string"
 10134              }
 10135            },
 10136            {
 10137              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
 10138              "in": "query",
 10139              "name": "expand_underlying",
 10140              "schema": {
 10141                "default": false,
 10142                "type": "boolean"
 10143              }
 10144            },
 10145            {
 10146              "description": "The order in which to return the results, ordered by timestamp.",
 10147              "example": "desc",
 10148              "in": "query",
 10149              "name": "order",
 10150              "schema": {
 10151                "default": "desc",
 10152                "enum": [
 10153                  "asc",
 10154                  "desc"
 10155                ],
 10156                "type": "string"
 10157              }
 10158            },
 10159            {
 10160              "description": "Limit the number of results returned, default is 10 and max is 5000",
 10161              "in": "query",
 10162              "name": "limit",
 10163              "schema": {
 10164                "default": 10,
 10165                "maximum": 5000,
 10166                "type": "integer"
 10167              }
 10168            },
 10169            {
 10170              "description": "Range by timestamp.",
 10171              "in": "query",
 10172              "name": "timestamp.gte",
 10173              "schema": {
 10174                "type": "string"
 10175              }
 10176            },
 10177            {
 10178              "description": "Range by timestamp.",
 10179              "in": "query",
 10180              "name": "timestamp.gt",
 10181              "schema": {
 10182                "type": "string"
 10183              }
 10184            },
 10185            {
 10186              "description": "Range by timestamp.",
 10187              "in": "query",
 10188              "name": "timestamp.lte",
 10189              "schema": {
 10190                "type": "string"
 10191              }
 10192            },
 10193            {
 10194              "description": "Range by timestamp.",
 10195              "in": "query",
 10196              "name": "timestamp.lt",
 10197              "schema": {
 10198                "type": "string"
 10199              }
 10200            }
 10201          ],
 10202          "responses": {
 10203            "200": {
 10204              "content": {
 10205                "application/json": {
 10206                  "example": {
 10207                    "next_url": "https://api.polygon.io/v1/indicators/rsi/O:SPY241220P00720000?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 10208                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 10209                    "results": {
 10210                      "underlying": {
 10211                        "url": "https://api.polygon.io/v2/aggs/ticker/O:SPY241220P00720000/range/1/day/2003-01-01/2022-07-25"
 10212                      },
 10213                      "values": [
 10214                        {
 10215                          "timestamp": 1517562000016,
 10216                          "value": 82.19
 10217                        }
 10218                      ]
 10219                    },
 10220                    "status": "OK"
 10221                  },
 10222                  "schema": {
 10223                    "properties": {
 10224                      "next_url": {
 10225                        "description": "If present, this value can be used to fetch the next page of data.",
 10226                        "type": "string"
 10227                      },
 10228                      "request_id": {
 10229                        "description": "A request id assigned by the server.",
 10230                        "type": "string"
 10231                      },
 10232                      "results": {
 10233                        "properties": {
 10234                          "underlying": {
 10235                            "properties": {
 10236                              "aggregates": {
 10237                                "items": {
 10238                                  "properties": {
 10239                                    "c": {
 10240                                      "description": "The close price for the symbol in the given time period.",
 10241                                      "format": "float",
 10242                                      "type": "number"
 10243                                    },
 10244                                    "h": {
 10245                                      "description": "The highest price for the symbol in the given time period.",
 10246                                      "format": "float",
 10247                                      "type": "number"
 10248                                    },
 10249                                    "l": {
 10250                                      "description": "The lowest price for the symbol in the given time period.",
 10251                                      "format": "float",
 10252                                      "type": "number"
 10253                                    },
 10254                                    "n": {
 10255                                      "description": "The number of transactions in the aggregate window.",
 10256                                      "type": "integer"
 10257                                    },
 10258                                    "o": {
 10259                                      "description": "The open price for the symbol in the given time period.",
 10260                                      "format": "float",
 10261                                      "type": "number"
 10262                                    },
 10263                                    "otc": {
 10264                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 10265                                      "type": "boolean"
 10266                                    },
 10267                                    "t": {
 10268                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 10269                                      "format": "float",
 10270                                      "type": "number"
 10271                                    },
 10272                                    "v": {
 10273                                      "description": "The trading volume of the symbol in the given time period.",
 10274                                      "format": "float",
 10275                                      "type": "number"
 10276                                    },
 10277                                    "vw": {
 10278                                      "description": "The volume weighted average price.",
 10279                                      "format": "float",
 10280                                      "type": "number"
 10281                                    }
 10282                                  },
 10283                                  "required": [
 10284                                    "v",
 10285                                    "vw",
 10286                                    "o",
 10287                                    "c",
 10288                                    "h",
 10289                                    "l",
 10290                                    "t",
 10291                                    "n"
 10292                                  ],
 10293                                  "type": "object",
 10294                                  "x-polygon-go-type": {
 10295                                    "name": "Aggregate",
 10296                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
 10297                                  }
 10298                                },
 10299                                "type": "array"
 10300                              },
 10301                              "url": {
 10302                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
 10303                                "type": "string"
 10304                              }
 10305                            },
 10306                            "type": "object"
 10307                          },
 10308                          "values": {
 10309                            "items": {
 10310                              "properties": {
 10311                                "timestamp": {
 10312                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
 10313                                  "format": "int64",
 10314                                  "type": "integer",
 10315                                  "x-polygon-go-type": {
 10316                                    "name": "IMicroseconds",
 10317                                    "path": "github.com/polygon-io/ptime"
 10318                                  }
 10319                                },
 10320                                "value": {
 10321                                  "description": "The indicator value for this period.",
 10322                                  "format": "float",
 10323                                  "type": "number",
 10324                                  "x-polygon-go-type": {
 10325                                    "name": "*float64"
 10326                                  }
 10327                                }
 10328                              },
 10329                              "type": "object"
 10330                            },
 10331                            "type": "array"
 10332                          }
 10333                        },
 10334                        "type": "object",
 10335                        "x-polygon-go-type": {
 10336                          "name": "RSIResults"
 10337                        }
 10338                      },
 10339                      "status": {
 10340                        "description": "The status of this request's response.",
 10341                        "type": "string"
 10342                      }
 10343                    },
 10344                    "type": "object"
 10345                  }
 10346                },
 10347                "text/csv": {
 10348                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nO:SPY241220P00720000,3,277.8267,0,277.82,277.83,277.83,277.82,1649649600000,2,,0,,0,0,0,0,0,false,1649649600000,30.837887188419387\nO:SPY241220P00720000,2,270.49,0,270.49,270.49,270.49,270.49,1649390400000,1,,0,,0,0,0,0,0,false,1649390400000,15.546598157051605\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648785600000,1,,0,,0,0,0,0,0,false,1648785600000,88.61520575036505\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648699200000,1,,0,,0,0,0,0,0,false,1648699200000,88.61520575036505\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648612800000,1,,0,,0,0,0,0,0,false,1648612800000,88.61520575036505\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648526400000,1,,0,,0,0,0,0,0,false,1648526400000,88.61520575036505\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649304000000,1,,0,,0,0,0,0,0,false,1649304000000,88.61520575036505\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649217600000,1,,0,,0,0,0,0,0,false,1649217600000,88.61520575036505\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649131200000,1,,0,,0,0,0,0,0,false,1649131200000,88.61520575036505\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649044800000,1,,0,,0,0,0,0,0,false,1649044800000,88.61520575036505\n",
 10349                  "schema": {
 10350                    "type": "string"
 10351                  }
 10352                }
 10353              },
 10354              "description": "Relative Strength Index (RSI) data for each period."
 10355            }
 10356          },
 10357          "summary": "Relative Strength Index (RSI)",
 10358          "tags": [
 10359            "options:aggregates"
 10360          ],
 10361          "x-polygon-entitlement-data-type": {
 10362            "description": "Aggregate data",
 10363            "name": "aggregates"
 10364          },
 10365          "x-polygon-entitlement-market-type": {
 10366            "description": "Options data",
 10367            "name": "options"
 10368          }
 10369        },
 10370        "x-polygon-ignore": true
 10371      },
 10372      "/v1/indicators/rsi/{stockTicker}": {
 10373        "get": {
 10374          "description": "Get the relative strength index (RSI) for a ticker symbol over a given time range.",
 10375          "operationId": "RSI",
 10376          "parameters": [
 10377            {
 10378              "description": "The ticker symbol for which to get relative strength index (RSI) data.",
 10379              "example": "AAPL",
 10380              "in": "path",
 10381              "name": "stockTicker",
 10382              "required": true,
 10383              "schema": {
 10384                "type": "string"
 10385              },
 10386              "x-polygon-go-id": "Ticker"
 10387            },
 10388            {
 10389              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 10390              "in": "query",
 10391              "name": "timestamp",
 10392              "schema": {
 10393                "type": "string"
 10394              },
 10395              "x-polygon-filter-field": {
 10396                "range": true
 10397              }
 10398            },
 10399            {
 10400              "description": "The size of the aggregate time window.",
 10401              "example": "day",
 10402              "in": "query",
 10403              "name": "timespan",
 10404              "schema": {
 10405                "default": "day",
 10406                "enum": [
 10407                  "minute",
 10408                  "hour",
 10409                  "day",
 10410                  "week",
 10411                  "month",
 10412                  "quarter",
 10413                  "year"
 10414                ],
 10415                "type": "string"
 10416              }
 10417            },
 10418            {
 10419              "description": "Whether or not the aggregates used to calculate the relative strength index are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results that are NOT adjusted for splits.",
 10420              "example": true,
 10421              "in": "query",
 10422              "name": "adjusted",
 10423              "schema": {
 10424                "default": true,
 10425                "type": "boolean"
 10426              }
 10427            },
 10428            {
 10429              "description": "The window size used to calculate the relative strength index (RSI).",
 10430              "example": 14,
 10431              "in": "query",
 10432              "name": "window",
 10433              "schema": {
 10434                "default": 14,
 10435                "type": "integer"
 10436              }
 10437            },
 10438            {
 10439              "description": "The price in the aggregate which will be used to calculate the relative strength index. i.e. 'close' will result in using close prices to \ncalculate the relative strength index (RSI).",
 10440              "example": "close",
 10441              "in": "query",
 10442              "name": "series_type",
 10443              "schema": {
 10444                "default": "close",
 10445                "enum": [
 10446                  "open",
 10447                  "high",
 10448                  "low",
 10449                  "close"
 10450                ],
 10451                "type": "string"
 10452              }
 10453            },
 10454            {
 10455              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
 10456              "in": "query",
 10457              "name": "expand_underlying",
 10458              "schema": {
 10459                "default": false,
 10460                "type": "boolean"
 10461              }
 10462            },
 10463            {
 10464              "description": "The order in which to return the results, ordered by timestamp.",
 10465              "example": "desc",
 10466              "in": "query",
 10467              "name": "order",
 10468              "schema": {
 10469                "default": "desc",
 10470                "enum": [
 10471                  "asc",
 10472                  "desc"
 10473                ],
 10474                "type": "string"
 10475              }
 10476            },
 10477            {
 10478              "description": "Limit the number of results returned, default is 10 and max is 5000",
 10479              "in": "query",
 10480              "name": "limit",
 10481              "schema": {
 10482                "default": 10,
 10483                "maximum": 5000,
 10484                "type": "integer"
 10485              }
 10486            },
 10487            {
 10488              "description": "Range by timestamp.",
 10489              "in": "query",
 10490              "name": "timestamp.gte",
 10491              "schema": {
 10492                "type": "string"
 10493              }
 10494            },
 10495            {
 10496              "description": "Range by timestamp.",
 10497              "in": "query",
 10498              "name": "timestamp.gt",
 10499              "schema": {
 10500                "type": "string"
 10501              }
 10502            },
 10503            {
 10504              "description": "Range by timestamp.",
 10505              "in": "query",
 10506              "name": "timestamp.lte",
 10507              "schema": {
 10508                "type": "string"
 10509              }
 10510            },
 10511            {
 10512              "description": "Range by timestamp.",
 10513              "in": "query",
 10514              "name": "timestamp.lt",
 10515              "schema": {
 10516                "type": "string"
 10517              }
 10518            }
 10519          ],
 10520          "responses": {
 10521            "200": {
 10522              "content": {
 10523                "application/json": {
 10524                  "example": {
 10525                    "next_url": "https://api.polygon.io/v1/indicators/rsi/AAPL?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 10526                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 10527                    "results": {
 10528                      "underlying": {
 10529                        "url": "https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2003-01-01/2022-07-25"
 10530                      },
 10531                      "values": [
 10532                        {
 10533                          "timestamp": 1517562000016,
 10534                          "value": 82.19
 10535                        }
 10536                      ]
 10537                    },
 10538                    "status": "OK"
 10539                  },
 10540                  "schema": {
 10541                    "properties": {
 10542                      "next_url": {
 10543                        "description": "If present, this value can be used to fetch the next page of data.",
 10544                        "type": "string"
 10545                      },
 10546                      "request_id": {
 10547                        "description": "A request id assigned by the server.",
 10548                        "type": "string"
 10549                      },
 10550                      "results": {
 10551                        "properties": {
 10552                          "underlying": {
 10553                            "properties": {
 10554                              "aggregates": {
 10555                                "items": {
 10556                                  "properties": {
 10557                                    "c": {
 10558                                      "description": "The close price for the symbol in the given time period.",
 10559                                      "format": "float",
 10560                                      "type": "number"
 10561                                    },
 10562                                    "h": {
 10563                                      "description": "The highest price for the symbol in the given time period.",
 10564                                      "format": "float",
 10565                                      "type": "number"
 10566                                    },
 10567                                    "l": {
 10568                                      "description": "The lowest price for the symbol in the given time period.",
 10569                                      "format": "float",
 10570                                      "type": "number"
 10571                                    },
 10572                                    "n": {
 10573                                      "description": "The number of transactions in the aggregate window.",
 10574                                      "type": "integer"
 10575                                    },
 10576                                    "o": {
 10577                                      "description": "The open price for the symbol in the given time period.",
 10578                                      "format": "float",
 10579                                      "type": "number"
 10580                                    },
 10581                                    "otc": {
 10582                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 10583                                      "type": "boolean"
 10584                                    },
 10585                                    "t": {
 10586                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 10587                                      "format": "float",
 10588                                      "type": "number"
 10589                                    },
 10590                                    "v": {
 10591                                      "description": "The trading volume of the symbol in the given time period.",
 10592                                      "format": "float",
 10593                                      "type": "number"
 10594                                    },
 10595                                    "vw": {
 10596                                      "description": "The volume weighted average price.",
 10597                                      "format": "float",
 10598                                      "type": "number"
 10599                                    }
 10600                                  },
 10601                                  "required": [
 10602                                    "v",
 10603                                    "vw",
 10604                                    "o",
 10605                                    "c",
 10606                                    "h",
 10607                                    "l",
 10608                                    "t",
 10609                                    "n"
 10610                                  ],
 10611                                  "type": "object",
 10612                                  "x-polygon-go-type": {
 10613                                    "name": "Aggregate",
 10614                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
 10615                                  }
 10616                                },
 10617                                "type": "array"
 10618                              },
 10619                              "url": {
 10620                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
 10621                                "type": "string"
 10622                              }
 10623                            },
 10624                            "type": "object"
 10625                          },
 10626                          "values": {
 10627                            "items": {
 10628                              "properties": {
 10629                                "timestamp": {
 10630                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
 10631                                  "format": "int64",
 10632                                  "type": "integer",
 10633                                  "x-polygon-go-type": {
 10634                                    "name": "IMicroseconds",
 10635                                    "path": "github.com/polygon-io/ptime"
 10636                                  }
 10637                                },
 10638                                "value": {
 10639                                  "description": "The indicator value for this period.",
 10640                                  "format": "float",
 10641                                  "type": "number",
 10642                                  "x-polygon-go-type": {
 10643                                    "name": "*float64"
 10644                                  }
 10645                                }
 10646                              },
 10647                              "type": "object"
 10648                            },
 10649                            "type": "array"
 10650                          }
 10651                        },
 10652                        "type": "object",
 10653                        "x-polygon-go-type": {
 10654                          "name": "RSIResults"
 10655                        }
 10656                      },
 10657                      "status": {
 10658                        "description": "The status of this request's response.",
 10659                        "type": "string"
 10660                      }
 10661                    },
 10662                    "type": "object"
 10663                  }
 10664                },
 10665                "text/csv": {
 10666                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nAAPL,1.27849501E+08,142.9012,0,146.1,142.48,146.72,140.68,1664424000000,1061692,,0,,0,0,0,0,0,false,1664424000000,23.065352237561996\nAAPL,1.46755122E+08,147.599,0,147.64,149.84,150.6414,144.84,1664337600000,1140818,,0,,0,0,0,0,0,false,1664337600000,29.877761913419718\nAAPL,9.3339409E+07,151.5222,0,149.66,150.77,153.7701,149.64,1664164800000,747666,,0,,0,0,0,0,0,false,1664164800000,29.58201330468151\nAAPL,8.1599225E+07,152.5505,0,149.31,154.48,154.56,149.1,1663560000000,671961,,0,,0,0,0,0,0,false,1663560000000,30.233508748331047\nAAPL,1.64879031E+08,150.2387,0,151.21,150.7,151.35,148.37,1663300800000,850358,,0,,0,0,0,0,0,false,1663300800000,19.857312489527956\nAAPL,8.4461761E+07,152.1354,0,152.74,151.76,154.72,149.945,1664251200000,683781,,0,,0,0,0,0,0,false,1664251200000,32.18008680069761\nAAPL,9.6031641E+07,150.0222,0,151.19,150.43,151.47,148.56,1663905600000,766888,,0,,0,0,0,0,0,false,1663905600000,28.71109953239781\nAAPL,8.6651514E+07,152.5709,0,152.38,152.74,154.47,150.91,1663819200000,686866,,0,,0,0,0,0,0,false,1663819200000,31.140902927103383\nAAPL,9.3308449E+07,156.1877,0,157.34,153.72,158.61,153.6,1663732800000,712645,,0,,0,0,0,0,0,false,1663732800000,32.21491128713248\nAAPL,1.07691097E+08,156.1317,0,153.4,156.9,158.08,153.08,1663646400000,792177,,0,,0,0,0,0,0,false,1663646400000,35.950871523070575\n",
 10667                  "schema": {
 10668                    "type": "string"
 10669                  }
 10670                }
 10671              },
 10672              "description": "Relative strength Index data for each period."
 10673            }
 10674          },
 10675          "summary": "Relative Strength Index (RSI)",
 10676          "tags": [
 10677            "stocks:aggregates"
 10678          ],
 10679          "x-polygon-entitlement-data-type": {
 10680            "description": "Aggregate data",
 10681            "name": "aggregates"
 10682          },
 10683          "x-polygon-entitlement-market-type": {
 10684            "description": "Stocks data",
 10685            "name": "stocks"
 10686          }
 10687        }
 10688      },
 10689      "/v1/indicators/sma/{cryptoTicker}": {
 10690        "get": {
 10691          "description": "Get the simple moving average (SMA) for a ticker symbol over a given time range.",
 10692          "operationId": "CryptoSMA",
 10693          "parameters": [
 10694            {
 10695              "description": "The ticker symbol for which to get simple moving average (SMA) data.",
 10696              "example": "X:BTCUSD",
 10697              "in": "path",
 10698              "name": "cryptoTicker",
 10699              "required": true,
 10700              "schema": {
 10701                "type": "string"
 10702              },
 10703              "x-polygon-go-id": "Ticker"
 10704            },
 10705            {
 10706              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 10707              "in": "query",
 10708              "name": "timestamp",
 10709              "schema": {
 10710                "type": "string"
 10711              },
 10712              "x-polygon-filter-field": {
 10713                "range": true
 10714              }
 10715            },
 10716            {
 10717              "description": "The size of the aggregate time window.",
 10718              "example": "day",
 10719              "in": "query",
 10720              "name": "timespan",
 10721              "schema": {
 10722                "default": "day",
 10723                "enum": [
 10724                  "minute",
 10725                  "hour",
 10726                  "day",
 10727                  "week",
 10728                  "month",
 10729                  "quarter",
 10730                  "year"
 10731                ],
 10732                "type": "string"
 10733              }
 10734            },
 10735            {
 10736              "description": "The window size used to calculate the simple moving average (SMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
 10737              "example": 50,
 10738              "in": "query",
 10739              "name": "window",
 10740              "schema": {
 10741                "default": 50,
 10742                "type": "integer"
 10743              }
 10744            },
 10745            {
 10746              "description": "The price in the aggregate which will be used to calculate the simple moving average. i.e. 'close' will result in using close prices to \ncalculate the simple moving average (SMA).",
 10747              "example": "close",
 10748              "in": "query",
 10749              "name": "series_type",
 10750              "schema": {
 10751                "default": "close",
 10752                "enum": [
 10753                  "open",
 10754                  "high",
 10755                  "low",
 10756                  "close"
 10757                ],
 10758                "type": "string"
 10759              }
 10760            },
 10761            {
 10762              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
 10763              "in": "query",
 10764              "name": "expand_underlying",
 10765              "schema": {
 10766                "default": false,
 10767                "type": "boolean"
 10768              }
 10769            },
 10770            {
 10771              "description": "The order in which to return the results, ordered by timestamp.",
 10772              "example": "desc",
 10773              "in": "query",
 10774              "name": "order",
 10775              "schema": {
 10776                "default": "desc",
 10777                "enum": [
 10778                  "asc",
 10779                  "desc"
 10780                ],
 10781                "type": "string"
 10782              }
 10783            },
 10784            {
 10785              "description": "Limit the number of results returned, default is 10 and max is 5000",
 10786              "in": "query",
 10787              "name": "limit",
 10788              "schema": {
 10789                "default": 10,
 10790                "maximum": 5000,
 10791                "type": "integer"
 10792              }
 10793            },
 10794            {
 10795              "description": "Range by timestamp.",
 10796              "in": "query",
 10797              "name": "timestamp.gte",
 10798              "schema": {
 10799                "type": "string"
 10800              }
 10801            },
 10802            {
 10803              "description": "Range by timestamp.",
 10804              "in": "query",
 10805              "name": "timestamp.gt",
 10806              "schema": {
 10807                "type": "string"
 10808              }
 10809            },
 10810            {
 10811              "description": "Range by timestamp.",
 10812              "in": "query",
 10813              "name": "timestamp.lte",
 10814              "schema": {
 10815                "type": "string"
 10816              }
 10817            },
 10818            {
 10819              "description": "Range by timestamp.",
 10820              "in": "query",
 10821              "name": "timestamp.lt",
 10822              "schema": {
 10823                "type": "string"
 10824              }
 10825            }
 10826          ],
 10827          "responses": {
 10828            "200": {
 10829              "content": {
 10830                "application/json": {
 10831                  "example": {
 10832                    "next_url": "https://api.polygon.io/v1/indicators/sma/X:BTCUSD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 10833                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 10834                    "results": {
 10835                      "underlying": {
 10836                        "aggregates": [
 10837                          {
 10838                            "c": 75.0875,
 10839                            "h": 75.15,
 10840                            "l": 73.7975,
 10841                            "n": 1,
 10842                            "o": 74.06,
 10843                            "t": 1577941200000,
 10844                            "v": 135647456,
 10845                            "vw": 74.6099
 10846                          },
 10847                          {
 10848                            "c": 74.3575,
 10849                            "h": 75.145,
 10850                            "l": 74.125,
 10851                            "n": 1,
 10852                            "o": 74.2875,
 10853                            "t": 1578027600000,
 10854                            "v": 146535512,
 10855                            "vw": 74.7026
 10856                          }
 10857                        ],
 10858                        "url": "https://api.polygon.io/v2/aggs/ticker/X:BTCUSD/range/1/day/2003-01-01/2022-07-25"
 10859                      },
 10860                      "values": [
 10861                        {
 10862                          "timestamp": 1517562000016,
 10863                          "value": 140.139
 10864                        }
 10865                      ]
 10866                    },
 10867                    "status": "OK"
 10868                  },
 10869                  "schema": {
 10870                    "properties": {
 10871                      "next_url": {
 10872                        "description": "If present, this value can be used to fetch the next page of data.",
 10873                        "type": "string"
 10874                      },
 10875                      "request_id": {
 10876                        "description": "A request id assigned by the server.",
 10877                        "type": "string"
 10878                      },
 10879                      "results": {
 10880                        "properties": {
 10881                          "underlying": {
 10882                            "properties": {
 10883                              "aggregates": {
 10884                                "items": {
 10885                                  "properties": {
 10886                                    "c": {
 10887                                      "description": "The close price for the symbol in the given time period.",
 10888                                      "format": "float",
 10889                                      "type": "number"
 10890                                    },
 10891                                    "h": {
 10892                                      "description": "The highest price for the symbol in the given time period.",
 10893                                      "format": "float",
 10894                                      "type": "number"
 10895                                    },
 10896                                    "l": {
 10897                                      "description": "The lowest price for the symbol in the given time period.",
 10898                                      "format": "float",
 10899                                      "type": "number"
 10900                                    },
 10901                                    "n": {
 10902                                      "description": "The number of transactions in the aggregate window.",
 10903                                      "type": "integer"
 10904                                    },
 10905                                    "o": {
 10906                                      "description": "The open price for the symbol in the given time period.",
 10907                                      "format": "float",
 10908                                      "type": "number"
 10909                                    },
 10910                                    "otc": {
 10911                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 10912                                      "type": "boolean"
 10913                                    },
 10914                                    "t": {
 10915                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 10916                                      "format": "float",
 10917                                      "type": "number"
 10918                                    },
 10919                                    "v": {
 10920                                      "description": "The trading volume of the symbol in the given time period.",
 10921                                      "format": "float",
 10922                                      "type": "number"
 10923                                    },
 10924                                    "vw": {
 10925                                      "description": "The volume weighted average price.",
 10926                                      "format": "float",
 10927                                      "type": "number"
 10928                                    }
 10929                                  },
 10930                                  "required": [
 10931                                    "v",
 10932                                    "vw",
 10933                                    "o",
 10934                                    "c",
 10935                                    "h",
 10936                                    "l",
 10937                                    "t",
 10938                                    "n"
 10939                                  ],
 10940                                  "type": "object",
 10941                                  "x-polygon-go-type": {
 10942                                    "name": "Aggregate",
 10943                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
 10944                                  }
 10945                                },
 10946                                "type": "array"
 10947                              },
 10948                              "url": {
 10949                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
 10950                                "type": "string"
 10951                              }
 10952                            },
 10953                            "type": "object"
 10954                          },
 10955                          "values": {
 10956                            "items": {
 10957                              "properties": {
 10958                                "timestamp": {
 10959                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
 10960                                  "format": "int64",
 10961                                  "type": "integer",
 10962                                  "x-polygon-go-type": {
 10963                                    "name": "IMicroseconds",
 10964                                    "path": "github.com/polygon-io/ptime"
 10965                                  }
 10966                                },
 10967                                "value": {
 10968                                  "description": "The indicator value for this period.",
 10969                                  "format": "float",
 10970                                  "type": "number",
 10971                                  "x-polygon-go-type": {
 10972                                    "name": "*float64"
 10973                                  }
 10974                                }
 10975                              },
 10976                              "type": "object"
 10977                            },
 10978                            "type": "array"
 10979                          }
 10980                        },
 10981                        "type": "object",
 10982                        "x-polygon-go-type": {
 10983                          "name": "SMAResults"
 10984                        }
 10985                      },
 10986                      "status": {
 10987                        "description": "The status of this request's response.",
 10988                        "type": "string"
 10989                      }
 10990                    },
 10991                    "type": "object"
 10992                  }
 10993                },
 10994                "text/csv": {
 10995                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nX:BTCUSD,55188.33773657,18970.3019,0,18816.66899332,19165.98,19333,18690,1664164800000,297389,,0,,0,0,0,0,0,false,1664164800000,19846.01135387188\nX:BTCUSD,4798.38258637,18914.0766,0,18928,18784.41,19184.3,18636,1664078400000,78936,,0,,0,0,0,0,0,false,1664078400000,19902.65703099573\nX:BTCUSD,4798.38258637,18914.0766,0,18928,18784.41,19184.3,18636,1664064000000,78936,,0,,0,0,0,0,0,false,1664064000000,19948.29976695474\nX:BTCUSD,15457.24362826,19317.486,0,19529.04,19475.84,19651.2772302,18846.67,1664409600000,191936,,0,,0,0,0,0,0,false,1664409600000,19751.714760699124\nX:BTCUSD,23180.93663313,19103.9189,0,19090,19416.20352522,19791,18461,1664337600000,225076,,0,,0,0,0,0,0,false,1664337600000,19762.974955013375\nX:BTCUSD,17479.00092209,19776.6697,0,19228.2,19141.78,20372.17374536,18821.55,1664251200000,183075,,0,,0,0,0,0,0,false,1664251200000,19791.86053850303\nX:BTCUSD,2868.09828007,19069.8521,0,19210.31,18925.87,19400,18805.1,1663992000000,58721,,0,,0,0,0,0,0,false,1663992000000,19995.805471728403\nX:BTCUSD,23180.93663313,19103.9189,0,19090,19416.20352522,19791,18461,1664323200000,225076,,0,,0,0,0,0,0,false,1664323200000,19777.128890923308\nX:BTCUSD,17479.00092209,19776.6697,0,19228.2,19141.78,20372.17374536,18821.55,1664236800000,183075,,0,,0,0,0,0,0,false,1664236800000,19818.394438033767\nX:BTCUSD,55188.33773657,18970.3019,0,18816.66899332,19165.98,19333,18690,1664150400000,297389,,0,,0,0,0,0,0,false,1664150400000,19873.767735662568\n",
 10996                  "schema": {
 10997                    "type": "string"
 10998                  }
 10999                }
 11000              },
 11001              "description": "Simple Moving Average (SMA) data for each period."
 11002            }
 11003          },
 11004          "summary": "Simple Moving Average (SMA)",
 11005          "tags": [
 11006            "crpyto:aggregates"
 11007          ],
 11008          "x-polygon-entitlement-data-type": {
 11009            "description": "Aggregate data",
 11010            "name": "aggregates"
 11011          },
 11012          "x-polygon-entitlement-market-type": {
 11013            "description": "Crypto data",
 11014            "name": "crypto"
 11015          }
 11016        },
 11017        "x-polygon-ignore": true
 11018      },
 11019      "/v1/indicators/sma/{fxTicker}": {
 11020        "get": {
 11021          "description": "Get the simple moving average (SMA) for a ticker symbol over a given time range.",
 11022          "operationId": "ForexSMA",
 11023          "parameters": [
 11024            {
 11025              "description": "The ticker symbol for which to get simple moving average (SMA) data.",
 11026              "example": "C:EURUSD",
 11027              "in": "path",
 11028              "name": "fxTicker",
 11029              "required": true,
 11030              "schema": {
 11031                "type": "string"
 11032              },
 11033              "x-polygon-go-id": "Ticker"
 11034            },
 11035            {
 11036              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 11037              "in": "query",
 11038              "name": "timestamp",
 11039              "schema": {
 11040                "type": "string"
 11041              },
 11042              "x-polygon-filter-field": {
 11043                "range": true
 11044              }
 11045            },
 11046            {
 11047              "description": "The size of the aggregate time window.",
 11048              "example": "day",
 11049              "in": "query",
 11050              "name": "timespan",
 11051              "schema": {
 11052                "default": "day",
 11053                "enum": [
 11054                  "minute",
 11055                  "hour",
 11056                  "day",
 11057                  "week",
 11058                  "month",
 11059                  "quarter",
 11060                  "year"
 11061                ],
 11062                "type": "string"
 11063              }
 11064            },
 11065            {
 11066              "description": "Whether or not the aggregates used to calculate the simple moving average are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
 11067              "example": true,
 11068              "in": "query",
 11069              "name": "adjusted",
 11070              "schema": {
 11071                "default": true,
 11072                "type": "boolean"
 11073              }
 11074            },
 11075            {
 11076              "description": "The window size used to calculate the simple moving average (SMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
 11077              "example": 50,
 11078              "in": "query",
 11079              "name": "window",
 11080              "schema": {
 11081                "default": 50,
 11082                "type": "integer"
 11083              }
 11084            },
 11085            {
 11086              "description": "The price in the aggregate which will be used to calculate the simple moving average. i.e. 'close' will result in using close prices to \ncalculate the simple moving average (SMA).",
 11087              "example": "close",
 11088              "in": "query",
 11089              "name": "series_type",
 11090              "schema": {
 11091                "default": "close",
 11092                "enum": [
 11093                  "open",
 11094                  "high",
 11095                  "low",
 11096                  "close"
 11097                ],
 11098                "type": "string"
 11099              }
 11100            },
 11101            {
 11102              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
 11103              "in": "query",
 11104              "name": "expand_underlying",
 11105              "schema": {
 11106                "default": false,
 11107                "type": "boolean"
 11108              }
 11109            },
 11110            {
 11111              "description": "The order in which to return the results, ordered by timestamp.",
 11112              "example": "desc",
 11113              "in": "query",
 11114              "name": "order",
 11115              "schema": {
 11116                "default": "desc",
 11117                "enum": [
 11118                  "asc",
 11119                  "desc"
 11120                ],
 11121                "type": "string"
 11122              }
 11123            },
 11124            {
 11125              "description": "Limit the number of results returned, default is 10 and max is 5000",
 11126              "in": "query",
 11127              "name": "limit",
 11128              "schema": {
 11129                "default": 10,
 11130                "maximum": 5000,
 11131                "type": "integer"
 11132              }
 11133            },
 11134            {
 11135              "description": "Range by timestamp.",
 11136              "in": "query",
 11137              "name": "timestamp.gte",
 11138              "schema": {
 11139                "type": "string"
 11140              }
 11141            },
 11142            {
 11143              "description": "Range by timestamp.",
 11144              "in": "query",
 11145              "name": "timestamp.gt",
 11146              "schema": {
 11147                "type": "string"
 11148              }
 11149            },
 11150            {
 11151              "description": "Range by timestamp.",
 11152              "in": "query",
 11153              "name": "timestamp.lte",
 11154              "schema": {
 11155                "type": "string"
 11156              }
 11157            },
 11158            {
 11159              "description": "Range by timestamp.",
 11160              "in": "query",
 11161              "name": "timestamp.lt",
 11162              "schema": {
 11163                "type": "string"
 11164              }
 11165            }
 11166          ],
 11167          "responses": {
 11168            "200": {
 11169              "content": {
 11170                "application/json": {
 11171                  "example": {
 11172                    "next_url": "https://api.polygon.io/v1/indicators/sma/C:USDAUD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 11173                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 11174                    "results": {
 11175                      "underlying": {
 11176                        "aggregates": [
 11177                          {
 11178                            "c": 75.0875,
 11179                            "h": 75.15,
 11180                            "l": 73.7975,
 11181                            "n": 1,
 11182                            "o": 74.06,
 11183                            "t": 1577941200000,
 11184                            "v": 135647456,
 11185                            "vw": 74.6099
 11186                          },
 11187                          {
 11188                            "c": 74.3575,
 11189                            "h": 75.145,
 11190                            "l": 74.125,
 11191                            "n": 1,
 11192                            "o": 74.2875,
 11193                            "t": 1578027600000,
 11194                            "v": 146535512,
 11195                            "vw": 74.7026
 11196                          }
 11197                        ],
 11198                        "url": "https://api.polygon.io/v2/aggs/ticker/C:USDAUD/range/1/day/2003-01-01/2022-07-25"
 11199                      },
 11200                      "values": [
 11201                        {
 11202                          "timestamp": 1517562000016,
 11203                          "value": 140.139
 11204                        }
 11205                      ]
 11206                    },
 11207                    "status": "OK"
 11208                  },
 11209                  "schema": {
 11210                    "properties": {
 11211                      "next_url": {
 11212                        "description": "If present, this value can be used to fetch the next page of data.",
 11213                        "type": "string"
 11214                      },
 11215                      "request_id": {
 11216                        "description": "A request id assigned by the server.",
 11217                        "type": "string"
 11218                      },
 11219                      "results": {
 11220                        "properties": {
 11221                          "underlying": {
 11222                            "properties": {
 11223                              "aggregates": {
 11224                                "items": {
 11225                                  "properties": {
 11226                                    "c": {
 11227                                      "description": "The close price for the symbol in the given time period.",
 11228                                      "format": "float",
 11229                                      "type": "number"
 11230                                    },
 11231                                    "h": {
 11232                                      "description": "The highest price for the symbol in the given time period.",
 11233                                      "format": "float",
 11234                                      "type": "number"
 11235                                    },
 11236                                    "l": {
 11237                                      "description": "The lowest price for the symbol in the given time period.",
 11238                                      "format": "float",
 11239                                      "type": "number"
 11240                                    },
 11241                                    "n": {
 11242                                      "description": "The number of transactions in the aggregate window.",
 11243                                      "type": "integer"
 11244                                    },
 11245                                    "o": {
 11246                                      "description": "The open price for the symbol in the given time period.",
 11247                                      "format": "float",
 11248                                      "type": "number"
 11249                                    },
 11250                                    "otc": {
 11251                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 11252                                      "type": "boolean"
 11253                                    },
 11254                                    "t": {
 11255                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 11256                                      "format": "float",
 11257                                      "type": "number"
 11258                                    },
 11259                                    "v": {
 11260                                      "description": "The trading volume of the symbol in the given time period.",
 11261                                      "format": "float",
 11262                                      "type": "number"
 11263                                    },
 11264                                    "vw": {
 11265                                      "description": "The volume weighted average price.",
 11266                                      "format": "float",
 11267                                      "type": "number"
 11268                                    }
 11269                                  },
 11270                                  "required": [
 11271                                    "v",
 11272                                    "vw",
 11273                                    "o",
 11274                                    "c",
 11275                                    "h",
 11276                                    "l",
 11277                                    "t",
 11278                                    "n"
 11279                                  ],
 11280                                  "type": "object",
 11281                                  "x-polygon-go-type": {
 11282                                    "name": "Aggregate",
 11283                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
 11284                                  }
 11285                                },
 11286                                "type": "array"
 11287                              },
 11288                              "url": {
 11289                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
 11290                                "type": "string"
 11291                              }
 11292                            },
 11293                            "type": "object"
 11294                          },
 11295                          "values": {
 11296                            "items": {
 11297                              "properties": {
 11298                                "timestamp": {
 11299                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
 11300                                  "format": "int64",
 11301                                  "type": "integer",
 11302                                  "x-polygon-go-type": {
 11303                                    "name": "IMicroseconds",
 11304                                    "path": "github.com/polygon-io/ptime"
 11305                                  }
 11306                                },
 11307                                "value": {
 11308                                  "description": "The indicator value for this period.",
 11309                                  "format": "float",
 11310                                  "type": "number",
 11311                                  "x-polygon-go-type": {
 11312                                    "name": "*float64"
 11313                                  }
 11314                                }
 11315                              },
 11316                              "type": "object"
 11317                            },
 11318                            "type": "array"
 11319                          }
 11320                        },
 11321                        "type": "object",
 11322                        "x-polygon-go-type": {
 11323                          "name": "SMAResults"
 11324                        }
 11325                      },
 11326                      "status": {
 11327                        "description": "The status of this request's response.",
 11328                        "type": "string"
 11329                      }
 11330                    },
 11331                    "type": "object"
 11332                  }
 11333                },
 11334                "text/csv": {
 11335                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nC:USDAUD,685,1.5537,0,1.5539533,1.5371372,1.5705737,1.5316281,1664323200000,685,,0,,0,0,0,0,0,false,1664323200000,1.4915199239999994\nC:USDAUD,550,1.5405,0,1.5298,1.54531,1.5526263,1.5298,1664164800000,550,,0,,0,0,0,0,0,false,1664164800000,1.4863299679999997\nC:USDAUD,10,1.5312,0,1.5324261,1.53107,1.5326375,1.5301,1664078400000,10,,0,,0,0,0,0,0,false,1664078400000,1.4826388699999997\nC:USDAUD,686,1.5442,0,1.53763,1.5404,1.5526022,1.537279,1664409600000,686,,0,,0,0,0,0,0,false,1664409600000,1.4942168479999998\nC:USDAUD,536,1.5459,0,1.5446162,1.5550165,1.5587,1.5364287,1664251200000,536,,0,,0,0,0,0,0,false,1664251200000,1.4900704799999993\nC:USDAUD,536,1.5459,0,1.5446162,1.5550165,1.5587,1.5364287,1664236800000,536,,0,,0,0,0,0,0,false,1664236800000,1.4882634499999994\nC:USDAUD,550,1.5405,0,1.5298,1.54531,1.5526263,1.5298,1664150400000,550,,0,,0,0,0,0,0,false,1664150400000,1.4845906159999998\nC:USDAUD,10,1.5312,0,1.5324261,1.53107,1.5326375,1.5301,1664064000000,10,,0,,0,0,0,0,0,false,1664064000000,1.4809719239999999\nC:USDAUD,1,1.5314,0,1.5313936,1.5313936,1.5313936,1.5313936,1663977600000,1,,0,,0,0,0,0,0,false,1663977600000,1.4794745239999998\nC:USDAUD,685,1.5537,0,1.5539533,1.5371372,1.5705737,1.5316281,1664337600000,685,,0,,0,0,0,0,0,false,1664337600000,1.4928357579999996\n",
 11336                  "schema": {
 11337                    "type": "string"
 11338                  }
 11339                }
 11340              },
 11341              "description": "Simple Moving Average (SMA) data for each period."
 11342            }
 11343          },
 11344          "summary": "Simple Moving Average (SMA)",
 11345          "tags": [
 11346            "fx:aggregates"
 11347          ],
 11348          "x-polygon-entitlement-data-type": {
 11349            "description": "Aggregate data",
 11350            "name": "aggregates"
 11351          },
 11352          "x-polygon-entitlement-market-type": {
 11353            "description": "Forex data",
 11354            "name": "fx"
 11355          }
 11356        },
 11357        "x-polygon-ignore": true
 11358      },
 11359      "/v1/indicators/sma/{indicesTicker}": {
 11360        "get": {
 11361          "description": "Get the simple moving average (SMA) for a ticker symbol over a given time range.",
 11362          "operationId": "IndicesSMA",
 11363          "parameters": [
 11364            {
 11365              "description": "The ticker symbol for which to get simple moving average (SMA) data.",
 11366              "example": "I:NDX",
 11367              "in": "path",
 11368              "name": "indicesTicker",
 11369              "required": true,
 11370              "schema": {
 11371                "type": "string"
 11372              },
 11373              "x-polygon-go-id": "Ticker"
 11374            },
 11375            {
 11376              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 11377              "in": "query",
 11378              "name": "timestamp",
 11379              "schema": {
 11380                "type": "string"
 11381              },
 11382              "x-polygon-filter-field": {
 11383                "range": true
 11384              }
 11385            },
 11386            {
 11387              "description": "The size of the aggregate time window.",
 11388              "example": "day",
 11389              "in": "query",
 11390              "name": "timespan",
 11391              "schema": {
 11392                "default": "day",
 11393                "enum": [
 11394                  "minute",
 11395                  "hour",
 11396                  "day",
 11397                  "week",
 11398                  "month",
 11399                  "quarter",
 11400                  "year"
 11401                ],
 11402                "type": "string"
 11403              }
 11404            },
 11405            {
 11406              "description": "Whether or not the aggregates used to calculate the simple moving average are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
 11407              "example": true,
 11408              "in": "query",
 11409              "name": "adjusted",
 11410              "schema": {
 11411                "default": true,
 11412                "type": "boolean"
 11413              }
 11414            },
 11415            {
 11416              "description": "The window size used to calculate the simple moving average (SMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
 11417              "example": 50,
 11418              "in": "query",
 11419              "name": "window",
 11420              "schema": {
 11421                "default": 50,
 11422                "type": "integer"
 11423              }
 11424            },
 11425            {
 11426              "description": "The value in the aggregate which will be used to calculate the simple moving average. i.e. 'close' will result in using close values to \ncalculate the simple moving average (SMA).",
 11427              "example": "close",
 11428              "in": "query",
 11429              "name": "series_type",
 11430              "schema": {
 11431                "default": "close",
 11432                "enum": [
 11433                  "open",
 11434                  "high",
 11435                  "low",
 11436                  "close"
 11437                ],
 11438                "type": "string"
 11439              }
 11440            },
 11441            {
 11442              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
 11443              "in": "query",
 11444              "name": "expand_underlying",
 11445              "schema": {
 11446                "default": false,
 11447                "type": "boolean"
 11448              }
 11449            },
 11450            {
 11451              "description": "The order in which to return the results, ordered by timestamp.",
 11452              "example": "desc",
 11453              "in": "query",
 11454              "name": "order",
 11455              "schema": {
 11456                "default": "desc",
 11457                "enum": [
 11458                  "asc",
 11459                  "desc"
 11460                ],
 11461                "type": "string"
 11462              }
 11463            },
 11464            {
 11465              "description": "Limit the number of results returned, default is 10 and max is 5000",
 11466              "in": "query",
 11467              "name": "limit",
 11468              "schema": {
 11469                "default": 10,
 11470                "maximum": 5000,
 11471                "type": "integer"
 11472              }
 11473            },
 11474            {
 11475              "description": "Range by timestamp.",
 11476              "in": "query",
 11477              "name": "timestamp.gte",
 11478              "schema": {
 11479                "type": "string"
 11480              }
 11481            },
 11482            {
 11483              "description": "Range by timestamp.",
 11484              "in": "query",
 11485              "name": "timestamp.gt",
 11486              "schema": {
 11487                "type": "string"
 11488              }
 11489            },
 11490            {
 11491              "description": "Range by timestamp.",
 11492              "in": "query",
 11493              "name": "timestamp.lte",
 11494              "schema": {
 11495                "type": "string"
 11496              }
 11497            },
 11498            {
 11499              "description": "Range by timestamp.",
 11500              "in": "query",
 11501              "name": "timestamp.lt",
 11502              "schema": {
 11503                "type": "string"
 11504              }
 11505            }
 11506          ],
 11507          "responses": {
 11508            "200": {
 11509              "content": {
 11510                "application/json": {
 11511                  "example": {
 11512                    "next_url": "https://api.polygon.io/v1/indicators/sma/I:NDX?cursor=YWRqdXN0ZWQ9dHJ1ZSZhcD0lN0IlMjJ2JTIyJTNBMCUyQyUyMm8lMjIlM0EwJTJDJTIyYyUyMiUzQTE1MDg0Ljk5OTM4OTgyMDAzJTJDJTIyaCUyMiUzQTAlMkMlMjJsJTIyJTNBMCUyQyUyMnQlMjIlM0ExNjg3MjE5MjAwMDAwJTdEJmFzPSZleHBhbmRfdW5kZXJseWluZz1mYWxzZSZsaW1pdD0xJm9yZGVyPWRlc2Mmc2VyaWVzX3R5cGU9Y2xvc2UmdGltZXNwYW49ZGF5JnRpbWVzdGFtcC5sdD0xNjg3MjM3MjAwMDAwJndpbmRvdz01Mw",
 11513                    "request_id": "4cae270008cb3f947e3f92c206e3888a",
 11514                    "results": {
 11515                      "underlying": {
 11516                        "url": "https://api.polygon.io/v2/aggs/ticker/I:NDX/range/1/day/1678338000000/1687366378997?limit=240\u0026sort=desc"
 11517                      },
 11518                      "values": [
 11519                        {
 11520                          "timestamp": 1687237200000,
 11521                          "value": 14362.676417589264
 11522                        }
 11523                      ]
 11524                    },
 11525                    "status": "OK"
 11526                  },
 11527                  "schema": {
 11528                    "properties": {
 11529                      "next_url": {
 11530                        "description": "If present, this value can be used to fetch the next page of data.",
 11531                        "type": "string"
 11532                      },
 11533                      "request_id": {
 11534                        "description": "A request id assigned by the server.",
 11535                        "type": "string"
 11536                      },
 11537                      "results": {
 11538                        "properties": {
 11539                          "underlying": {
 11540                            "properties": {
 11541                              "aggregates": {
 11542                                "items": {
 11543                                  "properties": {
 11544                                    "c": {
 11545                                      "description": "The close price for the symbol in the given time period.",
 11546                                      "format": "float",
 11547                                      "type": "number"
 11548                                    },
 11549                                    "h": {
 11550                                      "description": "The highest price for the symbol in the given time period.",
 11551                                      "format": "float",
 11552                                      "type": "number"
 11553                                    },
 11554                                    "l": {
 11555                                      "description": "The lowest price for the symbol in the given time period.",
 11556                                      "format": "float",
 11557                                      "type": "number"
 11558                                    },
 11559                                    "n": {
 11560                                      "description": "The number of transactions in the aggregate window.",
 11561                                      "type": "integer"
 11562                                    },
 11563                                    "o": {
 11564                                      "description": "The open price for the symbol in the given time period.",
 11565                                      "format": "float",
 11566                                      "type": "number"
 11567                                    },
 11568                                    "otc": {
 11569                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 11570                                      "type": "boolean"
 11571                                    },
 11572                                    "t": {
 11573                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 11574                                      "format": "float",
 11575                                      "type": "number"
 11576                                    },
 11577                                    "v": {
 11578                                      "description": "The trading volume of the symbol in the given time period.",
 11579                                      "format": "float",
 11580                                      "type": "number"
 11581                                    },
 11582                                    "vw": {
 11583                                      "description": "The volume weighted average price.",
 11584                                      "format": "float",
 11585                                      "type": "number"
 11586                                    }
 11587                                  },
 11588                                  "required": [
 11589                                    "v",
 11590                                    "vw",
 11591                                    "o",
 11592                                    "c",
 11593                                    "h",
 11594                                    "l",
 11595                                    "t",
 11596                                    "n"
 11597                                  ],
 11598                                  "type": "object",
 11599                                  "x-polygon-go-type": {
 11600                                    "name": "Aggregate",
 11601                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
 11602                                  }
 11603                                },
 11604                                "type": "array"
 11605                              },
 11606                              "url": {
 11607                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
 11608                                "type": "string"
 11609                              }
 11610                            },
 11611                            "type": "object"
 11612                          },
 11613                          "values": {
 11614                            "items": {
 11615                              "properties": {
 11616                                "timestamp": {
 11617                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
 11618                                  "format": "int64",
 11619                                  "type": "integer",
 11620                                  "x-polygon-go-type": {
 11621                                    "name": "IMicroseconds",
 11622                                    "path": "github.com/polygon-io/ptime"
 11623                                  }
 11624                                },
 11625                                "value": {
 11626                                  "description": "The indicator value for this period.",
 11627                                  "format": "float",
 11628                                  "type": "number",
 11629                                  "x-polygon-go-type": {
 11630                                    "name": "*float64"
 11631                                  }
 11632                                }
 11633                              },
 11634                              "type": "object"
 11635                            },
 11636                            "type": "array"
 11637                          }
 11638                        },
 11639                        "type": "object",
 11640                        "x-polygon-go-type": {
 11641                          "name": "SMAResults"
 11642                        }
 11643                      },
 11644                      "status": {
 11645                        "description": "The status of this request's response.",
 11646                        "type": "string"
 11647                      }
 11648                    },
 11649                    "type": "object"
 11650                  }
 11651                }
 11652              },
 11653              "description": "Simple Moving Average (SMA) data for each period."
 11654            }
 11655          },
 11656          "summary": "Simple Moving Average (SMA)",
 11657          "tags": [
 11658            "indices:aggregates"
 11659          ],
 11660          "x-polygon-entitlement-allowed-limited-tickers": true,
 11661          "x-polygon-entitlement-data-type": {
 11662            "description": "Aggregate data",
 11663            "name": "aggregates"
 11664          },
 11665          "x-polygon-entitlement-market-type": {
 11666            "description": "Indices data",
 11667            "name": "indices"
 11668          }
 11669        },
 11670        "x-polygon-ignore": true
 11671      },
 11672      "/v1/indicators/sma/{optionsTicker}": {
 11673        "get": {
 11674          "description": "Get the simple moving average (SMA) for a ticker symbol over a given time range.",
 11675          "operationId": "OptionsSMA",
 11676          "parameters": [
 11677            {
 11678              "description": "The ticker symbol for which to get simple moving average (SMA) data.",
 11679              "example": "O:SPY241220P00720000",
 11680              "in": "path",
 11681              "name": "optionsTicker",
 11682              "required": true,
 11683              "schema": {
 11684                "type": "string"
 11685              },
 11686              "x-polygon-go-id": "Ticker"
 11687            },
 11688            {
 11689              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 11690              "in": "query",
 11691              "name": "timestamp",
 11692              "schema": {
 11693                "type": "string"
 11694              },
 11695              "x-polygon-filter-field": {
 11696                "range": true
 11697              }
 11698            },
 11699            {
 11700              "description": "The size of the aggregate time window.",
 11701              "example": "day",
 11702              "in": "query",
 11703              "name": "timespan",
 11704              "schema": {
 11705                "default": "day",
 11706                "enum": [
 11707                  "minute",
 11708                  "hour",
 11709                  "day",
 11710                  "week",
 11711                  "month",
 11712                  "quarter",
 11713                  "year"
 11714                ],
 11715                "type": "string"
 11716              }
 11717            },
 11718            {
 11719              "description": "Whether or not the aggregates used to calculate the simple moving average are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
 11720              "example": true,
 11721              "in": "query",
 11722              "name": "adjusted",
 11723              "schema": {
 11724                "default": true,
 11725                "type": "boolean"
 11726              }
 11727            },
 11728            {
 11729              "description": "The window size used to calculate the simple moving average (SMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
 11730              "example": 50,
 11731              "in": "query",
 11732              "name": "window",
 11733              "schema": {
 11734                "default": 50,
 11735                "type": "integer"
 11736              }
 11737            },
 11738            {
 11739              "description": "The price in the aggregate which will be used to calculate the simple moving average. i.e. 'close' will result in using close prices to \ncalculate the simple moving average (SMA).",
 11740              "example": "close",
 11741              "in": "query",
 11742              "name": "series_type",
 11743              "schema": {
 11744                "default": "close",
 11745                "enum": [
 11746                  "open",
 11747                  "high",
 11748                  "low",
 11749                  "close"
 11750                ],
 11751                "type": "string"
 11752              }
 11753            },
 11754            {
 11755              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
 11756              "in": "query",
 11757              "name": "expand_underlying",
 11758              "schema": {
 11759                "default": false,
 11760                "type": "boolean"
 11761              }
 11762            },
 11763            {
 11764              "description": "The order in which to return the results, ordered by timestamp.",
 11765              "example": "desc",
 11766              "in": "query",
 11767              "name": "order",
 11768              "schema": {
 11769                "default": "desc",
 11770                "enum": [
 11771                  "asc",
 11772                  "desc"
 11773                ],
 11774                "type": "string"
 11775              }
 11776            },
 11777            {
 11778              "description": "Limit the number of results returned, default is 10 and max is 5000",
 11779              "in": "query",
 11780              "name": "limit",
 11781              "schema": {
 11782                "default": 10,
 11783                "maximum": 5000,
 11784                "type": "integer"
 11785              }
 11786            },
 11787            {
 11788              "description": "Range by timestamp.",
 11789              "in": "query",
 11790              "name": "timestamp.gte",
 11791              "schema": {
 11792                "type": "string"
 11793              }
 11794            },
 11795            {
 11796              "description": "Range by timestamp.",
 11797              "in": "query",
 11798              "name": "timestamp.gt",
 11799              "schema": {
 11800                "type": "string"
 11801              }
 11802            },
 11803            {
 11804              "description": "Range by timestamp.",
 11805              "in": "query",
 11806              "name": "timestamp.lte",
 11807              "schema": {
 11808                "type": "string"
 11809              }
 11810            },
 11811            {
 11812              "description": "Range by timestamp.",
 11813              "in": "query",
 11814              "name": "timestamp.lt",
 11815              "schema": {
 11816                "type": "string"
 11817              }
 11818            }
 11819          ],
 11820          "responses": {
 11821            "200": {
 11822              "content": {
 11823                "application/json": {
 11824                  "example": {
 11825                    "next_url": "https://api.polygon.io/v1/indicators/sma/O:SPY241220P00720000?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 11826                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 11827                    "results": {
 11828                      "underlying": {
 11829                        "aggregates": [
 11830                          {
 11831                            "c": 75.0875,
 11832                            "h": 75.15,
 11833                            "l": 73.7975,
 11834                            "n": 1,
 11835                            "o": 74.06,
 11836                            "t": 1577941200000,
 11837                            "v": 135647456,
 11838                            "vw": 74.6099
 11839                          },
 11840                          {
 11841                            "c": 74.3575,
 11842                            "h": 75.145,
 11843                            "l": 74.125,
 11844                            "n": 1,
 11845                            "o": 74.2875,
 11846                            "t": 1578027600000,
 11847                            "v": 146535512,
 11848                            "vw": 74.7026
 11849                          }
 11850                        ],
 11851                        "url": "https://api.polygon.io/v2/aggs/ticker/O:SPY241220P00720000/range/1/day/2003-01-01/2022-07-25"
 11852                      },
 11853                      "values": [
 11854                        {
 11855                          "timestamp": 1517562000016,
 11856                          "value": 140.139
 11857                        }
 11858                      ]
 11859                    },
 11860                    "status": "OK"
 11861                  },
 11862                  "schema": {
 11863                    "properties": {
 11864                      "next_url": {
 11865                        "description": "If present, this value can be used to fetch the next page of data.",
 11866                        "type": "string"
 11867                      },
 11868                      "request_id": {
 11869                        "description": "A request id assigned by the server.",
 11870                        "type": "string"
 11871                      },
 11872                      "results": {
 11873                        "properties": {
 11874                          "underlying": {
 11875                            "properties": {
 11876                              "aggregates": {
 11877                                "items": {
 11878                                  "properties": {
 11879                                    "c": {
 11880                                      "description": "The close price for the symbol in the given time period.",
 11881                                      "format": "float",
 11882                                      "type": "number"
 11883                                    },
 11884                                    "h": {
 11885                                      "description": "The highest price for the symbol in the given time period.",
 11886                                      "format": "float",
 11887                                      "type": "number"
 11888                                    },
 11889                                    "l": {
 11890                                      "description": "The lowest price for the symbol in the given time period.",
 11891                                      "format": "float",
 11892                                      "type": "number"
 11893                                    },
 11894                                    "n": {
 11895                                      "description": "The number of transactions in the aggregate window.",
 11896                                      "type": "integer"
 11897                                    },
 11898                                    "o": {
 11899                                      "description": "The open price for the symbol in the given time period.",
 11900                                      "format": "float",
 11901                                      "type": "number"
 11902                                    },
 11903                                    "otc": {
 11904                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 11905                                      "type": "boolean"
 11906                                    },
 11907                                    "t": {
 11908                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 11909                                      "format": "float",
 11910                                      "type": "number"
 11911                                    },
 11912                                    "v": {
 11913                                      "description": "The trading volume of the symbol in the given time period.",
 11914                                      "format": "float",
 11915                                      "type": "number"
 11916                                    },
 11917                                    "vw": {
 11918                                      "description": "The volume weighted average price.",
 11919                                      "format": "float",
 11920                                      "type": "number"
 11921                                    }
 11922                                  },
 11923                                  "required": [
 11924                                    "v",
 11925                                    "vw",
 11926                                    "o",
 11927                                    "c",
 11928                                    "h",
 11929                                    "l",
 11930                                    "t",
 11931                                    "n"
 11932                                  ],
 11933                                  "type": "object",
 11934                                  "x-polygon-go-type": {
 11935                                    "name": "Aggregate",
 11936                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
 11937                                  }
 11938                                },
 11939                                "type": "array"
 11940                              },
 11941                              "url": {
 11942                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
 11943                                "type": "string"
 11944                              }
 11945                            },
 11946                            "type": "object"
 11947                          },
 11948                          "values": {
 11949                            "items": {
 11950                              "properties": {
 11951                                "timestamp": {
 11952                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
 11953                                  "format": "int64",
 11954                                  "type": "integer",
 11955                                  "x-polygon-go-type": {
 11956                                    "name": "IMicroseconds",
 11957                                    "path": "github.com/polygon-io/ptime"
 11958                                  }
 11959                                },
 11960                                "value": {
 11961                                  "description": "The indicator value for this period.",
 11962                                  "format": "float",
 11963                                  "type": "number",
 11964                                  "x-polygon-go-type": {
 11965                                    "name": "*float64"
 11966                                  }
 11967                                }
 11968                              },
 11969                              "type": "object"
 11970                            },
 11971                            "type": "array"
 11972                          }
 11973                        },
 11974                        "type": "object",
 11975                        "x-polygon-go-type": {
 11976                          "name": "SMAResults"
 11977                        }
 11978                      },
 11979                      "status": {
 11980                        "description": "The status of this request's response.",
 11981                        "type": "string"
 11982                      }
 11983                    },
 11984                    "type": "object"
 11985                  }
 11986                },
 11987                "text/csv": {
 11988                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649304000000,1,,0,,0,0,0,0,0,false,1649304000000,286.0121999999996\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649131200000,1,,0,,0,0,0,0,0,false,1649131200000,284.61099999999965\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648699200000,1,,0,,0,0,0,0,0,false,1648699200000,282.50919999999974\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648612800000,1,,0,,0,0,0,0,0,false,1648612800000,281.80859999999973\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648526400000,1,,0,,0,0,0,0,0,false,1648526400000,281.1079999999998\nO:SPY241220P00720000,3,277.8267,0,277.82,277.83,277.83,277.82,1649649600000,2,,0,,0,0,0,0,0,false,1649649600000,285.4949999999996\nO:SPY241220P00720000,2,270.49,0,270.49,270.49,270.49,270.49,1649390400000,1,,0,,0,0,0,0,0,false,1649390400000,285.6801999999996\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649217600000,1,,0,,0,0,0,0,0,false,1649217600000,285.31159999999966\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1649044800000,1,,0,,0,0,0,0,0,false,1649044800000,283.9103999999997\nO:SPY241220P00720000,1,299.97,0,299.97,299.97,299.97,299.97,1648785600000,1,,0,,0,0,0,0,0,false,1648785600000,283.2097999999997\n",
 11989                  "schema": {
 11990                    "type": "string"
 11991                  }
 11992                }
 11993              },
 11994              "description": "Simple Moving Average (SMA) data for each period."
 11995            }
 11996          },
 11997          "summary": "Simple Moving Average (SMA)",
 11998          "tags": [
 11999            "options:aggregates"
 12000          ],
 12001          "x-polygon-entitlement-data-type": {
 12002            "description": "Aggregate data",
 12003            "name": "aggregates"
 12004          },
 12005          "x-polygon-entitlement-market-type": {
 12006            "description": "Options data",
 12007            "name": "options"
 12008          }
 12009        },
 12010        "x-polygon-ignore": true
 12011      },
 12012      "/v1/indicators/sma/{stockTicker}": {
 12013        "get": {
 12014          "description": "Get the simple moving average (SMA) for a ticker symbol over a given time range.",
 12015          "operationId": "SMA",
 12016          "parameters": [
 12017            {
 12018              "description": "The ticker symbol for which to get simple moving average (SMA) data.",
 12019              "example": "AAPL",
 12020              "in": "path",
 12021              "name": "stockTicker",
 12022              "required": true,
 12023              "schema": {
 12024                "type": "string"
 12025              },
 12026              "x-polygon-go-id": "Ticker"
 12027            },
 12028            {
 12029              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 12030              "in": "query",
 12031              "name": "timestamp",
 12032              "schema": {
 12033                "type": "string"
 12034              },
 12035              "x-polygon-filter-field": {
 12036                "range": true
 12037              }
 12038            },
 12039            {
 12040              "description": "The size of the aggregate time window.",
 12041              "example": "day",
 12042              "in": "query",
 12043              "name": "timespan",
 12044              "schema": {
 12045                "default": "day",
 12046                "enum": [
 12047                  "minute",
 12048                  "hour",
 12049                  "day",
 12050                  "week",
 12051                  "month",
 12052                  "quarter",
 12053                  "year"
 12054                ],
 12055                "type": "string"
 12056              }
 12057            },
 12058            {
 12059              "description": "Whether or not the aggregates used to calculate the simple moving average are adjusted for splits. By default, aggregates are adjusted.\nSet this to false to get results that are NOT adjusted for splits.",
 12060              "example": true,
 12061              "in": "query",
 12062              "name": "adjusted",
 12063              "schema": {
 12064                "default": true,
 12065                "type": "boolean"
 12066              }
 12067            },
 12068            {
 12069              "description": "The window size used to calculate the simple moving average (SMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
 12070              "example": 50,
 12071              "in": "query",
 12072              "name": "window",
 12073              "schema": {
 12074                "default": 50,
 12075                "type": "integer"
 12076              }
 12077            },
 12078            {
 12079              "description": "The price in the aggregate which will be used to calculate the simple moving average. i.e. 'close' will result in using close prices to \ncalculate the simple moving average (SMA).",
 12080              "example": "close",
 12081              "in": "query",
 12082              "name": "series_type",
 12083              "schema": {
 12084                "default": "close",
 12085                "enum": [
 12086                  "open",
 12087                  "high",
 12088                  "low",
 12089                  "close"
 12090                ],
 12091                "type": "string"
 12092              }
 12093            },
 12094            {
 12095              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
 12096              "in": "query",
 12097              "name": "expand_underlying",
 12098              "schema": {
 12099                "default": false,
 12100                "type": "boolean"
 12101              }
 12102            },
 12103            {
 12104              "description": "The order in which to return the results, ordered by timestamp.",
 12105              "example": "desc",
 12106              "in": "query",
 12107              "name": "order",
 12108              "schema": {
 12109                "default": "desc",
 12110                "enum": [
 12111                  "asc",
 12112                  "desc"
 12113                ],
 12114                "type": "string"
 12115              }
 12116            },
 12117            {
 12118              "description": "Limit the number of results returned, default is 10 and max is 5000",
 12119              "in": "query",
 12120              "name": "limit",
 12121              "schema": {
 12122                "default": 10,
 12123                "maximum": 5000,
 12124                "type": "integer"
 12125              }
 12126            },
 12127            {
 12128              "description": "Range by timestamp.",
 12129              "in": "query",
 12130              "name": "timestamp.gte",
 12131              "schema": {
 12132                "type": "string"
 12133              }
 12134            },
 12135            {
 12136              "description": "Range by timestamp.",
 12137              "in": "query",
 12138              "name": "timestamp.gt",
 12139              "schema": {
 12140                "type": "string"
 12141              }
 12142            },
 12143            {
 12144              "description": "Range by timestamp.",
 12145              "in": "query",
 12146              "name": "timestamp.lte",
 12147              "schema": {
 12148                "type": "string"
 12149              }
 12150            },
 12151            {
 12152              "description": "Range by timestamp.",
 12153              "in": "query",
 12154              "name": "timestamp.lt",
 12155              "schema": {
 12156                "type": "string"
 12157              }
 12158            }
 12159          ],
 12160          "responses": {
 12161            "200": {
 12162              "content": {
 12163                "application/json": {
 12164                  "example": {
 12165                    "next_url": "https://api.polygon.io/v1/indicators/sma/AAPL?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 12166                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 12167                    "results": {
 12168                      "underlying": {
 12169                        "aggregates": [
 12170                          {
 12171                            "c": 75.0875,
 12172                            "h": 75.15,
 12173                            "l": 73.7975,
 12174                            "n": 1,
 12175                            "o": 74.06,
 12176                            "t": 1577941200000,
 12177                            "v": 135647456,
 12178                            "vw": 74.6099
 12179                          },
 12180                          {
 12181                            "c": 74.3575,
 12182                            "h": 75.145,
 12183                            "l": 74.125,
 12184                            "n": 1,
 12185                            "o": 74.2875,
 12186                            "t": 1578027600000,
 12187                            "v": 146535512,
 12188                            "vw": 74.7026
 12189                          }
 12190                        ],
 12191                        "url": "https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2003-01-01/2022-07-25"
 12192                      },
 12193                      "values": [
 12194                        {
 12195                          "timestamp": 1517562000016,
 12196                          "value": 140.139
 12197                        }
 12198                      ]
 12199                    },
 12200                    "status": "OK"
 12201                  },
 12202                  "schema": {
 12203                    "properties": {
 12204                      "next_url": {
 12205                        "description": "If present, this value can be used to fetch the next page of data.",
 12206                        "type": "string"
 12207                      },
 12208                      "request_id": {
 12209                        "description": "A request id assigned by the server.",
 12210                        "type": "string"
 12211                      },
 12212                      "results": {
 12213                        "properties": {
 12214                          "underlying": {
 12215                            "properties": {
 12216                              "aggregates": {
 12217                                "items": {
 12218                                  "properties": {
 12219                                    "c": {
 12220                                      "description": "The close price for the symbol in the given time period.",
 12221                                      "format": "float",
 12222                                      "type": "number"
 12223                                    },
 12224                                    "h": {
 12225                                      "description": "The highest price for the symbol in the given time period.",
 12226                                      "format": "float",
 12227                                      "type": "number"
 12228                                    },
 12229                                    "l": {
 12230                                      "description": "The lowest price for the symbol in the given time period.",
 12231                                      "format": "float",
 12232                                      "type": "number"
 12233                                    },
 12234                                    "n": {
 12235                                      "description": "The number of transactions in the aggregate window.",
 12236                                      "type": "integer"
 12237                                    },
 12238                                    "o": {
 12239                                      "description": "The open price for the symbol in the given time period.",
 12240                                      "format": "float",
 12241                                      "type": "number"
 12242                                    },
 12243                                    "otc": {
 12244                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 12245                                      "type": "boolean"
 12246                                    },
 12247                                    "t": {
 12248                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 12249                                      "format": "float",
 12250                                      "type": "number"
 12251                                    },
 12252                                    "v": {
 12253                                      "description": "The trading volume of the symbol in the given time period.",
 12254                                      "format": "float",
 12255                                      "type": "number"
 12256                                    },
 12257                                    "vw": {
 12258                                      "description": "The volume weighted average price.",
 12259                                      "format": "float",
 12260                                      "type": "number"
 12261                                    }
 12262                                  },
 12263                                  "required": [
 12264                                    "v",
 12265                                    "vw",
 12266                                    "o",
 12267                                    "c",
 12268                                    "h",
 12269                                    "l",
 12270                                    "t",
 12271                                    "n"
 12272                                  ],
 12273                                  "type": "object",
 12274                                  "x-polygon-go-type": {
 12275                                    "name": "Aggregate",
 12276                                    "path": "github.com/polygon-io/go-lib-models/v2/globals"
 12277                                  }
 12278                                },
 12279                                "type": "array"
 12280                              },
 12281                              "url": {
 12282                                "description": "The URL which can be used to request the underlying aggregates used in this request.",
 12283                                "type": "string"
 12284                              }
 12285                            },
 12286                            "type": "object"
 12287                          },
 12288                          "values": {
 12289                            "items": {
 12290                              "properties": {
 12291                                "timestamp": {
 12292                                  "description": "The Unix Msec timestamp from the last aggregate used in this calculation.",
 12293                                  "format": "int64",
 12294                                  "type": "integer",
 12295                                  "x-polygon-go-type": {
 12296                                    "name": "IMicroseconds",
 12297                                    "path": "github.com/polygon-io/ptime"
 12298                                  }
 12299                                },
 12300                                "value": {
 12301                                  "description": "The indicator value for this period.",
 12302                                  "format": "float",
 12303                                  "type": "number",
 12304                                  "x-polygon-go-type": {
 12305                                    "name": "*float64"
 12306                                  }
 12307                                }
 12308                              },
 12309                              "type": "object"
 12310                            },
 12311                            "type": "array"
 12312                          }
 12313                        },
 12314                        "type": "object",
 12315                        "x-polygon-go-type": {
 12316                          "name": "SMAResults"
 12317                        }
 12318                      },
 12319                      "status": {
 12320                        "description": "The status of this request's response.",
 12321                        "type": "string"
 12322                      }
 12323                    },
 12324                    "type": "object"
 12325                  }
 12326                },
 12327                "text/csv": {
 12328                  "example": "aggregate_T,aggregate_v,aggregate_vw,aggregate_a,aggregate_o,aggregate_c,aggregate_h,aggregate_l,aggregate_t,aggregate_n,aggregate_m,aggregate_x,aggregate_g,aggregate_op,aggregate_z,aggregate_av,aggregate_s,aggregate_e,aggregate_otc,timestamp,value\nAAPL,1.27849501E+08,142.9012,0,146.1,142.48,146.72,140.68,1664424000000,1061692,,0,,0,0,0,0,0,false,1664424000000,164.19240000000005\nAAPL,1.46755122E+08,147.599,0,147.64,149.84,150.6414,144.84,1664337600000,1140818,,0,,0,0,0,0,0,false,1664337600000,164.40360000000007\nAAPL,8.4461761E+07,152.1354,0,152.74,151.76,154.72,149.945,1664251200000,683781,,0,,0,0,0,0,0,false,1664251200000,164.42680000000007\nAAPL,9.3339409E+07,151.5222,0,149.66,150.77,153.7701,149.64,1664164800000,747666,,0,,0,0,0,0,0,false,1664164800000,164.33300000000006\nAAPL,9.3308449E+07,156.1877,0,157.34,153.72,158.61,153.6,1663732800000,712645,,0,,0,0,0,0,0,false,1663732800000,164.13680000000005\nAAPL,9.6031641E+07,150.0222,0,151.19,150.43,151.47,148.56,1663905600000,766888,,0,,0,0,0,0,0,false,1663905600000,164.32100000000005\nAAPL,8.6651514E+07,152.5709,0,152.38,152.74,154.47,150.91,1663819200000,686866,,0,,0,0,0,0,0,false,1663819200000,164.28180000000003\nAAPL,1.07691097E+08,156.1317,0,153.4,156.9,158.08,153.08,1663646400000,792177,,0,,0,0,0,0,0,false,1663646400000,163.97960000000006\nAAPL,8.1599225E+07,152.5505,0,149.31,154.48,154.56,149.1,1663560000000,671961,,0,,0,0,0,0,0,false,1663560000000,163.73900000000006\nAAPL,1.64879031E+08,150.2387,0,151.21,150.7,151.35,148.37,1663300800000,850358,,0,,0,0,0,0,0,false,1663300800000,163.59020000000007\n",
 12329                  "schema": {
 12330                    "type": "string"
 12331                  }
 12332                }
 12333              },
 12334              "description": "Simple Moving Average (SMA) data for each period."
 12335            }
 12336          },
 12337          "summary": "Simple Moving Average (SMA)",
 12338          "tags": [
 12339            "stocks:aggregates"
 12340          ],
 12341          "x-polygon-entitlement-data-type": {
 12342            "description": "Aggregate data",
 12343            "name": "aggregates"
 12344          },
 12345          "x-polygon-entitlement-market-type": {
 12346            "description": "Stocks data",
 12347            "name": "stocks"
 12348          }
 12349        }
 12350      },
 12351      "/v1/last/crypto/{from}/{to}": {
 12352        "get": {
 12353          "description": "Get the last trade tick for a cryptocurrency pair.",
 12354          "operationId": "LastTradeCrypto",
 12355          "parameters": [
 12356            {
 12357              "description": "The \"from\" symbol of the pair.",
 12358              "example": "BTC",
 12359              "in": "path",
 12360              "name": "from",
 12361              "required": true,
 12362              "schema": {
 12363                "type": "string"
 12364              }
 12365            },
 12366            {
 12367              "description": "The \"to\" symbol of the pair.",
 12368              "example": "USD",
 12369              "in": "path",
 12370              "name": "to",
 12371              "required": true,
 12372              "schema": {
 12373                "type": "string"
 12374              }
 12375            }
 12376          ],
 12377          "responses": {
 12378            "200": {
 12379              "content": {
 12380                "application/json": {
 12381                  "example": {
 12382                    "last": {
 12383                      "conditions": [
 12384                        1
 12385                      ],
 12386                      "exchange": 4,
 12387                      "price": 16835.42,
 12388                      "size": 0.006909,
 12389                      "timestamp": 1605560885027
 12390                    },
 12391                    "request_id": "d2d779df015fe2b7fbb8e58366610ef7",
 12392                    "status": "success",
 12393                    "symbol": "BTC-USD"
 12394                  },
 12395                  "schema": {
 12396                    "properties": {
 12397                      "last": {
 12398                        "properties": {
 12399                          "conditions": {
 12400                            "description": "A list of condition codes.",
 12401                            "items": {
 12402                              "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/stocks/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 12403                              "format": "int32",
 12404                              "type": "integer"
 12405                            },
 12406                            "type": "array",
 12407                            "x-polygon-go-type": {
 12408                              "name": "Int32Array"
 12409                            }
 12410                          },
 12411                          "exchange": {
 12412                            "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.",
 12413                            "type": "integer"
 12414                          },
 12415                          "price": {
 12416                            "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.",
 12417                            "format": "double",
 12418                            "type": "number"
 12419                          },
 12420                          "size": {
 12421                            "description": "The size of a trade (also known as volume).",
 12422                            "format": "double",
 12423                            "type": "number"
 12424                          },
 12425                          "timestamp": {
 12426                            "description": "The Unix millisecond timestamp.",
 12427                            "type": "integer",
 12428                            "x-polygon-go-type": {
 12429                              "name": "IMilliseconds",
 12430                              "path": "github.com/polygon-io/ptime"
 12431                            }
 12432                          }
 12433                        },
 12434                        "required": [
 12435                          "exchange",
 12436                          "price",
 12437                          "size",
 12438                          "timestamp"
 12439                        ],
 12440                        "type": "object",
 12441                        "x-polygon-go-type": {
 12442                          "name": "LastTradeCrypto"
 12443                        }
 12444                      },
 12445                      "request_id": {
 12446                        "description": "A request id assigned by the server.",
 12447                        "type": "string"
 12448                      },
 12449                      "status": {
 12450                        "description": "The status of this request's response.",
 12451                        "type": "string"
 12452                      },
 12453                      "symbol": {
 12454                        "description": "The symbol pair that was evaluated from the request.",
 12455                        "type": "string"
 12456                      }
 12457                    },
 12458                    "required": [
 12459                      "status",
 12460                      "request_id",
 12461                      "symbol"
 12462                    ],
 12463                    "type": "object"
 12464                  }
 12465                },
 12466                "text/csv": {
 12467                  "example": "conditions,exchange,price,size,timestamp\n1,4,16835.42,0.006909,1605560885027\n",
 12468                  "schema": {
 12469                    "type": "string"
 12470                  }
 12471                }
 12472              },
 12473              "description": "The last tick for this currency pair."
 12474            },
 12475            "default": {
 12476              "description": "Unexpected error"
 12477            }
 12478          },
 12479          "summary": "Last Trade for a Crypto Pair",
 12480          "tags": [
 12481            "crypto:last:trade"
 12482          ],
 12483          "x-polygon-entitlement-data-type": {
 12484            "description": "Trade data",
 12485            "name": "trades"
 12486          },
 12487          "x-polygon-entitlement-market-type": {
 12488            "description": "Crypto data",
 12489            "name": "crypto"
 12490          }
 12491        }
 12492      },
 12493      "/v1/last_quote/currencies/{from}/{to}": {
 12494        "get": {
 12495          "description": "Get the last quote tick for a forex currency pair.",
 12496          "operationId": "LastQuoteCurrencies",
 12497          "parameters": [
 12498            {
 12499              "description": "The \"from\" symbol of the pair.",
 12500              "example": "AUD",
 12501              "in": "path",
 12502              "name": "from",
 12503              "required": true,
 12504              "schema": {
 12505                "type": "string"
 12506              }
 12507            },
 12508            {
 12509              "description": "The \"to\" symbol of the pair.",
 12510              "example": "USD",
 12511              "in": "path",
 12512              "name": "to",
 12513              "required": true,
 12514              "schema": {
 12515                "type": "string"
 12516              }
 12517            }
 12518          ],
 12519          "responses": {
 12520            "200": {
 12521              "content": {
 12522                "application/json": {
 12523                  "example": {
 12524                    "last": {
 12525                      "ask": 0.73124,
 12526                      "bid": 0.73122,
 12527                      "exchange": 48,
 12528                      "timestamp": 1605557756000
 12529                    },
 12530                    "request_id": "a73a29dbcab4613eeaf48583d3baacf0",
 12531                    "status": "success",
 12532                    "symbol": "AUD/USD"
 12533                  },
 12534                  "schema": {
 12535                    "properties": {
 12536                      "last": {
 12537                        "properties": {
 12538                          "ask": {
 12539                            "description": "The ask price.",
 12540                            "format": "double",
 12541                            "type": "number"
 12542                          },
 12543                          "bid": {
 12544                            "description": "The bid price.",
 12545                            "format": "double",
 12546                            "type": "number"
 12547                          },
 12548                          "exchange": {
 12549                            "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/forex/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 12550                            "type": "integer"
 12551                          },
 12552                          "timestamp": {
 12553                            "description": "The Unix millisecond timestamp.",
 12554                            "type": "integer",
 12555                            "x-polygon-go-type": {
 12556                              "name": "IMilliseconds",
 12557                              "path": "github.com/polygon-io/ptime"
 12558                            }
 12559                          }
 12560                        },
 12561                        "required": [
 12562                          "ask",
 12563                          "bid",
 12564                          "exchange",
 12565                          "timestamp"
 12566                        ],
 12567                        "type": "object",
 12568                        "x-polygon-go-type": {
 12569                          "name": "LastQuoteCurrencies"
 12570                        }
 12571                      },
 12572                      "request_id": {
 12573                        "description": "A request id assigned by the server.",
 12574                        "type": "string"
 12575                      },
 12576                      "status": {
 12577                        "description": "The status of this request's response.",
 12578                        "type": "string"
 12579                      },
 12580                      "symbol": {
 12581                        "description": "The symbol pair that was evaluated from the request.",
 12582                        "type": "string"
 12583                      }
 12584                    },
 12585                    "required": [
 12586                      "status",
 12587                      "request_id",
 12588                      "symbol"
 12589                    ],
 12590                    "type": "object"
 12591                  }
 12592                },
 12593                "text/csv": {
 12594                  "example": "ask,bid,exchange,timestamp\n0.73124,0.73122,48,1605557756000\n",
 12595                  "schema": {
 12596                    "type": "string"
 12597                  }
 12598                }
 12599              },
 12600              "description": "The last quote tick for this currency pair."
 12601            },
 12602            "default": {
 12603              "description": "Unexpected error"
 12604            }
 12605          },
 12606          "summary": "Last Quote for a Currency Pair",
 12607          "tags": [
 12608            "fx:last:quote"
 12609          ],
 12610          "x-polygon-entitlement-data-type": {
 12611            "description": "NBBO data",
 12612            "name": "nbbo"
 12613          },
 12614          "x-polygon-entitlement-market-type": {
 12615            "description": "Forex data",
 12616            "name": "fx"
 12617          }
 12618        }
 12619      },
 12620      "/v1/marketstatus/now": {
 12621        "get": {
 12622          "description": "Get the current trading status of the exchanges and overall financial markets.",
 12623          "operationId": "GetMarketStatus",
 12624          "responses": {
 12625            "200": {
 12626              "content": {
 12627                "application/json": {
 12628                  "example": {
 12629                    "afterHours": true,
 12630                    "currencies": {
 12631                      "crypto": "open",
 12632                      "fx": "open"
 12633                    },
 12634                    "earlyHours": false,
 12635                    "exchanges": {
 12636                      "nasdaq": "extended-hours",
 12637                      "nyse": "extended-hours",
 12638                      "otc": "closed"
 12639                    },
 12640                    "market": "extended-hours",
 12641                    "serverTime": "2020-11-10T17:37:37-05:00"
 12642                  },
 12643                  "schema": {
 12644                    "properties": {
 12645                      "afterHours": {
 12646                        "description": "Whether or not the market is in post-market hours.",
 12647                        "type": "boolean",
 12648                        "x-polygon-go-type": {
 12649                          "name": "*bool"
 12650                        }
 12651                      },
 12652                      "currencies": {
 12653                        "properties": {
 12654                          "crypto": {
 12655                            "description": "The status of the crypto market.",
 12656                            "type": "string"
 12657                          },
 12658                          "fx": {
 12659                            "description": "The status of the forex market.",
 12660                            "type": "string"
 12661                          }
 12662                        },
 12663                        "type": "object",
 12664                        "x-polygon-go-type": {
 12665                          "name": "Currencies"
 12666                        }
 12667                      },
 12668                      "earlyHours": {
 12669                        "description": "Whether or not the market is in pre-market hours.",
 12670                        "type": "boolean",
 12671                        "x-polygon-go-type": {
 12672                          "name": "*bool"
 12673                        }
 12674                      },
 12675                      "exchanges": {
 12676                        "properties": {
 12677                          "nasdaq": {
 12678                            "description": "The status of the Nasdaq market.",
 12679                            "type": "string"
 12680                          },
 12681                          "nyse": {
 12682                            "description": "The status of the NYSE market.",
 12683                            "type": "string"
 12684                          },
 12685                          "otc": {
 12686                            "description": "The status of the OTC market.",
 12687                            "type": "string"
 12688                          }
 12689                        },
 12690                        "type": "object",
 12691                        "x-polygon-go-type": {
 12692                          "name": "Exchanges"
 12693                        }
 12694                      },
 12695                      "indicesGroups": {
 12696                        "properties": {
 12697                          "cccy": {
 12698                            "description": "The status of Cboe Streaming Market Indices Cryptocurrency (\"CCCY\") indices trading hours.",
 12699                            "type": "string"
 12700                          },
 12701                          "dow_jones": {
 12702                            "description": "The status of Dow Jones indices trading hours",
 12703                            "type": "string"
 12704                          },
 12705                          "ftse_russell": {
 12706                            "description": "The status of Financial Times Stock Exchange Group (\"FTSE\") Russell indices trading hours.",
 12707                            "type": "string"
 12708                          },
 12709                          "msci": {
 12710                            "description": "The status of Morgan Stanley Capital International (\"MSCI\") indices trading hours.",
 12711                            "type": "string"
 12712                          },
 12713                          "mstar": {
 12714                            "description": "The status of Morningstar (\"MSTAR\") indices trading hours.",
 12715                            "type": "string"
 12716                          },
 12717                          "mstarc": {
 12718                            "description": "The status of Morningstar Customer (\"MSTARC\") indices trading hours."
 12719                          },
 12720                          "nasdaq": {
 12721                            "description": "The status of National Association of Securities Dealers Automated Quotations (\"Nasdaq\") indices trading hours.",
 12722                            "type": "string"
 12723                          },
 12724                          "s_and_p": {
 12725                            "description": "The status of Standard \u0026 Poors's (\"S\u0026P\") indices trading hours.",
 12726                            "type": "string"
 12727                          },
 12728                          "societe_generale": {
 12729                            "description": "The status of Societe Generale indices trading hours.",
 12730                            "type": "string"
 12731                          }
 12732                        },
 12733                        "type": "object",
 12734                        "x-polygon-go-type": {
 12735                          "name": "IndicesGroups"
 12736                        }
 12737                      },
 12738                      "market": {
 12739                        "description": "The status of the market as a whole.",
 12740                        "type": "string"
 12741                      },
 12742                      "serverTime": {
 12743                        "description": "The current time of the server, returned as a date-time in RFC3339 format.",
 12744                        "type": "string"
 12745                      }
 12746                    },
 12747                    "type": "object"
 12748                  }
 12749                }
 12750              },
 12751              "description": "OK"
 12752            }
 12753          },
 12754          "summary": "Market Status",
 12755          "tags": [
 12756            "reference:stocks:market"
 12757          ],
 12758          "x-polygon-entitlement-data-type": {
 12759            "description": "Reference data",
 12760            "name": "reference"
 12761          }
 12762        }
 12763      },
 12764      "/v1/marketstatus/upcoming": {
 12765        "get": {
 12766          "description": "Get upcoming market holidays and their open/close times.",
 12767          "operationId": "GetMarketHolidays",
 12768          "responses": {
 12769            "200": {
 12770              "content": {
 12771                "application/json": {
 12772                  "example": [
 12773                    {
 12774                      "date": "2020-11-26",
 12775                      "exchange": "NYSE",
 12776                      "name": "Thanksgiving",
 12777                      "status": "closed"
 12778                    },
 12779                    {
 12780                      "date": "2020-11-26",
 12781                      "exchange": "NASDAQ",
 12782                      "name": "Thanksgiving",
 12783                      "status": "closed"
 12784                    },
 12785                    {
 12786                      "date": "2020-11-26",
 12787                      "exchange": "OTC",
 12788                      "name": "Thanksgiving",
 12789                      "status": "closed"
 12790                    },
 12791                    {
 12792                      "close": "2020-11-27T18:00:00.000Z",
 12793                      "date": "2020-11-27",
 12794                      "exchange": "NASDAQ",
 12795                      "name": "Thanksgiving",
 12796                      "open": "2020-11-27T14:30:00.000Z",
 12797                      "status": "early-close"
 12798                    },
 12799                    {
 12800                      "close": "2020-11-27T18:00:00.000Z",
 12801                      "date": "2020-11-27",
 12802                      "exchange": "NYSE",
 12803                      "name": "Thanksgiving",
 12804                      "open": "2020-11-27T14:30:00.000Z",
 12805                      "status": "early-close"
 12806                    }
 12807                  ],
 12808                  "schema": {
 12809                    "items": {
 12810                      "properties": {
 12811                        "close": {
 12812                          "description": "The market close time on the holiday (if it's not closed).",
 12813                          "type": "string"
 12814                        },
 12815                        "date": {
 12816                          "description": "The date of the holiday.",
 12817                          "type": "string"
 12818                        },
 12819                        "exchange": {
 12820                          "description": "Which market the record is for.",
 12821                          "type": "string"
 12822                        },
 12823                        "name": {
 12824                          "description": "The name of the holiday.",
 12825                          "type": "string"
 12826                        },
 12827                        "open": {
 12828                          "description": "The market open time on the holiday (if it's not closed).",
 12829                          "type": "string"
 12830                        },
 12831                        "status": {
 12832                          "description": "The status of the market on the holiday.",
 12833                          "type": "string"
 12834                        }
 12835                      },
 12836                      "type": "object",
 12837                      "x-polygon-go-type": {
 12838                        "name": "MarketHoliday"
 12839                      }
 12840                    },
 12841                    "type": "array"
 12842                  }
 12843                }
 12844              },
 12845              "description": "OK"
 12846            }
 12847          },
 12848          "summary": "Market Holidays",
 12849          "tags": [
 12850            "reference:stocks:market"
 12851          ],
 12852          "x-polygon-entitlement-data-type": {
 12853            "description": "Reference data",
 12854            "name": "reference"
 12855          }
 12856        }
 12857      },
 12858      "/v1/open-close/crypto/{from}/{to}/{date}": {
 12859        "get": {
 12860          "description": "Get the open, close prices of a cryptocurrency symbol on a certain day.\n",
 12861          "parameters": [
 12862            {
 12863              "description": "The \"from\" symbol of the pair.",
 12864              "example": "BTC",
 12865              "in": "path",
 12866              "name": "from",
 12867              "required": true,
 12868              "schema": {
 12869                "type": "string"
 12870              }
 12871            },
 12872            {
 12873              "description": "The \"to\" symbol of the pair.",
 12874              "example": "USD",
 12875              "in": "path",
 12876              "name": "to",
 12877              "required": true,
 12878              "schema": {
 12879                "type": "string"
 12880              }
 12881            },
 12882            {
 12883              "description": "The date of the requested open/close in the format YYYY-MM-DD.",
 12884              "example": "2023-01-09",
 12885              "in": "path",
 12886              "name": "date",
 12887              "required": true,
 12888              "schema": {
 12889                "format": "date",
 12890                "type": "string"
 12891              }
 12892            },
 12893            {
 12894              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 12895              "example": true,
 12896              "in": "query",
 12897              "name": "adjusted",
 12898              "schema": {
 12899                "type": "boolean"
 12900              }
 12901            }
 12902          ],
 12903          "responses": {
 12904            "200": {
 12905              "content": {
 12906                "application/json": {
 12907                  "example": {
 12908                    "close": 11050.64,
 12909                    "closingTrades": [
 12910                      {
 12911                        "c": [
 12912                          2
 12913                        ],
 12914                        "i": "973323250",
 12915                        "p": 11050.64,
 12916                        "s": 0.006128,
 12917                        "t": 1602287999795,
 12918                        "x": 4
 12919                      },
 12920                      {
 12921                        "c": [
 12922                          1
 12923                        ],
 12924                        "i": "105717893",
 12925                        "p": 11049.4,
 12926                        "s": 0.014,
 12927                        "t": 1602287999659,
 12928                        "x": 17
 12929                      }
 12930                    ],
 12931                    "day": "2020-10-09T00:00:00.000Z",
 12932                    "isUTC": true,
 12933                    "open": 10932.44,
 12934                    "openTrades": [
 12935                      {
 12936                        "c": [
 12937                          2
 12938                        ],
 12939                        "i": "511235746",
 12940                        "p": 10932.44,
 12941                        "s": 0.002,
 12942                        "t": 1602201600056,
 12943                        "x": 1
 12944                      },
 12945                      {
 12946                        "c": [
 12947                          2
 12948                        ],
 12949                        "i": "511235751",
 12950                        "p": 10923.76,
 12951                        "s": 0.02,
 12952                        "t": 1602201600141,
 12953                        "x": 4
 12954                      }
 12955                    ],
 12956                    "symbol": "BTC-USD"
 12957                  },
 12958                  "schema": {
 12959                    "properties": {
 12960                      "close": {
 12961                        "description": "The close price for the symbol in the given time period.",
 12962                        "format": "double",
 12963                        "type": "number"
 12964                      },
 12965                      "closingTrades": {
 12966                        "items": {
 12967                          "properties": {
 12968                            "c": {
 12969                              "description": "A list of condition codes.\n",
 12970                              "items": {
 12971                                "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
 12972                                "type": "integer"
 12973                              },
 12974                              "type": "array"
 12975                            },
 12976                            "i": {
 12977                              "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
 12978                              "type": "string"
 12979                            },
 12980                            "p": {
 12981                              "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
 12982                              "format": "double",
 12983                              "type": "number"
 12984                            },
 12985                            "s": {
 12986                              "description": "The size of a trade (also known as volume).\n",
 12987                              "format": "double",
 12988                              "type": "number"
 12989                            },
 12990                            "t": {
 12991                              "description": "The Unix Msec timestamp for the start of the aggregate window.",
 12992                              "type": "integer"
 12993                            },
 12994                            "x": {
 12995                              "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
 12996                              "type": "integer"
 12997                            }
 12998                          },
 12999                          "required": [
 13000                            "p",
 13001                            "s",
 13002                            "x",
 13003                            "c",
 13004                            "t",
 13005                            "i"
 13006                          ],
 13007                          "type": "object"
 13008                        },
 13009                        "type": "array"
 13010                      },
 13011                      "day": {
 13012                        "description": "The date requested.",
 13013                        "format": "date",
 13014                        "type": "string"
 13015                      },
 13016                      "isUTC": {
 13017                        "description": "Whether or not the timestamps are in UTC timezone.",
 13018                        "type": "boolean"
 13019                      },
 13020                      "open": {
 13021                        "description": "The open price for the symbol in the given time period.",
 13022                        "format": "double",
 13023                        "type": "number"
 13024                      },
 13025                      "openTrades": {
 13026                        "items": {
 13027                          "properties": {
 13028                            "c": {
 13029                              "description": "A list of condition codes.\n",
 13030                              "items": {
 13031                                "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
 13032                                "type": "integer"
 13033                              },
 13034                              "type": "array"
 13035                            },
 13036                            "i": {
 13037                              "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
 13038                              "type": "string"
 13039                            },
 13040                            "p": {
 13041                              "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
 13042                              "format": "double",
 13043                              "type": "number"
 13044                            },
 13045                            "s": {
 13046                              "description": "The size of a trade (also known as volume).\n",
 13047                              "format": "double",
 13048                              "type": "number"
 13049                            },
 13050                            "t": {
 13051                              "description": "The Unix Msec timestamp for the start of the aggregate window.",
 13052                              "type": "integer"
 13053                            },
 13054                            "x": {
 13055                              "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
 13056                              "type": "integer"
 13057                            }
 13058                          },
 13059                          "required": [
 13060                            "p",
 13061                            "s",
 13062                            "x",
 13063                            "c",
 13064                            "t",
 13065                            "i"
 13066                          ],
 13067                          "type": "object"
 13068                        },
 13069                        "type": "array"
 13070                      },
 13071                      "symbol": {
 13072                        "description": "The symbol pair that was evaluated from the request.",
 13073                        "type": "string"
 13074                      }
 13075                    },
 13076                    "required": [
 13077                      "symbol",
 13078                      "isUTC",
 13079                      "day",
 13080                      "open",
 13081                      "close",
 13082                      "openTrades",
 13083                      "closingTrades"
 13084                    ],
 13085                    "type": "object"
 13086                  }
 13087                },
 13088                "text/csv": {
 13089                  "example": "isUTC,day,open,close,openTrades,closingTrades\ntrue,2020-10-09,10932.44,11050.64,\"[{\\\"s\\\":0.002,\\\"p\\\":10932.44,\\\"x\\\":1,\\\"t\\\":1602201600056,\\\"c\\\":[2],\\\"i\\\":\\\"511235746\\\"},{\\\"s\\\":0.02,\\\"p\\\":10923.76,\\\"x\\\":4,\\\"t\\\":1602201600141,\\\"c\\\":[2],\\\"i\\\":\\\"511235751\\\"}]\",\"[{\\\"s\\\":0.006128,\\\"p\\\":11050.64,\\\"x\\\":4,\\\"t\\\":1602287999795,\\\"c\\\":[2],\\\"i\\\":\\\"973323250\\\"},{\\\"s\\\":0.014,\\\"p\\\":11049.4,\\\"x\\\":17,\\\"t\\\":1602287999659,\\\"c\\\":[1],\\\"i\\\":\\\"105717893\\\"}]\"\n",
 13090                  "schema": {
 13091                    "type": "string"
 13092                  }
 13093                }
 13094              },
 13095              "description": "The open/close of this symbol."
 13096            },
 13097            "default": {
 13098              "description": "Unexpected error"
 13099            }
 13100          },
 13101          "summary": "Daily Open/Close",
 13102          "tags": [
 13103            "crypto:open-close"
 13104          ],
 13105          "x-polygon-entitlement-data-type": {
 13106            "description": "Aggregate data",
 13107            "name": "aggregates"
 13108          },
 13109          "x-polygon-entitlement-market-type": {
 13110            "description": "Crypto data",
 13111            "name": "crypto"
 13112          }
 13113        }
 13114      },
 13115      "/v1/open-close/{indicesTicker}/{date}": {
 13116        "get": {
 13117          "description": "Get the open, close and afterhours values of a index symbol on a certain date.\n",
 13118          "parameters": [
 13119            {
 13120              "description": "The ticker symbol of Index.",
 13121              "example": "I:NDX",
 13122              "in": "path",
 13123              "name": "indicesTicker",
 13124              "required": true,
 13125              "schema": {
 13126                "type": "string"
 13127              }
 13128            },
 13129            {
 13130              "description": "The date of the requested open/close in the format YYYY-MM-DD.",
 13131              "example": "2023-03-10",
 13132              "in": "path",
 13133              "name": "date",
 13134              "required": true,
 13135              "schema": {
 13136                "type": "string"
 13137              }
 13138            }
 13139          ],
 13140          "responses": {
 13141            "200": {
 13142              "content": {
 13143                "application/json": {
 13144                  "example": {
 13145                    "afterHours": 11830.43006295237,
 13146                    "close": 11830.28178808306,
 13147                    "from": "2023-03-10T00:00:00.000Z",
 13148                    "high": 12069.62262033557,
 13149                    "low": 11789.85923449393,
 13150                    "open": 12001.69552583921,
 13151                    "preMarket": 12001.69552583921,
 13152                    "status": "OK",
 13153                    "symbol": "I:NDX"
 13154                  },
 13155                  "schema": {
 13156                    "properties": {
 13157                      "afterHours": {
 13158                        "description": "The close value of the ticker symbol in after hours trading.",
 13159                        "format": "double",
 13160                        "type": "number"
 13161                      },
 13162                      "close": {
 13163                        "description": "The close value for the symbol in the given time period.",
 13164                        "format": "double",
 13165                        "type": "number"
 13166                      },
 13167                      "from": {
 13168                        "description": "The requested date.",
 13169                        "format": "date",
 13170                        "type": "string"
 13171                      },
 13172                      "high": {
 13173                        "description": "The highest value for the symbol in the given time period.",
 13174                        "format": "double",
 13175                        "type": "number"
 13176                      },
 13177                      "low": {
 13178                        "description": "The lowest value for the symbol in the given time period.",
 13179                        "format": "double",
 13180                        "type": "number"
 13181                      },
 13182                      "open": {
 13183                        "description": "The open value for the symbol in the given time period.",
 13184                        "format": "double",
 13185                        "type": "number"
 13186                      },
 13187                      "preMarket": {
 13188                        "description": "The open value of the ticker symbol in pre-market trading.",
 13189                        "type": "integer"
 13190                      },
 13191                      "status": {
 13192                        "description": "The status of this request's response.",
 13193                        "type": "string"
 13194                      },
 13195                      "symbol": {
 13196                        "description": "The exchange symbol that this item is traded under.",
 13197                        "type": "string"
 13198                      }
 13199                    },
 13200                    "required": [
 13201                      "status",
 13202                      "from",
 13203                      "symbol",
 13204                      "open",
 13205                      "high",
 13206                      "low",
 13207                      "close"
 13208                    ],
 13209                    "type": "object"
 13210                  }
 13211                },
 13212                "text/csv": {
 13213                  "example": "from,open,high,low,close,afterHours,preMarket\n2023-01-10,12001.69552583921,12069.62262033557,11789.85923449393,11830.28178808306,26122646,11830.43006295237,12001.69552583921\n",
 13214                  "schema": {
 13215                    "type": "string"
 13216                  }
 13217                }
 13218              },
 13219              "description": "The open/close of this stock symbol."
 13220            },
 13221            "default": {
 13222              "description": "Unexpected error"
 13223            }
 13224          },
 13225          "summary": "Daily Open/Close",
 13226          "tags": [
 13227            "stocks:open-close"
 13228          ],
 13229          "x-polygon-entitlement-allowed-limited-tickers": true,
 13230          "x-polygon-entitlement-data-type": {
 13231            "description": "Aggregate data",
 13232            "name": "aggregates"
 13233          },
 13234          "x-polygon-entitlement-market-type": {
 13235            "description": "Indices data",
 13236            "name": "indices"
 13237          }
 13238        }
 13239      },
 13240      "/v1/open-close/{optionsTicker}/{date}": {
 13241        "get": {
 13242          "description": "Get the open, close and afterhours prices of an options contract on a certain date.\n",
 13243          "parameters": [
 13244            {
 13245              "description": "The ticker symbol of the options contract.",
 13246              "example": "O:SPY251219C00650000",
 13247              "in": "path",
 13248              "name": "optionsTicker",
 13249              "required": true,
 13250              "schema": {
 13251                "type": "string"
 13252              }
 13253            },
 13254            {
 13255              "description": "The date of the requested open/close in the format YYYY-MM-DD.",
 13256              "example": "2023-01-09",
 13257              "in": "path",
 13258              "name": "date",
 13259              "required": true,
 13260              "schema": {
 13261                "format": "date",
 13262                "type": "string"
 13263              }
 13264            },
 13265            {
 13266              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 13267              "example": true,
 13268              "in": "query",
 13269              "name": "adjusted",
 13270              "schema": {
 13271                "type": "boolean"
 13272              }
 13273            }
 13274          ],
 13275          "responses": {
 13276            "200": {
 13277              "content": {
 13278                "application/json": {
 13279                  "example": {
 13280                    "afterHours": 26.35,
 13281                    "close": 26.35,
 13282                    "from": "2023-01-09",
 13283                    "high": 26.35,
 13284                    "low": 25,
 13285                    "open": 25,
 13286                    "preMarket": 25,
 13287                    "status": "OK",
 13288                    "symbol": "O:TSLA210903C00700000",
 13289                    "volume": 2
 13290                  },
 13291                  "schema": {
 13292                    "properties": {
 13293                      "afterHours": {
 13294                        "description": "The close price of the ticker symbol in after hours trading.",
 13295                        "format": "double",
 13296                        "type": "number"
 13297                      },
 13298                      "close": {
 13299                        "description": "The close price for the symbol in the given time period.",
 13300                        "format": "double",
 13301                        "type": "number"
 13302                      },
 13303                      "from": {
 13304                        "description": "The requested date.",
 13305                        "format": "date",
 13306                        "type": "string"
 13307                      },
 13308                      "high": {
 13309                        "description": "The highest price for the symbol in the given time period.",
 13310                        "format": "double",
 13311                        "type": "number"
 13312                      },
 13313                      "low": {
 13314                        "description": "The lowest price for the symbol in the given time period.",
 13315                        "format": "double",
 13316                        "type": "number"
 13317                      },
 13318                      "open": {
 13319                        "description": "The open price for the symbol in the given time period.",
 13320                        "format": "double",
 13321                        "type": "number"
 13322                      },
 13323                      "otc": {
 13324                        "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 13325                        "type": "boolean"
 13326                      },
 13327                      "preMarket": {
 13328                        "description": "The open price of the ticker symbol in pre-market trading.",
 13329                        "type": "integer"
 13330                      },
 13331                      "status": {
 13332                        "description": "The status of this request's response.",
 13333                        "type": "string"
 13334                      },
 13335                      "symbol": {
 13336                        "description": "The exchange symbol that this item is traded under.",
 13337                        "type": "string"
 13338                      },
 13339                      "volume": {
 13340                        "description": "The trading volume of the symbol in the given time period.",
 13341                        "format": "double",
 13342                        "type": "number"
 13343                      }
 13344                    },
 13345                    "required": [
 13346                      "status",
 13347                      "from",
 13348                      "symbol",
 13349                      "open",
 13350                      "high",
 13351                      "low",
 13352                      "close",
 13353                      "volume"
 13354                    ],
 13355                    "type": "object"
 13356                  }
 13357                },
 13358                "text/csv": {
 13359                  "example": "from,open,high,low,close,volume,afterHours,preMarket\n2023-01-09,25,26.35,25,26.35,2,26.35,25\n",
 13360                  "schema": {
 13361                    "type": "string"
 13362                  }
 13363                }
 13364              },
 13365              "description": "The open/close of this stock symbol."
 13366            },
 13367            "default": {
 13368              "description": "Unexpected error"
 13369            }
 13370          },
 13371          "summary": "Daily Open/Close",
 13372          "tags": [
 13373            "options:open-close"
 13374          ],
 13375          "x-polygon-entitlement-data-type": {
 13376            "description": "Aggregate data",
 13377            "name": "aggregates"
 13378          },
 13379          "x-polygon-entitlement-market-type": {
 13380            "description": "Options data",
 13381            "name": "options"
 13382          }
 13383        }
 13384      },
 13385      "/v1/open-close/{stocksTicker}/{date}": {
 13386        "get": {
 13387          "description": "Get the open, close and afterhours prices of a stock symbol on a certain date.\n",
 13388          "parameters": [
 13389            {
 13390              "description": "Specify a case-sensitive ticker symbol. For example, AAPL represents Apple Inc.",
 13391              "example": "AAPL",
 13392              "in": "path",
 13393              "name": "stocksTicker",
 13394              "required": true,
 13395              "schema": {
 13396                "type": "string"
 13397              }
 13398            },
 13399            {
 13400              "description": "The date of the requested open/close in the format YYYY-MM-DD.",
 13401              "example": "2023-01-09",
 13402              "in": "path",
 13403              "name": "date",
 13404              "required": true,
 13405              "schema": {
 13406                "format": "date",
 13407                "type": "string"
 13408              }
 13409            },
 13410            {
 13411              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 13412              "example": true,
 13413              "in": "query",
 13414              "name": "adjusted",
 13415              "schema": {
 13416                "type": "boolean"
 13417              }
 13418            }
 13419          ],
 13420          "responses": {
 13421            "200": {
 13422              "content": {
 13423                "application/json": {
 13424                  "example": {
 13425                    "afterHours": 322.1,
 13426                    "close": 325.12,
 13427                    "from": "2023-01-09",
 13428                    "high": 326.2,
 13429                    "low": 322.3,
 13430                    "open": 324.66,
 13431                    "preMarket": 324.5,
 13432                    "status": "OK",
 13433                    "symbol": "AAPL",
 13434                    "volume": 26122646
 13435                  },
 13436                  "schema": {
 13437                    "properties": {
 13438                      "afterHours": {
 13439                        "description": "The close price of the ticker symbol in after hours trading.",
 13440                        "format": "double",
 13441                        "type": "number"
 13442                      },
 13443                      "close": {
 13444                        "description": "The close price for the symbol in the given time period.",
 13445                        "format": "double",
 13446                        "type": "number"
 13447                      },
 13448                      "from": {
 13449                        "description": "The requested date.",
 13450                        "format": "date",
 13451                        "type": "string"
 13452                      },
 13453                      "high": {
 13454                        "description": "The highest price for the symbol in the given time period.",
 13455                        "format": "double",
 13456                        "type": "number"
 13457                      },
 13458                      "low": {
 13459                        "description": "The lowest price for the symbol in the given time period.",
 13460                        "format": "double",
 13461                        "type": "number"
 13462                      },
 13463                      "open": {
 13464                        "description": "The open price for the symbol in the given time period.",
 13465                        "format": "double",
 13466                        "type": "number"
 13467                      },
 13468                      "otc": {
 13469                        "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 13470                        "type": "boolean"
 13471                      },
 13472                      "preMarket": {
 13473                        "description": "The open price of the ticker symbol in pre-market trading.",
 13474                        "type": "integer"
 13475                      },
 13476                      "status": {
 13477                        "description": "The status of this request's response.",
 13478                        "type": "string"
 13479                      },
 13480                      "symbol": {
 13481                        "description": "The exchange symbol that this item is traded under.",
 13482                        "type": "string"
 13483                      },
 13484                      "volume": {
 13485                        "description": "The trading volume of the symbol in the given time period.",
 13486                        "format": "double",
 13487                        "type": "number"
 13488                      }
 13489                    },
 13490                    "required": [
 13491                      "status",
 13492                      "from",
 13493                      "symbol",
 13494                      "open",
 13495                      "high",
 13496                      "low",
 13497                      "close",
 13498                      "volume"
 13499                    ],
 13500                    "type": "object"
 13501                  }
 13502                },
 13503                "text/csv": {
 13504                  "example": "from,open,high,low,close,volume,afterHours,preMarket\n2023-01-09,324.66,326.2,322.3,325.12,26122646,322.1,324.5\n",
 13505                  "schema": {
 13506                    "type": "string"
 13507                  }
 13508                }
 13509              },
 13510              "description": "The open/close of this stock symbol."
 13511            },
 13512            "default": {
 13513              "description": "Unexpected error"
 13514            }
 13515          },
 13516          "summary": "Daily Open/Close",
 13517          "tags": [
 13518            "stocks:open-close"
 13519          ],
 13520          "x-polygon-entitlement-data-type": {
 13521            "description": "Aggregate data",
 13522            "name": "aggregates"
 13523          },
 13524          "x-polygon-entitlement-market-type": {
 13525            "description": "Stocks data",
 13526            "name": "stocks"
 13527          }
 13528        }
 13529      },
 13530      "/v1/reference/sec/filings": {
 13531        "get": {
 13532          "description": "List filings",
 13533          "operationId": "ListFilings",
 13534          "parameters": [
 13535            {
 13536              "description": "Query by filing type.",
 13537              "in": "query",
 13538              "name": "type",
 13539              "schema": {
 13540                "description": "Filing Type",
 13541                "enum": [
 13542                  "10-K",
 13543                  "10-Q"
 13544                ],
 13545                "type": "string"
 13546              }
 13547            },
 13548            {
 13549              "description": "Query by filing date.",
 13550              "in": "query",
 13551              "name": "filing_date",
 13552              "schema": {
 13553                "description": "The date when the filing was filed in YYYYMMDD format.",
 13554                "example": "20210101",
 13555                "pattern": "^[0-9]{8}$",
 13556                "type": "string"
 13557              },
 13558              "x-polygon-filter-field": {
 13559                "range": true
 13560              }
 13561            },
 13562            {
 13563              "description": "Query by period of report.",
 13564              "in": "query",
 13565              "name": "period_of_report_date",
 13566              "schema": {
 13567                "description": "The period of report for the filing in YYYYMMDD format.",
 13568                "example": "20210101",
 13569                "pattern": "^[0-9]{8}$",
 13570                "type": "string"
 13571              },
 13572              "x-polygon-filter-field": {
 13573                "range": true
 13574              }
 13575            },
 13576            {
 13577              "description": "If true, query only for filings with an XBRL instance file.\nIf false, query for filings without an XBRL instance file.\nIf this parameter is not provided, query for filings with or without XBRL instance files.",
 13578              "in": "query",
 13579              "name": "has_xbrl",
 13580              "schema": {
 13581                "nullable": true,
 13582                "type": "boolean"
 13583              },
 13584              "x-polygon-go-id": "HasXBRL"
 13585            },
 13586            {
 13587              "description": "Query by entity company name.",
 13588              "in": "query",
 13589              "name": "entities.company_data.name",
 13590              "schema": {
 13591                "example": "Facebook Inc",
 13592                "type": "string"
 13593              },
 13594              "x-polygon-filter-field": {
 13595                "search": true
 13596              }
 13597            },
 13598            {
 13599              "description": "Query by entity company CIK.",
 13600              "in": "query",
 13601              "name": "entities.company_data.cik",
 13602              "schema": {
 13603                "description": "Central Index Key (CIK) Number",
 13604                "type": "string"
 13605              }
 13606            },
 13607            {
 13608              "description": "Query by entity company ticker.",
 13609              "in": "query",
 13610              "name": "entities.company_data.ticker",
 13611              "schema": {
 13612                "description": "Ticker",
 13613                "type": "string"
 13614              }
 13615            },
 13616            {
 13617              "description": "Query by entity company SIC.",
 13618              "in": "query",
 13619              "name": "entities.company_data.sic",
 13620              "schema": {
 13621                "description": "Standard Industrial Classification (SIC)",
 13622                "type": "string"
 13623              }
 13624            },
 13625            {
 13626              "description": "Search by filing_date.",
 13627              "in": "query",
 13628              "name": "filing_date.gte",
 13629              "schema": {
 13630                "description": "The date when the filing was filed in YYYYMMDD format.",
 13631                "example": "20210101",
 13632                "pattern": "^[0-9]{8}$",
 13633                "type": "string"
 13634              }
 13635            },
 13636            {
 13637              "description": "Search by filing_date.",
 13638              "in": "query",
 13639              "name": "filing_date.gt",
 13640              "schema": {
 13641                "description": "The date when the filing was filed in YYYYMMDD format.",
 13642                "example": "20210101",
 13643                "pattern": "^[0-9]{8}$",
 13644                "type": "string"
 13645              }
 13646            },
 13647            {
 13648              "description": "Search by filing_date.",
 13649              "in": "query",
 13650              "name": "filing_date.lte",
 13651              "schema": {
 13652                "description": "The date when the filing was filed in YYYYMMDD format.",
 13653                "example": "20210101",
 13654                "pattern": "^[0-9]{8}$",
 13655                "type": "string"
 13656              }
 13657            },
 13658            {
 13659              "description": "Search by filing_date.",
 13660              "in": "query",
 13661              "name": "filing_date.lt",
 13662              "schema": {
 13663                "description": "The date when the filing was filed in YYYYMMDD format.",
 13664                "example": "20210101",
 13665                "pattern": "^[0-9]{8}$",
 13666                "type": "string"
 13667              }
 13668            },
 13669            {
 13670              "description": "Search by period_of_report_date.",
 13671              "in": "query",
 13672              "name": "period_of_report_date.gte",
 13673              "schema": {
 13674                "description": "The period of report for the filing in YYYYMMDD format.",
 13675                "example": "20210101",
 13676                "pattern": "^[0-9]{8}$",
 13677                "type": "string"
 13678              }
 13679            },
 13680            {
 13681              "description": "Search by period_of_report_date.",
 13682              "in": "query",
 13683              "name": "period_of_report_date.gt",
 13684              "schema": {
 13685                "description": "The period of report for the filing in YYYYMMDD format.",
 13686                "example": "20210101",
 13687                "pattern": "^[0-9]{8}$",
 13688                "type": "string"
 13689              }
 13690            },
 13691            {
 13692              "description": "Search by period_of_report_date.",
 13693              "in": "query",
 13694              "name": "period_of_report_date.lte",
 13695              "schema": {
 13696                "description": "The period of report for the filing in YYYYMMDD format.",
 13697                "example": "20210101",
 13698                "pattern": "^[0-9]{8}$",
 13699                "type": "string"
 13700              }
 13701            },
 13702            {
 13703              "description": "Search by period_of_report_date.",
 13704              "in": "query",
 13705              "name": "period_of_report_date.lt",
 13706              "schema": {
 13707                "description": "The period of report for the filing in YYYYMMDD format.",
 13708                "example": "20210101",
 13709                "pattern": "^[0-9]{8}$",
 13710                "type": "string"
 13711              }
 13712            },
 13713            {
 13714              "description": "Search by entities.company_data.name.",
 13715              "in": "query",
 13716              "name": "entities.company_data.name.search",
 13717              "schema": {
 13718                "type": "string"
 13719              }
 13720            },
 13721            {
 13722              "description": "Order results based on the `sort` field.",
 13723              "in": "query",
 13724              "name": "order",
 13725              "schema": {
 13726                "enum": [
 13727                  "asc",
 13728                  "desc"
 13729                ],
 13730                "example": "asc",
 13731                "type": "string"
 13732              }
 13733            },
 13734            {
 13735              "description": "Limit the number of results returned, default is 10 and max is 1000.",
 13736              "in": "query",
 13737              "name": "limit",
 13738              "schema": {
 13739                "default": 10,
 13740                "example": 10,
 13741                "maximum": 1000,
 13742                "minimum": 1,
 13743                "type": "integer"
 13744              }
 13745            },
 13746            {
 13747              "description": "Sort field used for ordering.",
 13748              "in": "query",
 13749              "name": "sort",
 13750              "schema": {
 13751                "default": "filing_date",
 13752                "enum": [
 13753                  "filing_date",
 13754                  "period_of_report_date"
 13755                ],
 13756                "example": "filing_date",
 13757                "type": "string"
 13758              }
 13759            }
 13760          ],
 13761          "responses": {
 13762            "200": {
 13763              "content": {
 13764                "application/json": {
 13765                  "description": "FIXME",
 13766                  "example": {},
 13767                  "schema": {
 13768                    "properties": {
 13769                      "count": {
 13770                        "type": "integer"
 13771                      },
 13772                      "next_url": {
 13773                        "type": "string"
 13774                      },
 13775                      "request_id": {
 13776                        "type": "string"
 13777                      },
 13778                      "results": {
 13779                        "items": {
 13780                          "properties": {
 13781                            "acceptance_datetime": {
 13782                              "description": "The datetime when the filing was accepted by EDGAR in EST (format: YYYYMMDDHHMMSS)",
 13783                              "type": "string"
 13784                            },
 13785                            "accession_number": {
 13786                              "description": "Filing Accession Number",
 13787                              "type": "string"
 13788                            },
 13789                            "entities": {
 13790                              "description": "Entities related to the filing (e.g. the document filers).",
 13791                              "items": {
 13792                                "description": "A filing entity (e.g. the document filer).",
 13793                                "properties": {
 13794                                  "company_data": {
 13795                                    "properties": {
 13796                                      "cik": {
 13797                                        "description": "Central Index Key (CIK) Number",
 13798                                        "type": "string"
 13799                                      },
 13800                                      "name": {
 13801                                        "example": "Facebook Inc",
 13802                                        "type": "string"
 13803                                      },
 13804                                      "sic": {
 13805                                        "description": "Standard Industrial Classification (SIC)",
 13806                                        "type": "string"
 13807                                      },
 13808                                      "ticker": {
 13809                                        "description": "Ticker",
 13810                                        "type": "string"
 13811                                      }
 13812                                    },
 13813                                    "required": [
 13814                                      "name",
 13815                                      "cik",
 13816                                      "sic"
 13817                                    ],
 13818                                    "type": "object",
 13819                                    "x-polygon-go-type": {
 13820                                      "name": "SECCompanyData",
 13821                                      "path": "github.com/polygon-io/go-lib-models/v2/globals"
 13822                                    }
 13823                                  },
 13824                                  "relation": {
 13825                                    "description": "Relationship of this entity to the filing.",
 13826                                    "enum": [
 13827                                      "filer"
 13828                                    ],
 13829                                    "type": "string"
 13830                                  }
 13831                                },
 13832                                "required": [
 13833                                  "relation"
 13834                                ],
 13835                                "type": "object",
 13836                                "x-polygon-go-type": {
 13837                                  "name": "SECFilingEntity",
 13838                                  "path": "github.com/polygon-io/go-lib-models/v2/globals"
 13839                                }
 13840                              },
 13841                              "type": "array"
 13842                            },
 13843                            "files_count": {
 13844                              "description": "The number of files associated with the filing.",
 13845                              "format": "int64",
 13846                              "type": "integer"
 13847                            },
 13848                            "filing_date": {
 13849                              "description": "The date when the filing was filed in YYYYMMDD format.",
 13850                              "example": "20210101",
 13851                              "pattern": "^[0-9]{8}$",
 13852                              "type": "string"
 13853                            },
 13854                            "id": {
 13855                              "description": "Unique identifier for the filing.",
 13856                              "type": "string"
 13857                            },
 13858                            "period_of_report_date": {
 13859                              "description": "The period of report for the filing in YYYYMMDD format.",
 13860                              "example": "20210101",
 13861                              "pattern": "^[0-9]{8}$",
 13862                              "type": "string"
 13863                            },
 13864                            "source_url": {
 13865                              "description": "The source URL is a link back to the upstream source for this filing\ndocument.",
 13866                              "example": "https://www.sec.gov/Archives/edgar/data/0001326801/000132680119000037/0001326801-19-000037-index.html",
 13867                              "format": "uri",
 13868                              "type": "string"
 13869                            },
 13870                            "type": {
 13871                              "description": "Filing Type",
 13872                              "enum": [
 13873                                "10-K",
 13874                                "10-Q"
 13875                              ],
 13876                              "type": "string"
 13877                            }
 13878                          },
 13879                          "required": [
 13880                            "id",
 13881                            "accession_number",
 13882                            "type",
 13883                            "filing_date",
 13884                            "period_of_report_date",
 13885                            "files_count",
 13886                            "source_url",
 13887                            "download_url",
 13888                            "entities",
 13889                            "acceptance_datetime"
 13890                          ],
 13891                          "type": "object",
 13892                          "x-polygon-go-type": {
 13893                            "name": "SECFiling",
 13894                            "path": "github.com/polygon-io/go-lib-models/v2/globals"
 13895                          }
 13896                        },
 13897                        "type": "array"
 13898                      },
 13899                      "status": {
 13900                        "type": "string"
 13901                      }
 13902                    },
 13903                    "required": [
 13904                      "status",
 13905                      "request_id",
 13906                      "count",
 13907                      "results"
 13908                    ],
 13909                    "type": "object"
 13910                  }
 13911                }
 13912              },
 13913              "description": "FIXME"
 13914            }
 13915          },
 13916          "summary": "SEC Filings",
 13917          "tags": [
 13918            "reference:sec:filings"
 13919          ],
 13920          "x-polygon-entitlement-data-type": {
 13921            "description": "Reference data",
 13922            "name": "reference"
 13923          },
 13924          "x-polygon-paginate": {
 13925            "sort": {
 13926              "default": "filing_date",
 13927              "enum": [
 13928                "filing_date",
 13929                "period_of_report_date"
 13930              ]
 13931            }
 13932          }
 13933        },
 13934        "x-polygon-draft": true
 13935      },
 13936      "/v1/reference/sec/filings/{filing_id}": {
 13937        "get": {
 13938          "description": "Get filing",
 13939          "operationId": "GetFiling",
 13940          "parameters": [
 13941            {
 13942              "description": "Select by filing id.",
 13943              "in": "path",
 13944              "name": "filing_id",
 13945              "schema": {
 13946                "description": "Unique identifier for the filing.",
 13947                "type": "string"
 13948              }
 13949            }
 13950          ],
 13951          "responses": {
 13952            "200": {
 13953              "content": {
 13954                "application/json": {
 13955                  "description": "FIXME",
 13956                  "example": {},
 13957                  "schema": {
 13958                    "properties": {
 13959                      "acceptance_datetime": {
 13960                        "description": "The datetime when the filing was accepted by EDGAR in EST (format: YYYYMMDDHHMMSS)",
 13961                        "type": "string"
 13962                      },
 13963                      "accession_number": {
 13964                        "description": "Filing Accession Number",
 13965                        "type": "string"
 13966                      },
 13967                      "entities": {
 13968                        "description": "Entities related to the filing (e.g. the document filers).",
 13969                        "items": {
 13970                          "description": "A filing entity (e.g. the document filer).",
 13971                          "properties": {
 13972                            "company_data": {
 13973                              "properties": {
 13974                                "cik": {
 13975                                  "description": "Central Index Key (CIK) Number",
 13976                                  "type": "string"
 13977                                },
 13978                                "name": {
 13979                                  "example": "Facebook Inc",
 13980                                  "type": "string"
 13981                                },
 13982                                "sic": {
 13983                                  "description": "Standard Industrial Classification (SIC)",
 13984                                  "type": "string"
 13985                                },
 13986                                "ticker": {
 13987                                  "description": "Ticker",
 13988                                  "type": "string"
 13989                                }
 13990                              },
 13991                              "required": [
 13992                                "name",
 13993                                "cik",
 13994                                "sic"
 13995                              ],
 13996                              "type": "object",
 13997                              "x-polygon-go-type": {
 13998                                "name": "SECCompanyData",
 13999                                "path": "github.com/polygon-io/go-lib-models/v2/globals"
 14000                              }
 14001                            },
 14002                            "relation": {
 14003                              "description": "Relationship of this entity to the filing.",
 14004                              "enum": [
 14005                                "filer"
 14006                              ],
 14007                              "type": "string"
 14008                            }
 14009                          },
 14010                          "required": [
 14011                            "relation"
 14012                          ],
 14013                          "type": "object",
 14014                          "x-polygon-go-type": {
 14015                            "name": "SECFilingEntity",
 14016                            "path": "github.com/polygon-io/go-lib-models/v2/globals"
 14017                          }
 14018                        },
 14019                        "type": "array"
 14020                      },
 14021                      "files_count": {
 14022                        "description": "The number of files associated with the filing.",
 14023                        "format": "int64",
 14024                        "type": "integer"
 14025                      },
 14026                      "filing_date": {
 14027                        "description": "The date when the filing was filed in YYYYMMDD format.",
 14028                        "example": "20210101",
 14029                        "pattern": "^[0-9]{8}$",
 14030                        "type": "string"
 14031                      },
 14032                      "id": {
 14033                        "description": "Unique identifier for the filing.",
 14034                        "type": "string"
 14035                      },
 14036                      "period_of_report_date": {
 14037                        "description": "The period of report for the filing in YYYYMMDD format.",
 14038                        "example": "20210101",
 14039                        "pattern": "^[0-9]{8}$",
 14040                        "type": "string"
 14041                      },
 14042                      "source_url": {
 14043                        "description": "The source URL is a link back to the upstream source for this filing\ndocument.",
 14044                        "example": "https://www.sec.gov/Archives/edgar/data/0001326801/000132680119000037/0001326801-19-000037-index.html",
 14045                        "format": "uri",
 14046                        "type": "string"
 14047                      },
 14048                      "type": {
 14049                        "description": "Filing Type",
 14050                        "enum": [
 14051                          "10-K",
 14052                          "10-Q"
 14053                        ],
 14054                        "type": "string"
 14055                      }
 14056                    },
 14057                    "required": [
 14058                      "id",
 14059                      "accession_number",
 14060                      "type",
 14061                      "filing_date",
 14062                      "period_of_report_date",
 14063                      "files_count",
 14064                      "source_url",
 14065                      "download_url",
 14066                      "entities",
 14067                      "acceptance_datetime"
 14068                    ],
 14069                    "type": "object",
 14070                    "x-polygon-go-type": {
 14071                      "name": "SECFiling",
 14072                      "path": "github.com/polygon-io/go-lib-models/v2/globals"
 14073                    }
 14074                  }
 14075                }
 14076              },
 14077              "description": "FIXME"
 14078            }
 14079          },
 14080          "summary": "SEC Filing",
 14081          "tags": [
 14082            "reference:sec:filing"
 14083          ],
 14084          "x-polygon-entitlement-data-type": {
 14085            "description": "Reference data",
 14086            "name": "reference"
 14087          }
 14088        },
 14089        "x-polygon-draft": true
 14090      },
 14091      "/v1/reference/sec/filings/{filing_id}/files": {
 14092        "get": {
 14093          "description": "List filing files",
 14094          "operationId": "ListFilingFiles",
 14095          "parameters": [
 14096            {
 14097              "description": "Select by filing id.",
 14098              "in": "path",
 14099              "name": "filing_id",
 14100              "schema": {
 14101                "description": "Unique identifier for the filing.",
 14102                "type": "string"
 14103              }
 14104            },
 14105            {
 14106              "description": "Query by file sequence number.",
 14107              "in": "query",
 14108              "name": "sequence",
 14109              "schema": {
 14110                "description": "File Sequence Number",
 14111                "format": "int64",
 14112                "max": 999,
 14113                "min": 1,
 14114                "type": "integer"
 14115              },
 14116              "x-polygon-filter-field": {
 14117                "range": true
 14118              }
 14119            },
 14120            {
 14121              "description": "Query by file name.",
 14122              "in": "query",
 14123              "name": "filename",
 14124              "schema": {
 14125                "description": "The name for the file.",
 14126                "type": "string"
 14127              },
 14128              "x-polygon-filter-field": {
 14129                "range": true
 14130              }
 14131            },
 14132            {
 14133              "description": "Search by sequence.",
 14134              "in": "query",
 14135              "name": "sequence.gte",
 14136              "schema": {
 14137                "description": "File Sequence Number",
 14138                "format": "int64",
 14139                "max": 999,
 14140                "min": 1,
 14141                "type": "integer"
 14142              }
 14143            },
 14144            {
 14145              "description": "Search by sequence.",
 14146              "in": "query",
 14147              "name": "sequence.gt",
 14148              "schema": {
 14149                "description": "File Sequence Number",
 14150                "format": "int64",
 14151                "max": 999,
 14152                "min": 1,
 14153                "type": "integer"
 14154              }
 14155            },
 14156            {
 14157              "description": "Search by sequence.",
 14158              "in": "query",
 14159              "name": "sequence.lte",
 14160              "schema": {
 14161                "description": "File Sequence Number",
 14162                "format": "int64",
 14163                "max": 999,
 14164                "min": 1,
 14165                "type": "integer"
 14166              }
 14167            },
 14168            {
 14169              "description": "Search by sequence.",
 14170              "in": "query",
 14171              "name": "sequence.lt",
 14172              "schema": {
 14173                "description": "File Sequence Number",
 14174                "format": "int64",
 14175                "max": 999,
 14176                "min": 1,
 14177                "type": "integer"
 14178              }
 14179            },
 14180            {
 14181              "description": "Search by filename.",
 14182              "in": "query",
 14183              "name": "filename.gte",
 14184              "schema": {
 14185                "description": "The name for the file.",
 14186                "type": "string"
 14187              }
 14188            },
 14189            {
 14190              "description": "Search by filename.",
 14191              "in": "query",
 14192              "name": "filename.gt",
 14193              "schema": {
 14194                "description": "The name for the file.",
 14195                "type": "string"
 14196              }
 14197            },
 14198            {
 14199              "description": "Search by filename.",
 14200              "in": "query",
 14201              "name": "filename.lte",
 14202              "schema": {
 14203                "description": "The name for the file.",
 14204                "type": "string"
 14205              }
 14206            },
 14207            {
 14208              "description": "Search by filename.",
 14209              "in": "query",
 14210              "name": "filename.lt",
 14211              "schema": {
 14212                "description": "The name for the file.",
 14213                "type": "string"
 14214              }
 14215            },
 14216            {
 14217              "description": "Order results based on the `sort` field.",
 14218              "in": "query",
 14219              "name": "order",
 14220              "schema": {
 14221                "enum": [
 14222                  "asc",
 14223                  "desc"
 14224                ],
 14225                "example": "asc",
 14226                "type": "string"
 14227              }
 14228            },
 14229            {
 14230              "description": "Limit the number of results returned, default is 10 and max is 1000.",
 14231              "in": "query",
 14232              "name": "limit",
 14233              "schema": {
 14234                "default": 10,
 14235                "example": 10,
 14236                "maximum": 1000,
 14237                "minimum": 1,
 14238                "type": "integer"
 14239              }
 14240            },
 14241            {
 14242              "description": "Sort field used for ordering.",
 14243              "in": "query",
 14244              "name": "sort",
 14245              "schema": {
 14246                "default": "sequence",
 14247                "enum": [
 14248                  "sequence",
 14249                  "filename"
 14250                ],
 14251                "example": "sequence",
 14252                "type": "string"
 14253              }
 14254            }
 14255          ],
 14256          "responses": {
 14257            "200": {
 14258              "content": {
 14259                "application/json": {
 14260                  "description": "FIXME",
 14261                  "example": {},
 14262                  "schema": {
 14263                    "properties": {
 14264                      "count": {
 14265                        "type": "integer"
 14266                      },
 14267                      "next_url": {
 14268                        "type": "string"
 14269                      },
 14270                      "request_id": {
 14271                        "type": "string"
 14272                      },
 14273                      "results": {
 14274                        "items": {
 14275                          "description": "File associated with the filing.\n\nThis provides information to uniquly identify the additional data and a URL\nwhere the file may be downloaded.",
 14276                          "properties": {
 14277                            "description": {
 14278                              "description": "A description for the contents of the file.",
 14279                              "type": "string"
 14280                            },
 14281                            "filename": {
 14282                              "description": "The name for the file.",
 14283                              "type": "string"
 14284                            },
 14285                            "id": {
 14286                              "description": "An identifier unique to the filing for this data entry.",
 14287                              "example": "1",
 14288                              "type": "string"
 14289                            },
 14290                            "sequence": {
 14291                              "description": "File Sequence Number",
 14292                              "format": "int64",
 14293                              "max": 999,
 14294                              "min": 1,
 14295                              "type": "integer"
 14296                            },
 14297                            "size_bytes": {
 14298                              "description": "The size of the file in bytes.",
 14299                              "format": "int64",
 14300                              "type": "integer"
 14301                            },
 14302                            "source_url": {
 14303                              "description": "The source URL is a link back to the upstream source for this file.",
 14304                              "format": "uri",
 14305                              "type": "string"
 14306                            },
 14307                            "type": {
 14308                              "description": "The type of document contained in the file.",
 14309                              "type": "string"
 14310                            }
 14311                          },
 14312                          "required": [
 14313                            "id",
 14314                            "file",
 14315                            "description",
 14316                            "type",
 14317                            "size_bytes",
 14318                            "sequence",
 14319                            "source_url"
 14320                          ],
 14321                          "type": "object",
 14322                          "x-polygon-go-type": {
 14323                            "name": "SECFilingFile",
 14324                            "path": "github.com/polygon-io/go-lib-models/v2/globals"
 14325                          }
 14326                        },
 14327                        "type": "array"
 14328                      },
 14329                      "status": {
 14330                        "type": "string"
 14331                      }
 14332                    },
 14333                    "required": [
 14334                      "status",
 14335                      "request_id",
 14336                      "count",
 14337                      "results"
 14338                    ],
 14339                    "type": "object"
 14340                  }
 14341                }
 14342              },
 14343              "description": "FIXME"
 14344            }
 14345          },
 14346          "summary": "SEC Filing Files",
 14347          "tags": [
 14348            "reference:sec:filing:files"
 14349          ],
 14350          "x-polygon-entitlement-data-type": {
 14351            "description": "Reference data",
 14352            "name": "reference"
 14353          },
 14354          "x-polygon-paginate": {
 14355            "sort": {
 14356              "default": "sequence",
 14357              "enum": [
 14358                "sequence",
 14359                "filename"
 14360              ]
 14361            }
 14362          }
 14363        },
 14364        "x-polygon-draft": true
 14365      },
 14366      "/v1/reference/sec/filings/{filing_id}/files/{file_id}": {
 14367        "get": {
 14368          "description": "Get filing file",
 14369          "operationId": "GetFilingFile",
 14370          "parameters": [
 14371            {
 14372              "description": "Select by filing id.",
 14373              "in": "path",
 14374              "name": "filing_id",
 14375              "schema": {
 14376                "description": "Unique identifier for the filing.",
 14377                "type": "string"
 14378              }
 14379            },
 14380            {
 14381              "description": "Select by file id.",
 14382              "in": "path",
 14383              "name": "file_id",
 14384              "schema": {
 14385                "description": "An identifier unique to the filing for this data entry.",
 14386                "example": "1",
 14387                "type": "string"
 14388              }
 14389            }
 14390          ],
 14391          "responses": {
 14392            "200": {
 14393              "content": {
 14394                "application/json": {
 14395                  "schema": {
 14396                    "description": "File associated with the filing.\n\nThis provides information to uniquly identify the additional data and a URL\nwhere the file may be downloaded.",
 14397                    "properties": {
 14398                      "description": {
 14399                        "description": "A description for the contents of the file.",
 14400                        "type": "string"
 14401                      },
 14402                      "filename": {
 14403                        "description": "The name for the file.",
 14404                        "type": "string"
 14405                      },
 14406                      "id": {
 14407                        "description": "An identifier unique to the filing for this data entry.",
 14408                        "example": "1",
 14409                        "type": "string"
 14410                      },
 14411                      "sequence": {
 14412                        "description": "File Sequence Number",
 14413                        "format": "int64",
 14414                        "max": 999,
 14415                        "min": 1,
 14416                        "type": "integer"
 14417                      },
 14418                      "size_bytes": {
 14419                        "description": "The size of the file in bytes.",
 14420                        "format": "int64",
 14421                        "type": "integer"
 14422                      },
 14423                      "source_url": {
 14424                        "description": "The source URL is a link back to the upstream source for this file.",
 14425                        "format": "uri",
 14426                        "type": "string"
 14427                      },
 14428                      "type": {
 14429                        "description": "The type of document contained in the file.",
 14430                        "type": "string"
 14431                      }
 14432                    },
 14433                    "required": [
 14434                      "id",
 14435                      "file",
 14436                      "description",
 14437                      "type",
 14438                      "size_bytes",
 14439                      "sequence",
 14440                      "source_url"
 14441                    ],
 14442                    "type": "object",
 14443                    "x-polygon-go-type": {
 14444                      "name": "SECFilingFile",
 14445                      "path": "github.com/polygon-io/go-lib-models/v2/globals"
 14446                    }
 14447                  }
 14448                }
 14449              },
 14450              "description": "The file data."
 14451            }
 14452          },
 14453          "summary": "SEC Filing File",
 14454          "tags": [
 14455            "reference:sec:filing:file"
 14456          ],
 14457          "x-polygon-entitlement-data-type": {
 14458            "description": "Reference data",
 14459            "name": "reference"
 14460          }
 14461        },
 14462        "x-polygon-draft": true
 14463      },
 14464      "/v1/summaries": {
 14465        "get": {
 14466          "description": "Get everything needed to visualize the tick-by-tick movement of a list of tickers.",
 14467          "operationId": "SnapshotSummary",
 14468          "parameters": [
 14469            {
 14470              "description": "Comma separated list of tickers. This API currently supports Stocks/Equities, Crypto, Options, and Forex. See \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/docs/stocks/get_v3_reference_tickers\"\u003ethe tickers endpoint\u003c/a\u003e for more details on supported tickers. If no tickers are passed then no results will be returned.\n\nWarning: The maximum number of characters allowed in a URL are subject to your technology stack.",
 14471              "example": "NCLH,O:SPY250321C00380000,C:EURUSD,X:BTCUSD",
 14472              "in": "query",
 14473              "name": "ticker.any_of",
 14474              "schema": {
 14475                "type": "string"
 14476              }
 14477            }
 14478          ],
 14479          "responses": {
 14480            "200": {
 14481              "content": {
 14482                "application/json": {
 14483                  "example": {
 14484                    "request_id": "abc123",
 14485                    "results": [
 14486                      {
 14487                        "branding": {
 14488                          "icon_url": "https://api.polygon.io/icon.png",
 14489                          "logo_url": "https://api.polygon.io/logo.svg"
 14490                        },
 14491                        "last_updated": 1679597116344223500,
 14492                        "market_status": "closed",
 14493                        "name": "Norwegian Cruise Lines",
 14494                        "price": 22.3,
 14495                        "session": {
 14496                          "change": -1.05,
 14497                          "change_percent": -4.67,
 14498                          "close": 21.4,
 14499                          "early_trading_change": -0.39,
 14500                          "early_trading_change_percent": -0.07,
 14501                          "high": 22.49,
 14502                          "late_trading_change": 1.2,
 14503                          "late_trading_change_percent": 3.92,
 14504                          "low": 21.35,
 14505                          "open": 22.49,
 14506                          "previous_close": 22.45,
 14507                          "volume": 37
 14508                        },
 14509                        "ticker": "NCLH",
 14510                        "type": "stock"
 14511                      },
 14512                      {
 14513                        "last_updated": 1679597116344223500,
 14514                        "market_status": "closed",
 14515                        "name": "NCLH $5 Call",
 14516                        "options": {
 14517                          "contract_type": "call",
 14518                          "exercise_style": "american",
 14519                          "expiration_date": "2022-10-14",
 14520                          "shares_per_contract": 100,
 14521                          "strike_price": 5,
 14522                          "underlying_ticker": "NCLH"
 14523                        },
 14524                        "price": 6.6,
 14525                        "session": {
 14526                          "change": -0.05,
 14527                          "change_percent": -1.07,
 14528                          "close": 6.65,
 14529                          "early_trading_change": -0.01,
 14530                          "early_trading_change_percent": -0.03,
 14531                          "high": 7.01,
 14532                          "late_trading_change": -0.4,
 14533                          "late_trading_change_percent": -0.02,
 14534                          "low": 5.42,
 14535                          "open": 6.7,
 14536                          "previous_close": 6.71,
 14537                          "volume": 67
 14538                        },
 14539                        "ticker": "O:NCLH221014C00005000",
 14540                        "type": "options"
 14541                      },
 14542                      {
 14543                        "last_updated": 1679597116344223500,
 14544                        "market_status": "open",
 14545                        "name": "Euro - United States Dollar",
 14546                        "price": 0.97989,
 14547                        "session": {
 14548                          "change": -0.0001,
 14549                          "change_percent": -0.67,
 14550                          "close": 0.97989,
 14551                          "high": 0.98999,
 14552                          "low": 0.96689,
 14553                          "open": 0.97889,
 14554                          "previous_close": 0.98001
 14555                        },
 14556                        "ticker": "C:EURUSD",
 14557                        "type": "fx"
 14558                      },
 14559                      {
 14560                        "branding": {
 14561                          "icon_url": "https://api.polygon.io/icon.png",
 14562                          "logo_url": "https://api.polygon.io/logo.svg"
 14563                        },
 14564                        "last_updated": 1679597116344223500,
 14565                        "market_status": "open",
 14566                        "name": "Bitcoin - United States Dollar",
 14567                        "price": 32154.68,
 14568                        "session": {
 14569                          "change": -201.23,
 14570                          "change_percent": -0.77,
 14571                          "close": 32154.68,
 14572                          "high": 33124.28,
 14573                          "low": 28182.88,
 14574                          "open": 31129.32,
 14575                          "previous_close": 33362.18
 14576                        },
 14577                        "ticker": "X:BTCUSD",
 14578                        "type": "crypto"
 14579                      },
 14580                      {
 14581                        "error": "NOT_FOUND",
 14582                        "message": "Ticker not found.",
 14583                        "ticker": "APx"
 14584                      }
 14585                    ],
 14586                    "status": "OK"
 14587                  },
 14588                  "schema": {
 14589                    "properties": {
 14590                      "request_id": {
 14591                        "type": "string"
 14592                      },
 14593                      "results": {
 14594                        "items": {
 14595                          "properties": {
 14596                            "branding": {
 14597                              "properties": {
 14598                                "icon_url": {
 14599                                  "description": "A link to this ticker's company's icon. Icon's are generally smaller, square images that represent the company at a glance.\nNote that you must provide an API key when accessing this URL. See the \"Authentication\" section at the top of this page for more details.",
 14600                                  "type": "string"
 14601                                },
 14602                                "logo_url": {
 14603                                  "description": "A link to this ticker's company's logo.\nNote that you must provide an API key when accessing this URL. See the \"Authentication\" section at the top of this page for more details.",
 14604                                  "type": "string"
 14605                                }
 14606                              },
 14607                              "type": "object",
 14608                              "x-polygon-go-type": {
 14609                                "name": "Branding"
 14610                              }
 14611                            },
 14612                            "error": {
 14613                              "description": "The error while looking for this ticker.",
 14614                              "type": "string"
 14615                            },
 14616                            "last_updated": {
 14617                              "description": "The nanosecond timestamp of when this information was updated.",
 14618                              "format": "int64",
 14619                              "type": "integer",
 14620                              "x-polygon-go-type": {
 14621                                "name": "INanoseconds",
 14622                                "path": "github.com/polygon-io/ptime"
 14623                              }
 14624                            },
 14625                            "market_status": {
 14626                              "description": "The market status for the market that trades this ticker.",
 14627                              "type": "string"
 14628                            },
 14629                            "message": {
 14630                              "description": "The error message while looking for this ticker.",
 14631                              "type": "string"
 14632                            },
 14633                            "name": {
 14634                              "description": "Name of ticker, forex, or crypto asset.",
 14635                              "type": "string"
 14636                            },
 14637                            "options": {
 14638                              "properties": {
 14639                                "contract_type": {
 14640                                  "description": "The type of contract. Can be \"put\", \"call\", or in some rare cases, \"other\".",
 14641                                  "enum": [
 14642                                    "put",
 14643                                    "call",
 14644                                    "other"
 14645                                  ],
 14646                                  "type": "string"
 14647                                },
 14648                                "exercise_style": {
 14649                                  "description": "The exercise style of this contract. See \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/Option_style\"\u003ethis link\u003c/a\u003e for more details on exercise styles.",
 14650                                  "enum": [
 14651                                    "american",
 14652                                    "european",
 14653                                    "bermudan"
 14654                                  ],
 14655                                  "type": "string"
 14656                                },
 14657                                "expiration_date": {
 14658                                  "description": "The contract's expiration date in YYYY-MM-DD format.",
 14659                                  "format": "date",
 14660                                  "type": "string",
 14661                                  "x-polygon-go-type": {
 14662                                    "name": "IDaysPolygonDateString",
 14663                                    "path": "github.com/polygon-io/ptime"
 14664                                  }
 14665                                },
 14666                                "shares_per_contract": {
 14667                                  "description": "The number of shares per contract for this contract.",
 14668                                  "format": "double",
 14669                                  "type": "number"
 14670                                },
 14671                                "strike_price": {
 14672                                  "description": "The strike price of the option contract.",
 14673                                  "format": "double",
 14674                                  "type": "number"
 14675                                },
 14676                                "underlying_ticker": {
 14677                                  "description": "The ticker for the option contract.",
 14678                                  "type": "string"
 14679                                }
 14680                              },
 14681                              "required": [
 14682                                "contract_type",
 14683                                "expiration_date",
 14684                                "exercise_style",
 14685                                "shares_per_contract",
 14686                                "strike_price",
 14687                                "underlying_ticker"
 14688                              ],
 14689                              "type": "object",
 14690                              "x-polygon-go-type": {
 14691                                "name": "Options"
 14692                              }
 14693                            },
 14694                            "price": {
 14695                              "description": "The most up to date ticker price.",
 14696                              "format": "double",
 14697                              "type": "number"
 14698                            },
 14699                            "session": {
 14700                              "properties": {
 14701                                "change": {
 14702                                  "description": "The value of the price change for the asset from the previous trading day.",
 14703                                  "format": "double",
 14704                                  "type": "number"
 14705                                },
 14706                                "change_percent": {
 14707                                  "description": "The percent of the price change for the asset from the previous trading day.",
 14708                                  "format": "double",
 14709                                  "type": "number"
 14710                                },
 14711                                "close": {
 14712                                  "description": "The closing price of the asset for the day.",
 14713                                  "format": "double",
 14714                                  "type": "number"
 14715                                },
 14716                                "early_trading_change": {
 14717                                  "description": "Today's early trading change amount, difference between price and previous close if in early trading hours, otherwise difference between last price during early trading and previous close.",
 14718                                  "format": "double",
 14719                                  "type": "number"
 14720                                },
 14721                                "early_trading_change_percent": {
 14722                                  "description": "Today's early trading change as a percentage.",
 14723                                  "format": "double",
 14724                                  "type": "number"
 14725                                },
 14726                                "high": {
 14727                                  "description": "The highest price of the asset for the day.",
 14728                                  "format": "double",
 14729                                  "type": "number"
 14730                                },
 14731                                "late_trading_change": {
 14732                                  "description": "Today's late trading change amount, difference between price and today's close if in late trading hours, otherwise difference between last price during late trading and today's close.",
 14733                                  "format": "double",
 14734                                  "type": "number"
 14735                                },
 14736                                "late_trading_change_percent": {
 14737                                  "description": "Today's late trading change as a percentage.",
 14738                                  "format": "double",
 14739                                  "type": "number"
 14740                                },
 14741                                "low": {
 14742                                  "description": "The lowest price of the asset for the day.",
 14743                                  "format": "double",
 14744                                  "type": "number"
 14745                                },
 14746                                "open": {
 14747                                  "description": "The open price of the asset for the day.",
 14748                                  "format": "double",
 14749                                  "type": "number"
 14750                                },
 14751                                "previous_close": {
 14752                                  "description": "The closing price of the asset for the previous trading day.",
 14753                                  "format": "double",
 14754                                  "type": "number"
 14755                                },
 14756                                "price": {
 14757                                  "description": "The price of the most recent trade or bid price for this asset.",
 14758                                  "format": "double",
 14759                                  "type": "number"
 14760                                },
 14761                                "volume": {
 14762                                  "description": "The trading volume for the asset for the day.",
 14763                                  "format": "double",
 14764                                  "type": "number"
 14765                                }
 14766                              },
 14767                              "required": [
 14768                                "change",
 14769                                "change_percent",
 14770                                "close",
 14771                                "high",
 14772                                "low",
 14773                                "open",
 14774                                "previous_close"
 14775                              ],
 14776                              "type": "object",
 14777                              "x-polygon-go-type": {
 14778                                "name": "Session"
 14779                              }
 14780                            },
 14781                            "ticker": {
 14782                              "description": "Ticker of asset queried.",
 14783                              "type": "string"
 14784                            },
 14785                            "type": {
 14786                              "description": "The market for this ticker of stock, crypto, fx, option.",
 14787                              "enum": [
 14788                                "stocks",
 14789                                "crypto",
 14790                                "options",
 14791                                "fx"
 14792                              ],
 14793                              "type": "string"
 14794                            }
 14795                          },
 14796                          "required": [
 14797                            "ticker",
 14798                            "name",
 14799                            "price",
 14800                            "branding",
 14801                            "market_status",
 14802                            "type",
 14803                            "session",
 14804                            "options",
 14805                            "last_updated"
 14806                          ],
 14807                          "type": "object",
 14808                          "x-polygon-go-type": {
 14809                            "name": "SummaryResult"
 14810                          }
 14811                        },
 14812                        "type": "array"
 14813                      },
 14814                      "status": {
 14815                        "description": "The status of this request's response.",
 14816                        "type": "string"
 14817                      }
 14818                    },
 14819                    "required": [
 14820                      "status",
 14821                      "request_id"
 14822                    ],
 14823                    "type": "object"
 14824                  }
 14825                }
 14826              },
 14827              "description": "Snapshot Summary for ticker list"
 14828            }
 14829          },
 14830          "summary": "Summaries",
 14831          "x-polygon-entitlement-data-type": {
 14832            "description": "Aggregate data",
 14833            "name": "aggregates"
 14834          },
 14835          "x-polygon-entitlement-market-type": {
 14836            "description": "Stocks data",
 14837            "name": "stocks"
 14838          }
 14839        }
 14840      },
 14841      "/v2/aggs/grouped/locale/global/market/crypto/{date}": {
 14842        "get": {
 14843          "description": "Get the daily open, high, low, and close (OHLC) for the entire cryptocurrency markets.\n",
 14844          "parameters": [
 14845            {
 14846              "description": "The beginning date for the aggregate window.",
 14847              "example": "2023-01-09",
 14848              "in": "path",
 14849              "name": "date",
 14850              "required": true,
 14851              "schema": {
 14852                "type": "string"
 14853              }
 14854            },
 14855            {
 14856              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 14857              "example": true,
 14858              "in": "query",
 14859              "name": "adjusted",
 14860              "schema": {
 14861                "type": "boolean"
 14862              }
 14863            }
 14864          ],
 14865          "responses": {
 14866            "200": {
 14867              "content": {
 14868                "application/json": {
 14869                  "example": {
 14870                    "adjusted": true,
 14871                    "queryCount": 3,
 14872                    "results": [
 14873                      {
 14874                        "T": "X:ARDRUSD",
 14875                        "c": 0.0550762,
 14876                        "h": 0.0550762,
 14877                        "l": 0.0550762,
 14878                        "n": 18388,
 14879                        "o": 0.0550762,
 14880                        "t": 1580676480000,
 14881                        "v": 2,
 14882                        "vw": 0.0551
 14883                      },
 14884                      {
 14885                        "T": "X:NGCUSD",
 14886                        "c": 0.0272983,
 14887                        "h": 0.0273733,
 14888                        "l": 0.0272983,
 14889                        "n": 18,
 14890                        "o": 0.0273733,
 14891                        "t": 1580674080000,
 14892                        "v": 4734,
 14893                        "vw": 0.0273
 14894                      },
 14895                      {
 14896                        "T": "X:ZSCUSD",
 14897                        "c": 0.00028531,
 14898                        "h": 0.00028531,
 14899                        "l": 0.00028531,
 14900                        "n": 151,
 14901                        "o": 0.00028531,
 14902                        "t": 1580671080000,
 14903                        "v": 390,
 14904                        "vw": 0.0003
 14905                      }
 14906                    ],
 14907                    "resultsCount": 3,
 14908                    "status": "OK"
 14909                  },
 14910                  "schema": {
 14911                    "allOf": [
 14912                      {
 14913                        "properties": {
 14914                          "adjusted": {
 14915                            "description": "Whether or not this response was adjusted for splits.",
 14916                            "type": "boolean"
 14917                          },
 14918                          "queryCount": {
 14919                            "description": "The number of aggregates (minute or day) used to generate the response.",
 14920                            "type": "integer"
 14921                          },
 14922                          "request_id": {
 14923                            "description": "A request id assigned by the server.",
 14924                            "type": "string"
 14925                          },
 14926                          "resultsCount": {
 14927                            "description": "The total number of results for this request.",
 14928                            "type": "integer"
 14929                          },
 14930                          "status": {
 14931                            "description": "The status of this request's response.",
 14932                            "type": "string"
 14933                          }
 14934                        },
 14935                        "required": [
 14936                          "status",
 14937                          "adjusted",
 14938                          "queryCount",
 14939                          "resultsCount",
 14940                          "request_id"
 14941                        ],
 14942                        "type": "object"
 14943                      },
 14944                      {
 14945                        "properties": {
 14946                          "results": {
 14947                            "items": {
 14948                              "properties": {
 14949                                "T": {
 14950                                  "description": "The exchange symbol that this item is traded under.",
 14951                                  "type": "string"
 14952                                },
 14953                                "c": {
 14954                                  "description": "The close price for the symbol in the given time period.",
 14955                                  "format": "double",
 14956                                  "type": "number"
 14957                                },
 14958                                "h": {
 14959                                  "description": "The highest price for the symbol in the given time period.",
 14960                                  "format": "double",
 14961                                  "type": "number"
 14962                                },
 14963                                "l": {
 14964                                  "description": "The lowest price for the symbol in the given time period.",
 14965                                  "format": "double",
 14966                                  "type": "number"
 14967                                },
 14968                                "n": {
 14969                                  "description": "The number of transactions in the aggregate window.",
 14970                                  "type": "integer"
 14971                                },
 14972                                "o": {
 14973                                  "description": "The open price for the symbol in the given time period.",
 14974                                  "format": "double",
 14975                                  "type": "number"
 14976                                },
 14977                                "t": {
 14978                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 14979                                  "type": "integer"
 14980                                },
 14981                                "v": {
 14982                                  "description": "The trading volume of the symbol in the given time period.",
 14983                                  "format": "double",
 14984                                  "type": "number"
 14985                                },
 14986                                "vw": {
 14987                                  "description": "The volume weighted average price.",
 14988                                  "format": "double",
 14989                                  "type": "number"
 14990                                }
 14991                              },
 14992                              "required": [
 14993                                "o",
 14994                                "h",
 14995                                "l",
 14996                                "c",
 14997                                "v",
 14998                                "t",
 14999                                "T"
 15000                              ],
 15001                              "type": "object"
 15002                            },
 15003                            "type": "array"
 15004                          }
 15005                        },
 15006                        "type": "object"
 15007                      }
 15008                    ]
 15009                  }
 15010                },
 15011                "text/csv": {
 15012                  "example": "T,c,h,l,n,o,t,v,vw\nX:ARDRUSD,0.0550762,0.0550762,0.0550762,18388,0.0550762,1580676480000,2,0.0551\nX:NGCUSD,0.0272983,0.0273733,0.0272983,18,0.0273733,1580674080000,4734,0.0273\nX:ZSCUSD,0.00028531,0.00028531,0.00028531,151,0.00028531,1580671080000,390,0.0003\n",
 15013                  "schema": {
 15014                    "type": "string"
 15015                  }
 15016                }
 15017              },
 15018              "description": "The previous day OHLC for the ticker."
 15019            },
 15020            "default": {
 15021              "description": "Unexpected error"
 15022            }
 15023          },
 15024          "summary": "Grouped Daily (Bars)",
 15025          "tags": [
 15026            "crypto:aggregates"
 15027          ],
 15028          "x-polygon-entitlement-data-type": {
 15029            "description": "Aggregate data",
 15030            "name": "aggregates"
 15031          },
 15032          "x-polygon-entitlement-market-type": {
 15033            "description": "Crypto data",
 15034            "name": "crypto"
 15035          }
 15036        }
 15037      },
 15038      "/v2/aggs/grouped/locale/global/market/fx/{date}": {
 15039        "get": {
 15040          "description": "Get the daily open, high, low, and close (OHLC) for the entire forex markets.\n",
 15041          "parameters": [
 15042            {
 15043              "description": "The beginning date for the aggregate window.",
 15044              "example": "2023-01-09",
 15045              "in": "path",
 15046              "name": "date",
 15047              "required": true,
 15048              "schema": {
 15049                "type": "string"
 15050              }
 15051            },
 15052            {
 15053              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 15054              "example": true,
 15055              "in": "query",
 15056              "name": "adjusted",
 15057              "schema": {
 15058                "type": "boolean"
 15059              }
 15060            }
 15061          ],
 15062          "responses": {
 15063            "200": {
 15064              "content": {
 15065                "application/json": {
 15066                  "example": {
 15067                    "adjusted": true,
 15068                    "queryCount": 3,
 15069                    "results": [
 15070                      {
 15071                        "T": "C:ILSCHF",
 15072                        "c": 0.2704,
 15073                        "h": 0.2706,
 15074                        "l": 0.2693,
 15075                        "n": 689,
 15076                        "o": 0.2698,
 15077                        "t": 1602719999999,
 15078                        "v": 689,
 15079                        "vw": 0.2702
 15080                      },
 15081                      {
 15082                        "T": "C:GBPCAD",
 15083                        "c": 1.71103,
 15084                        "h": 1.71642,
 15085                        "l": 1.69064,
 15086                        "n": 407324,
 15087                        "o": 1.69955,
 15088                        "t": 1602719999999,
 15089                        "v": 407324,
 15090                        "vw": 1.7062
 15091                      },
 15092                      {
 15093                        "T": "C:DKKAUD",
 15094                        "c": 0.2214,
 15095                        "h": 0.2214,
 15096                        "l": 0.2195,
 15097                        "n": 10639,
 15098                        "o": 0.22,
 15099                        "t": 1602719999999,
 15100                        "v": 10639,
 15101                        "vw": 0.2202
 15102                      }
 15103                    ],
 15104                    "resultsCount": 3,
 15105                    "status": "OK"
 15106                  },
 15107                  "schema": {
 15108                    "allOf": [
 15109                      {
 15110                        "properties": {
 15111                          "adjusted": {
 15112                            "description": "Whether or not this response was adjusted for splits.",
 15113                            "type": "boolean"
 15114                          },
 15115                          "queryCount": {
 15116                            "description": "The number of aggregates (minute or day) used to generate the response.",
 15117                            "type": "integer"
 15118                          },
 15119                          "request_id": {
 15120                            "description": "A request id assigned by the server.",
 15121                            "type": "string"
 15122                          },
 15123                          "resultsCount": {
 15124                            "description": "The total number of results for this request.",
 15125                            "type": "integer"
 15126                          },
 15127                          "status": {
 15128                            "description": "The status of this request's response.",
 15129                            "type": "string"
 15130                          }
 15131                        },
 15132                        "required": [
 15133                          "status",
 15134                          "adjusted",
 15135                          "queryCount",
 15136                          "resultsCount",
 15137                          "request_id"
 15138                        ],
 15139                        "type": "object"
 15140                      },
 15141                      {
 15142                        "properties": {
 15143                          "results": {
 15144                            "items": {
 15145                              "properties": {
 15146                                "T": {
 15147                                  "description": "The exchange symbol that this item is traded under.",
 15148                                  "type": "string"
 15149                                },
 15150                                "c": {
 15151                                  "description": "The close price for the symbol in the given time period.",
 15152                                  "format": "double",
 15153                                  "type": "number"
 15154                                },
 15155                                "h": {
 15156                                  "description": "The highest price for the symbol in the given time period.",
 15157                                  "format": "double",
 15158                                  "type": "number"
 15159                                },
 15160                                "l": {
 15161                                  "description": "The lowest price for the symbol in the given time period.",
 15162                                  "format": "double",
 15163                                  "type": "number"
 15164                                },
 15165                                "n": {
 15166                                  "description": "The number of transactions in the aggregate window.",
 15167                                  "type": "integer"
 15168                                },
 15169                                "o": {
 15170                                  "description": "The open price for the symbol in the given time period.",
 15171                                  "format": "double",
 15172                                  "type": "number"
 15173                                },
 15174                                "t": {
 15175                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 15176                                  "type": "integer"
 15177                                },
 15178                                "v": {
 15179                                  "description": "The trading volume of the symbol in the given time period.",
 15180                                  "format": "double",
 15181                                  "type": "number"
 15182                                },
 15183                                "vw": {
 15184                                  "description": "The volume weighted average price.",
 15185                                  "format": "double",
 15186                                  "type": "number"
 15187                                }
 15188                              },
 15189                              "required": [
 15190                                "o",
 15191                                "h",
 15192                                "l",
 15193                                "c",
 15194                                "v",
 15195                                "t",
 15196                                "T"
 15197                              ],
 15198                              "type": "object"
 15199                            },
 15200                            "type": "array"
 15201                          }
 15202                        },
 15203                        "type": "object"
 15204                      }
 15205                    ]
 15206                  }
 15207                },
 15208                "text/csv": {
 15209                  "example": "T,c,h,l,n,o,t,v,vw\nC:ILSCHF,0.2704,0.2706,0.2693,689,0.2698,1602719999999,689,0.2702\nC:GBPCAD,1.71103,1.71642,1.69064,407324,1.69955,1602719999999,407324,1.7062\nC:DKKAUD,0.2214,0.2214,0.2195,10639,0.22,1602719999999,10639,0.2202\n",
 15210                  "schema": {
 15211                    "type": "string"
 15212                  }
 15213                }
 15214              },
 15215              "description": "Previous day OHLC for ticker"
 15216            },
 15217            "default": {
 15218              "description": "Unexpected error"
 15219            }
 15220          },
 15221          "summary": "Grouped Daily (Bars)",
 15222          "tags": [
 15223            "fx:aggregates"
 15224          ],
 15225          "x-polygon-entitlement-data-type": {
 15226            "description": "Aggregate data",
 15227            "name": "aggregates"
 15228          },
 15229          "x-polygon-entitlement-market-type": {
 15230            "description": "Forex data",
 15231            "name": "fx"
 15232          }
 15233        }
 15234      },
 15235      "/v2/aggs/grouped/locale/us/market/stocks/{date}": {
 15236        "get": {
 15237          "description": "Get the daily open, high, low, and close (OHLC) for the entire stocks/equities markets.\n",
 15238          "parameters": [
 15239            {
 15240              "description": "The beginning date for the aggregate window.",
 15241              "example": "2023-01-09",
 15242              "in": "path",
 15243              "name": "date",
 15244              "required": true,
 15245              "schema": {
 15246                "type": "string"
 15247              }
 15248            },
 15249            {
 15250              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 15251              "example": true,
 15252              "in": "query",
 15253              "name": "adjusted",
 15254              "schema": {
 15255                "type": "boolean"
 15256              }
 15257            },
 15258            {
 15259              "description": "Include OTC securities in the response. Default is false (don't include OTC securities).\n",
 15260              "in": "query",
 15261              "name": "include_otc",
 15262              "schema": {
 15263                "type": "boolean"
 15264              }
 15265            }
 15266          ],
 15267          "responses": {
 15268            "200": {
 15269              "content": {
 15270                "application/json": {
 15271                  "example": {
 15272                    "adjusted": true,
 15273                    "queryCount": 3,
 15274                    "results": [
 15275                      {
 15276                        "T": "KIMpL",
 15277                        "c": 25.9102,
 15278                        "h": 26.25,
 15279                        "l": 25.91,
 15280                        "n": 74,
 15281                        "o": 26.07,
 15282                        "t": 1602705600000,
 15283                        "v": 4369,
 15284                        "vw": 26.0407
 15285                      },
 15286                      {
 15287                        "T": "TANH",
 15288                        "c": 23.4,
 15289                        "h": 24.763,
 15290                        "l": 22.65,
 15291                        "n": 1096,
 15292                        "o": 24.5,
 15293                        "t": 1602705600000,
 15294                        "v": 25933.6,
 15295                        "vw": 23.493
 15296                      },
 15297                      {
 15298                        "T": "VSAT",
 15299                        "c": 34.24,
 15300                        "h": 35.47,
 15301                        "l": 34.21,
 15302                        "n": 4966,
 15303                        "o": 34.9,
 15304                        "t": 1602705600000,
 15305                        "v": 312583,
 15306                        "vw": 34.4736
 15307                      }
 15308                    ],
 15309                    "resultsCount": 3,
 15310                    "status": "OK"
 15311                  },
 15312                  "schema": {
 15313                    "allOf": [
 15314                      {
 15315                        "properties": {
 15316                          "adjusted": {
 15317                            "description": "Whether or not this response was adjusted for splits.",
 15318                            "type": "boolean"
 15319                          },
 15320                          "queryCount": {
 15321                            "description": "The number of aggregates (minute or day) used to generate the response.",
 15322                            "type": "integer"
 15323                          },
 15324                          "request_id": {
 15325                            "description": "A request id assigned by the server.",
 15326                            "type": "string"
 15327                          },
 15328                          "resultsCount": {
 15329                            "description": "The total number of results for this request.",
 15330                            "type": "integer"
 15331                          },
 15332                          "status": {
 15333                            "description": "The status of this request's response.",
 15334                            "type": "string"
 15335                          }
 15336                        },
 15337                        "required": [
 15338                          "status",
 15339                          "adjusted",
 15340                          "queryCount",
 15341                          "resultsCount",
 15342                          "request_id"
 15343                        ],
 15344                        "type": "object"
 15345                      },
 15346                      {
 15347                        "properties": {
 15348                          "results": {
 15349                            "items": {
 15350                              "properties": {
 15351                                "T": {
 15352                                  "description": "The exchange symbol that this item is traded under.",
 15353                                  "type": "string"
 15354                                },
 15355                                "c": {
 15356                                  "description": "The close price for the symbol in the given time period.",
 15357                                  "format": "double",
 15358                                  "type": "number"
 15359                                },
 15360                                "h": {
 15361                                  "description": "The highest price for the symbol in the given time period.",
 15362                                  "format": "double",
 15363                                  "type": "number"
 15364                                },
 15365                                "l": {
 15366                                  "description": "The lowest price for the symbol in the given time period.",
 15367                                  "format": "double",
 15368                                  "type": "number"
 15369                                },
 15370                                "n": {
 15371                                  "description": "The number of transactions in the aggregate window.",
 15372                                  "type": "integer"
 15373                                },
 15374                                "o": {
 15375                                  "description": "The open price for the symbol in the given time period.",
 15376                                  "format": "double",
 15377                                  "type": "number"
 15378                                },
 15379                                "otc": {
 15380                                  "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 15381                                  "type": "boolean"
 15382                                },
 15383                                "t": {
 15384                                  "description": "The Unix Msec timestamp for the end of the aggregate window.",
 15385                                  "type": "integer"
 15386                                },
 15387                                "v": {
 15388                                  "description": "The trading volume of the symbol in the given time period.",
 15389                                  "format": "double",
 15390                                  "type": "number"
 15391                                },
 15392                                "vw": {
 15393                                  "description": "The volume weighted average price.",
 15394                                  "format": "double",
 15395                                  "type": "number"
 15396                                }
 15397                              },
 15398                              "required": [
 15399                                "o",
 15400                                "h",
 15401                                "l",
 15402                                "c",
 15403                                "t",
 15404                                "v",
 15405                                "T"
 15406                              ],
 15407                              "type": "object"
 15408                            },
 15409                            "type": "array"
 15410                          }
 15411                        },
 15412                        "type": "object"
 15413                      }
 15414                    ]
 15415                  }
 15416                },
 15417                "text/csv": {
 15418                  "example": "T,c,h,l,n,o,t,v,vw\nKIMpL,25.9102,26.25,25.91,74,26.07,1602705600000,4369,26.0407\nTANH,23.4,24.763,22.65,1096,24.5,1602705600000,25933.6,23.493\nVSAT,34.24,35.47,34.21,4966,34.9,1602705600000,312583,34.4736\n",
 15419                  "schema": {
 15420                    "type": "string"
 15421                  }
 15422                }
 15423              },
 15424              "description": "Previous day OHLC for ticker"
 15425            },
 15426            "default": {
 15427              "description": "Unexpected error"
 15428            }
 15429          },
 15430          "summary": "Grouped Daily (Bars)",
 15431          "tags": [
 15432            "stocks:aggregates"
 15433          ],
 15434          "x-polygon-entitlement-data-type": {
 15435            "description": "Aggregate data",
 15436            "name": "aggregates"
 15437          },
 15438          "x-polygon-entitlement-market-type": {
 15439            "description": "Stocks data",
 15440            "name": "stocks"
 15441          }
 15442        }
 15443      },
 15444      "/v2/aggs/ticker/{cryptoTicker}/prev": {
 15445        "get": {
 15446          "description": "Get the previous day's open, high, low, and close (OHLC) for the specified cryptocurrency pair.\n",
 15447          "parameters": [
 15448            {
 15449              "description": "The ticker symbol of the currency pair.",
 15450              "example": "X:BTCUSD",
 15451              "in": "path",
 15452              "name": "cryptoTicker",
 15453              "required": true,
 15454              "schema": {
 15455                "type": "string"
 15456              }
 15457            },
 15458            {
 15459              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 15460              "example": true,
 15461              "in": "query",
 15462              "name": "adjusted",
 15463              "schema": {
 15464                "type": "boolean"
 15465              }
 15466            }
 15467          ],
 15468          "responses": {
 15469            "200": {
 15470              "content": {
 15471                "application/json": {
 15472                  "example": {
 15473                    "adjusted": true,
 15474                    "queryCount": 1,
 15475                    "request_id": "b2170df985474b6d21a6eeccfb6bee67",
 15476                    "results": [
 15477                      {
 15478                        "T": "X:BTCUSD",
 15479                        "c": 16035.9,
 15480                        "h": 16180,
 15481                        "l": 15639.2,
 15482                        "o": 15937.1,
 15483                        "t": 1605416400000,
 15484                        "v": 95045.16897951,
 15485                        "vw": 15954.2111
 15486                      }
 15487                    ],
 15488                    "resultsCount": 1,
 15489                    "status": "OK",
 15490                    "ticker": "X:BTCUSD"
 15491                  },
 15492                  "schema": {
 15493                    "allOf": [
 15494                      {
 15495                        "properties": {
 15496                          "ticker": {
 15497                            "description": "The exchange symbol that this item is traded under.",
 15498                            "type": "string"
 15499                          }
 15500                        },
 15501                        "required": [
 15502                          "ticker"
 15503                        ],
 15504                        "type": "object"
 15505                      },
 15506                      {
 15507                        "properties": {
 15508                          "adjusted": {
 15509                            "description": "Whether or not this response was adjusted for splits.",
 15510                            "type": "boolean"
 15511                          },
 15512                          "queryCount": {
 15513                            "description": "The number of aggregates (minute or day) used to generate the response.",
 15514                            "type": "integer"
 15515                          },
 15516                          "request_id": {
 15517                            "description": "A request id assigned by the server.",
 15518                            "type": "string"
 15519                          },
 15520                          "resultsCount": {
 15521                            "description": "The total number of results for this request.",
 15522                            "type": "integer"
 15523                          },
 15524                          "status": {
 15525                            "description": "The status of this request's response.",
 15526                            "type": "string"
 15527                          }
 15528                        },
 15529                        "required": [
 15530                          "status",
 15531                          "adjusted",
 15532                          "queryCount",
 15533                          "resultsCount",
 15534                          "request_id"
 15535                        ],
 15536                        "type": "object"
 15537                      },
 15538                      {
 15539                        "properties": {
 15540                          "results": {
 15541                            "items": {
 15542                              "properties": {
 15543                                "T": {
 15544                                  "description": "The exchange symbol that this item is traded under.",
 15545                                  "type": "string"
 15546                                },
 15547                                "c": {
 15548                                  "description": "The close price for the symbol in the given time period.",
 15549                                  "format": "double",
 15550                                  "type": "number"
 15551                                },
 15552                                "h": {
 15553                                  "description": "The highest price for the symbol in the given time period.",
 15554                                  "format": "double",
 15555                                  "type": "number"
 15556                                },
 15557                                "l": {
 15558                                  "description": "The lowest price for the symbol in the given time period.",
 15559                                  "format": "double",
 15560                                  "type": "number"
 15561                                },
 15562                                "n": {
 15563                                  "description": "The number of transactions in the aggregate window.",
 15564                                  "type": "integer"
 15565                                },
 15566                                "o": {
 15567                                  "description": "The open price for the symbol in the given time period.",
 15568                                  "format": "double",
 15569                                  "type": "number"
 15570                                },
 15571                                "t": {
 15572                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 15573                                  "type": "integer"
 15574                                },
 15575                                "v": {
 15576                                  "description": "The trading volume of the symbol in the given time period.",
 15577                                  "format": "double",
 15578                                  "type": "number"
 15579                                },
 15580                                "vw": {
 15581                                  "description": "The volume weighted average price.",
 15582                                  "format": "double",
 15583                                  "type": "number"
 15584                                }
 15585                              },
 15586                              "required": [
 15587                                "o",
 15588                                "h",
 15589                                "l",
 15590                                "c",
 15591                                "v",
 15592                                "t",
 15593                                "T"
 15594                              ],
 15595                              "type": "object"
 15596                            },
 15597                            "type": "array"
 15598                          }
 15599                        },
 15600                        "type": "object"
 15601                      }
 15602                    ]
 15603                  }
 15604                },
 15605                "text/csv": {
 15606                  "example": "T,c,h,l,o,t,v,vw\nX:BTCUSD,16035.9,16180,15639.2,15937.1,1605416400000,95045.16897951,15954.2111\n",
 15607                  "schema": {
 15608                    "type": "string"
 15609                  }
 15610                }
 15611              },
 15612              "description": "The previous day OHLC for a ticker."
 15613            },
 15614            "default": {
 15615              "description": "Unexpected error"
 15616            }
 15617          },
 15618          "summary": "Previous Close",
 15619          "tags": [
 15620            "crypto:aggregates"
 15621          ],
 15622          "x-polygon-entitlement-data-type": {
 15623            "description": "Aggregate data",
 15624            "name": "aggregates"
 15625          },
 15626          "x-polygon-entitlement-market-type": {
 15627            "description": "Crypto data",
 15628            "name": "crypto"
 15629          }
 15630        }
 15631      },
 15632      "/v2/aggs/ticker/{cryptoTicker}/range/{multiplier}/{timespan}/{from}/{to}": {
 15633        "get": {
 15634          "description": "Get aggregate bars for a cryptocurrency pair over a given date range in custom time window sizes.\n\u003cbr /\u003e\n\u003cbr /\u003e\nFor example, if timespan = ‘minute’ and multiplier = ‘5’ then 5-minute bars will be returned.\n",
 15635          "parameters": [
 15636            {
 15637              "description": "The ticker symbol of the currency pair.",
 15638              "example": "X:BTCUSD",
 15639              "in": "path",
 15640              "name": "cryptoTicker",
 15641              "required": true,
 15642              "schema": {
 15643                "type": "string"
 15644              }
 15645            },
 15646            {
 15647              "description": "The size of the timespan multiplier.",
 15648              "example": 1,
 15649              "in": "path",
 15650              "name": "multiplier",
 15651              "required": true,
 15652              "schema": {
 15653                "type": "integer"
 15654              }
 15655            },
 15656            {
 15657              "description": "The size of the time window.",
 15658              "example": "day",
 15659              "in": "path",
 15660              "name": "timespan",
 15661              "required": true,
 15662              "schema": {
 15663                "enum": [
 15664                  "second",
 15665                  "minute",
 15666                  "hour",
 15667                  "day",
 15668                  "week",
 15669                  "month",
 15670                  "quarter",
 15671                  "year"
 15672                ],
 15673                "type": "string"
 15674              }
 15675            },
 15676            {
 15677              "description": "The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 15678              "example": "2023-01-09",
 15679              "in": "path",
 15680              "name": "from",
 15681              "required": true,
 15682              "schema": {
 15683                "type": "string"
 15684              }
 15685            },
 15686            {
 15687              "description": "The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 15688              "example": "2023-01-09",
 15689              "in": "path",
 15690              "name": "to",
 15691              "required": true,
 15692              "schema": {
 15693                "type": "string"
 15694              }
 15695            },
 15696            {
 15697              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 15698              "example": true,
 15699              "in": "query",
 15700              "name": "adjusted",
 15701              "schema": {
 15702                "type": "boolean"
 15703              }
 15704            },
 15705            {
 15706              "description": "Sort the results by timestamp.\n`asc` will return results in ascending order (oldest at the top),\n`desc` will return results in descending order (newest at the top).\n",
 15707              "example": "asc",
 15708              "in": "query",
 15709              "name": "sort",
 15710              "schema": {
 15711                "enum": [
 15712                  "asc",
 15713                  "desc"
 15714                ]
 15715              }
 15716            },
 15717            {
 15718              "description": "Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000.\nRead more about how limit is used to calculate aggregate results in our article on\n\u003ca href=\"https://polygon.io/blog/aggs-api-updates/\" target=\"_blank\" alt=\"Aggregate Data API Improvements\"\u003eAggregate Data API Improvements\u003c/a\u003e.\n",
 15719              "example": 120,
 15720              "in": "query",
 15721              "name": "limit",
 15722              "schema": {
 15723                "type": "integer"
 15724              }
 15725            }
 15726          ],
 15727          "responses": {
 15728            "200": {
 15729              "content": {
 15730                "application/json": {
 15731                  "example": {
 15732                    "adjusted": true,
 15733                    "queryCount": 2,
 15734                    "request_id": "0cf72b6da685bcd386548ffe2895904a",
 15735                    "results": [
 15736                      {
 15737                        "c": 10094.75,
 15738                        "h": 10429.26,
 15739                        "l": 9490,
 15740                        "n": 1,
 15741                        "o": 9557.9,
 15742                        "t": 1590984000000,
 15743                        "v": 303067.6562332156,
 15744                        "vw": 9874.5529
 15745                      },
 15746                      {
 15747                        "c": 9492.62,
 15748                        "h": 10222.72,
 15749                        "l": 9135.68,
 15750                        "n": 1,
 15751                        "o": 10096.87,
 15752                        "t": 1591070400000,
 15753                        "v": 323339.6922892879,
 15754                        "vw": 9729.5701
 15755                      }
 15756                    ],
 15757                    "resultsCount": 2,
 15758                    "status": "OK",
 15759                    "ticker": "X:BTCUSD"
 15760                  },
 15761                  "schema": {
 15762                    "allOf": [
 15763                      {
 15764                        "properties": {
 15765                          "ticker": {
 15766                            "description": "The exchange symbol that this item is traded under.",
 15767                            "type": "string"
 15768                          }
 15769                        },
 15770                        "required": [
 15771                          "ticker"
 15772                        ],
 15773                        "type": "object"
 15774                      },
 15775                      {
 15776                        "properties": {
 15777                          "adjusted": {
 15778                            "description": "Whether or not this response was adjusted for splits.",
 15779                            "type": "boolean"
 15780                          },
 15781                          "queryCount": {
 15782                            "description": "The number of aggregates (minute or day) used to generate the response.",
 15783                            "type": "integer"
 15784                          },
 15785                          "request_id": {
 15786                            "description": "A request id assigned by the server.",
 15787                            "type": "string"
 15788                          },
 15789                          "resultsCount": {
 15790                            "description": "The total number of results for this request.",
 15791                            "type": "integer"
 15792                          },
 15793                          "status": {
 15794                            "description": "The status of this request's response.",
 15795                            "type": "string"
 15796                          }
 15797                        },
 15798                        "required": [
 15799                          "status",
 15800                          "adjusted",
 15801                          "queryCount",
 15802                          "resultsCount",
 15803                          "request_id"
 15804                        ],
 15805                        "type": "object"
 15806                      },
 15807                      {
 15808                        "properties": {
 15809                          "results": {
 15810                            "items": {
 15811                              "properties": {
 15812                                "c": {
 15813                                  "description": "The close price for the symbol in the given time period.",
 15814                                  "format": "double",
 15815                                  "type": "number"
 15816                                },
 15817                                "h": {
 15818                                  "description": "The highest price for the symbol in the given time period.",
 15819                                  "format": "double",
 15820                                  "type": "number"
 15821                                },
 15822                                "l": {
 15823                                  "description": "The lowest price for the symbol in the given time period.",
 15824                                  "format": "double",
 15825                                  "type": "number"
 15826                                },
 15827                                "n": {
 15828                                  "description": "The number of transactions in the aggregate window.",
 15829                                  "type": "integer"
 15830                                },
 15831                                "o": {
 15832                                  "description": "The open price for the symbol in the given time period.",
 15833                                  "format": "double",
 15834                                  "type": "number"
 15835                                },
 15836                                "t": {
 15837                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 15838                                  "type": "integer"
 15839                                },
 15840                                "v": {
 15841                                  "description": "The trading volume of the symbol in the given time period.",
 15842                                  "format": "double",
 15843                                  "type": "number"
 15844                                },
 15845                                "vw": {
 15846                                  "description": "The volume weighted average price.",
 15847                                  "format": "double",
 15848                                  "type": "number"
 15849                                }
 15850                              },
 15851                              "required": [
 15852                                "o",
 15853                                "h",
 15854                                "l",
 15855                                "c",
 15856                                "v",
 15857                                "t"
 15858                              ],
 15859                              "type": "object"
 15860                            },
 15861                            "type": "array"
 15862                          }
 15863                        },
 15864                        "type": "object"
 15865                      }
 15866                    ]
 15867                  }
 15868                },
 15869                "text/csv": {
 15870                  "example": "c,h,l,n,o,t,v,vw\n10094.75,10429.26,9490,1,9557.9,1590984000000,303067.6562332156,9874.5529\n9492.62,10222.72,9135.68,1,10096.87,1591070400000,323339.6922892879,9729.5701\n",
 15871                  "schema": {
 15872                    "type": "string"
 15873                  }
 15874                }
 15875              },
 15876              "description": "Cryptocurrency Aggregates."
 15877            },
 15878            "default": {
 15879              "description": "Unexpected error"
 15880            }
 15881          },
 15882          "summary": "Aggregates (Bars)",
 15883          "tags": [
 15884            "crypto:aggregates"
 15885          ],
 15886          "x-polygon-entitlement-data-type": {
 15887            "description": "Aggregate data",
 15888            "name": "aggregates"
 15889          },
 15890          "x-polygon-entitlement-market-type": {
 15891            "description": "Crypto data",
 15892            "name": "crypto"
 15893          }
 15894        }
 15895      },
 15896      "/v2/aggs/ticker/{forexTicker}/prev": {
 15897        "get": {
 15898          "description": "Get the previous day's open, high, low, and close (OHLC) for the specified forex pair.\n",
 15899          "parameters": [
 15900            {
 15901              "description": "The ticker symbol of the currency pair.",
 15902              "example": "C:EURUSD",
 15903              "in": "path",
 15904              "name": "forexTicker",
 15905              "required": true,
 15906              "schema": {
 15907                "type": "string"
 15908              }
 15909            },
 15910            {
 15911              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 15912              "example": true,
 15913              "in": "query",
 15914              "name": "adjusted",
 15915              "schema": {
 15916                "type": "boolean"
 15917              }
 15918            }
 15919          ],
 15920          "responses": {
 15921            "200": {
 15922              "content": {
 15923                "application/json": {
 15924                  "example": {
 15925                    "adjusted": true,
 15926                    "queryCount": 1,
 15927                    "request_id": "08ec061fb85115678d68452c0a609cb7",
 15928                    "results": [
 15929                      {
 15930                        "T": "C:EURUSD",
 15931                        "c": 1.06206,
 15932                        "h": 1.0631,
 15933                        "l": 1.0505,
 15934                        "n": 180300,
 15935                        "o": 1.05252,
 15936                        "t": 1651708799999,
 15937                        "v": 180300,
 15938                        "vw": 1.055
 15939                      }
 15940                    ],
 15941                    "resultsCount": 1,
 15942                    "status": "OK",
 15943                    "ticker": "C:EURUSD"
 15944                  },
 15945                  "schema": {
 15946                    "allOf": [
 15947                      {
 15948                        "properties": {
 15949                          "ticker": {
 15950                            "description": "The exchange symbol that this item is traded under.",
 15951                            "type": "string"
 15952                          }
 15953                        },
 15954                        "required": [
 15955                          "ticker"
 15956                        ],
 15957                        "type": "object"
 15958                      },
 15959                      {
 15960                        "properties": {
 15961                          "adjusted": {
 15962                            "description": "Whether or not this response was adjusted for splits.",
 15963                            "type": "boolean"
 15964                          },
 15965                          "queryCount": {
 15966                            "description": "The number of aggregates (minute or day) used to generate the response.",
 15967                            "type": "integer"
 15968                          },
 15969                          "request_id": {
 15970                            "description": "A request id assigned by the server.",
 15971                            "type": "string"
 15972                          },
 15973                          "resultsCount": {
 15974                            "description": "The total number of results for this request.",
 15975                            "type": "integer"
 15976                          },
 15977                          "status": {
 15978                            "description": "The status of this request's response.",
 15979                            "type": "string"
 15980                          }
 15981                        },
 15982                        "required": [
 15983                          "status",
 15984                          "adjusted",
 15985                          "queryCount",
 15986                          "resultsCount",
 15987                          "request_id"
 15988                        ],
 15989                        "type": "object"
 15990                      },
 15991                      {
 15992                        "properties": {
 15993                          "results": {
 15994                            "items": {
 15995                              "properties": {
 15996                                "T": {
 15997                                  "description": "The exchange symbol that this item is traded under.",
 15998                                  "type": "string"
 15999                                },
 16000                                "c": {
 16001                                  "description": "The close price for the symbol in the given time period.",
 16002                                  "format": "double",
 16003                                  "type": "number"
 16004                                },
 16005                                "h": {
 16006                                  "description": "The highest price for the symbol in the given time period.",
 16007                                  "format": "double",
 16008                                  "type": "number"
 16009                                },
 16010                                "l": {
 16011                                  "description": "The lowest price for the symbol in the given time period.",
 16012                                  "format": "double",
 16013                                  "type": "number"
 16014                                },
 16015                                "n": {
 16016                                  "description": "The number of transactions in the aggregate window.",
 16017                                  "type": "integer"
 16018                                },
 16019                                "o": {
 16020                                  "description": "The open price for the symbol in the given time period.",
 16021                                  "format": "double",
 16022                                  "type": "number"
 16023                                },
 16024                                "t": {
 16025                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 16026                                  "type": "integer"
 16027                                },
 16028                                "v": {
 16029                                  "description": "The trading volume of the symbol in the given time period.",
 16030                                  "format": "double",
 16031                                  "type": "number"
 16032                                },
 16033                                "vw": {
 16034                                  "description": "The volume weighted average price.",
 16035                                  "format": "double",
 16036                                  "type": "number"
 16037                                }
 16038                              },
 16039                              "required": [
 16040                                "T",
 16041                                "v",
 16042                                "o",
 16043                                "c",
 16044                                "h",
 16045                                "l",
 16046                                "t"
 16047                              ],
 16048                              "type": "object"
 16049                            },
 16050                            "type": "array"
 16051                          }
 16052                        },
 16053                        "type": "object"
 16054                      }
 16055                    ]
 16056                  }
 16057                },
 16058                "text/csv": {
 16059                  "example": "T,c,h,l,n,o,t,v,vw\nC:EURUSD,1.06206,1.0631,1.0505,180300,1.05252,1651708799999,180300,1.055\n",
 16060                  "schema": {
 16061                    "type": "string"
 16062                  }
 16063                }
 16064              },
 16065              "description": "The previous day OHLC for the ticker."
 16066            },
 16067            "default": {
 16068              "description": "Unexpected error"
 16069            }
 16070          },
 16071          "summary": "Previous Close",
 16072          "tags": [
 16073            "fx:aggregates"
 16074          ],
 16075          "x-polygon-entitlement-data-type": {
 16076            "description": "Aggregate data",
 16077            "name": "aggregates"
 16078          },
 16079          "x-polygon-entitlement-market-type": {
 16080            "description": "Forex data",
 16081            "name": "fx"
 16082          }
 16083        }
 16084      },
 16085      "/v2/aggs/ticker/{forexTicker}/range/{multiplier}/{timespan}/{from}/{to}": {
 16086        "get": {
 16087          "description": "Get aggregate bars for a forex pair over a given date range in custom time window sizes.\n\u003cbr /\u003e\n\u003cbr /\u003e\nFor example, if timespan = ‘minute’ and multiplier = ‘5’ then 5-minute bars will be returned.\n",
 16088          "parameters": [
 16089            {
 16090              "description": "The ticker symbol of the currency pair.",
 16091              "example": "C:EURUSD",
 16092              "in": "path",
 16093              "name": "forexTicker",
 16094              "required": true,
 16095              "schema": {
 16096                "type": "string"
 16097              }
 16098            },
 16099            {
 16100              "description": "The size of the timespan multiplier.",
 16101              "example": 1,
 16102              "in": "path",
 16103              "name": "multiplier",
 16104              "required": true,
 16105              "schema": {
 16106                "type": "integer"
 16107              }
 16108            },
 16109            {
 16110              "description": "The size of the time window.",
 16111              "example": "day",
 16112              "in": "path",
 16113              "name": "timespan",
 16114              "required": true,
 16115              "schema": {
 16116                "enum": [
 16117                  "second",
 16118                  "minute",
 16119                  "hour",
 16120                  "day",
 16121                  "week",
 16122                  "month",
 16123                  "quarter",
 16124                  "year"
 16125                ],
 16126                "type": "string"
 16127              }
 16128            },
 16129            {
 16130              "description": "The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 16131              "example": "2023-01-09",
 16132              "in": "path",
 16133              "name": "from",
 16134              "required": true,
 16135              "schema": {
 16136                "type": "string"
 16137              }
 16138            },
 16139            {
 16140              "description": "The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 16141              "example": "2023-01-09",
 16142              "in": "path",
 16143              "name": "to",
 16144              "required": true,
 16145              "schema": {
 16146                "type": "string"
 16147              }
 16148            },
 16149            {
 16150              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 16151              "example": true,
 16152              "in": "query",
 16153              "name": "adjusted",
 16154              "schema": {
 16155                "type": "boolean"
 16156              }
 16157            },
 16158            {
 16159              "description": "Sort the results by timestamp.\n`asc` will return results in ascending order (oldest at the top),\n`desc` will return results in descending order (newest at the top).\n",
 16160              "example": "asc",
 16161              "in": "query",
 16162              "name": "sort",
 16163              "schema": {
 16164                "enum": [
 16165                  "asc",
 16166                  "desc"
 16167                ]
 16168              }
 16169            },
 16170            {
 16171              "description": "Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000.\nRead more about how limit is used to calculate aggregate results in our article on\n\u003ca href=\"https://polygon.io/blog/aggs-api-updates/\" target=\"_blank\" alt=\"Aggregate Data API Improvements\"\u003eAggregate Data API Improvements\u003c/a\u003e.\n",
 16172              "example": 120,
 16173              "in": "query",
 16174              "name": "limit",
 16175              "schema": {
 16176                "type": "integer"
 16177              }
 16178            }
 16179          ],
 16180          "responses": {
 16181            "200": {
 16182              "content": {
 16183                "application/json": {
 16184                  "example": {
 16185                    "adjusted": true,
 16186                    "queryCount": 1,
 16187                    "request_id": "79c061995d8b627b736170bc9653f15d",
 16188                    "results": [
 16189                      {
 16190                        "c": 1.17721,
 16191                        "h": 1.18305,
 16192                        "l": 1.1756,
 16193                        "n": 125329,
 16194                        "o": 1.17921,
 16195                        "t": 1626912000000,
 16196                        "v": 125329,
 16197                        "vw": 1.1789
 16198                      }
 16199                    ],
 16200                    "resultsCount": 1,
 16201                    "status": "OK",
 16202                    "ticker": "C:EURUSD"
 16203                  },
 16204                  "schema": {
 16205                    "allOf": [
 16206                      {
 16207                        "properties": {
 16208                          "ticker": {
 16209                            "description": "The exchange symbol that this item is traded under.",
 16210                            "type": "string"
 16211                          }
 16212                        },
 16213                        "required": [
 16214                          "ticker"
 16215                        ],
 16216                        "type": "object"
 16217                      },
 16218                      {
 16219                        "properties": {
 16220                          "adjusted": {
 16221                            "description": "Whether or not this response was adjusted for splits.",
 16222                            "type": "boolean"
 16223                          },
 16224                          "queryCount": {
 16225                            "description": "The number of aggregates (minute or day) used to generate the response.",
 16226                            "type": "integer"
 16227                          },
 16228                          "request_id": {
 16229                            "description": "A request id assigned by the server.",
 16230                            "type": "string"
 16231                          },
 16232                          "resultsCount": {
 16233                            "description": "The total number of results for this request.",
 16234                            "type": "integer"
 16235                          },
 16236                          "status": {
 16237                            "description": "The status of this request's response.",
 16238                            "type": "string"
 16239                          }
 16240                        },
 16241                        "required": [
 16242                          "status",
 16243                          "adjusted",
 16244                          "queryCount",
 16245                          "resultsCount",
 16246                          "request_id"
 16247                        ],
 16248                        "type": "object"
 16249                      },
 16250                      {
 16251                        "properties": {
 16252                          "results": {
 16253                            "items": {
 16254                              "properties": {
 16255                                "c": {
 16256                                  "description": "The close price for the symbol in the given time period.",
 16257                                  "format": "double",
 16258                                  "type": "number"
 16259                                },
 16260                                "h": {
 16261                                  "description": "The highest price for the symbol in the given time period.",
 16262                                  "format": "double",
 16263                                  "type": "number"
 16264                                },
 16265                                "l": {
 16266                                  "description": "The lowest price for the symbol in the given time period.",
 16267                                  "format": "double",
 16268                                  "type": "number"
 16269                                },
 16270                                "n": {
 16271                                  "description": "The number of transactions in the aggregate window.",
 16272                                  "type": "integer"
 16273                                },
 16274                                "o": {
 16275                                  "description": "The open price for the symbol in the given time period.",
 16276                                  "format": "double",
 16277                                  "type": "number"
 16278                                },
 16279                                "t": {
 16280                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 16281                                  "type": "integer"
 16282                                },
 16283                                "v": {
 16284                                  "description": "The trading volume of the symbol in the given time period.",
 16285                                  "format": "double",
 16286                                  "type": "number"
 16287                                },
 16288                                "vw": {
 16289                                  "description": "The volume weighted average price.",
 16290                                  "format": "double",
 16291                                  "type": "number"
 16292                                }
 16293                              },
 16294                              "required": [
 16295                                "o",
 16296                                "h",
 16297                                "l",
 16298                                "c",
 16299                                "v",
 16300                                "t"
 16301                              ],
 16302                              "type": "object"
 16303                            },
 16304                            "type": "array"
 16305                          }
 16306                        },
 16307                        "type": "object"
 16308                      }
 16309                    ]
 16310                  }
 16311                },
 16312                "text/csv": {
 16313                  "example": "c,h,l,n,o,t,v,vw\n1.17721,1.18305,1.1756,125329,1.17921,1626912000000,125329,1.1789\n",
 16314                  "schema": {
 16315                    "type": "string"
 16316                  }
 16317                }
 16318              },
 16319              "description": "Forex Aggregates."
 16320            },
 16321            "default": {
 16322              "description": "Unexpected error"
 16323            }
 16324          },
 16325          "summary": "Aggregates (Bars)",
 16326          "tags": [
 16327            "fx:aggregates"
 16328          ],
 16329          "x-polygon-entitlement-data-type": {
 16330            "description": "Aggregate data",
 16331            "name": "aggregates"
 16332          },
 16333          "x-polygon-entitlement-market-type": {
 16334            "description": "Forex data",
 16335            "name": "fx"
 16336          }
 16337        }
 16338      },
 16339      "/v2/aggs/ticker/{indicesTicker}/prev": {
 16340        "get": {
 16341          "description": "Get the previous day's open, high, low, and close (OHLC) for the specified index.\n",
 16342          "parameters": [
 16343            {
 16344              "description": "The ticker symbol of Index.",
 16345              "example": "I:NDX",
 16346              "in": "path",
 16347              "name": "indicesTicker",
 16348              "required": true,
 16349              "schema": {
 16350                "type": "string"
 16351              }
 16352            }
 16353          ],
 16354          "responses": {
 16355            "200": {
 16356              "content": {
 16357                "application/json": {
 16358                  "example": {
 16359                    "queryCount": 1,
 16360                    "request_id": "b2170df985474b6d21a6eeccfb6bee67",
 16361                    "results": [
 16362                      {
 16363                        "T": "I:NDX",
 16364                        "c": 15070.14948566977,
 16365                        "h": 15127.4195807999,
 16366                        "l": 14946.7243781848,
 16367                        "o": 15036.48391066877,
 16368                        "t": 1687291200000
 16369                      }
 16370                    ],
 16371                    "resultsCount": 1,
 16372                    "status": "OK",
 16373                    "ticker": "I:NDX"
 16374                  },
 16375                  "schema": {
 16376                    "allOf": [
 16377                      {
 16378                        "properties": {
 16379                          "ticker": {
 16380                            "description": "The exchange symbol that this item is traded under.",
 16381                            "type": "string"
 16382                          }
 16383                        },
 16384                        "required": [
 16385                          "ticker"
 16386                        ],
 16387                        "type": "object"
 16388                      },
 16389                      {
 16390                        "properties": {
 16391                          "queryCount": {
 16392                            "description": "The number of aggregates (minute or day) used to generate the response.",
 16393                            "type": "integer"
 16394                          },
 16395                          "request_id": {
 16396                            "description": "A request id assigned by the server.",
 16397                            "type": "string"
 16398                          },
 16399                          "resultsCount": {
 16400                            "description": "The total number of results for this request.",
 16401                            "type": "integer"
 16402                          },
 16403                          "status": {
 16404                            "description": "The status of this request's response.",
 16405                            "type": "string"
 16406                          }
 16407                        },
 16408                        "required": [
 16409                          "status",
 16410                          "queryCount",
 16411                          "resultsCount",
 16412                          "request_id"
 16413                        ],
 16414                        "type": "object"
 16415                      },
 16416                      {
 16417                        "properties": {
 16418                          "results": {
 16419                            "items": {
 16420                              "properties": {
 16421                                "c": {
 16422                                  "description": "The close value for the symbol in the given time period.",
 16423                                  "format": "double",
 16424                                  "type": "number"
 16425                                },
 16426                                "h": {
 16427                                  "description": "The highest value for the symbol in the given time period.",
 16428                                  "format": "double",
 16429                                  "type": "number"
 16430                                },
 16431                                "l": {
 16432                                  "description": "The lowest value for the symbol in the given time period.",
 16433                                  "format": "double",
 16434                                  "type": "number"
 16435                                },
 16436                                "o": {
 16437                                  "description": "The open value for the symbol in the given time period.",
 16438                                  "format": "double",
 16439                                  "type": "number"
 16440                                },
 16441                                "t": {
 16442                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 16443                                  "type": "integer"
 16444                                }
 16445                              },
 16446                              "required": [
 16447                                "o",
 16448                                "h",
 16449                                "l",
 16450                                "c",
 16451                                "t"
 16452                              ],
 16453                              "type": "object"
 16454                            },
 16455                            "type": "array"
 16456                          }
 16457                        },
 16458                        "type": "object"
 16459                      }
 16460                    ]
 16461                  }
 16462                },
 16463                "text/csv": {
 16464                  "example": "T,c,h,l,o,t,v,vw\nI:NDX,15036.48391066877,15070.14948566977,15127.4195807999,14946.7243781848,1687291200000\n",
 16465                  "schema": {
 16466                    "type": "string"
 16467                  }
 16468                }
 16469              },
 16470              "description": "The previous day OHLC for a index."
 16471            },
 16472            "default": {
 16473              "description": "Unexpected error"
 16474            }
 16475          },
 16476          "summary": "Previous Close",
 16477          "tags": [
 16478            "indices:aggregates"
 16479          ],
 16480          "x-polygon-entitlement-allowed-limited-tickers": true,
 16481          "x-polygon-entitlement-data-type": {
 16482            "description": "Aggregate data",
 16483            "name": "aggregates"
 16484          },
 16485          "x-polygon-entitlement-market-type": {
 16486            "description": "Indices data",
 16487            "name": "indices"
 16488          }
 16489        }
 16490      },
 16491      "/v2/aggs/ticker/{indicesTicker}/range/{multiplier}/{timespan}/{from}/{to}": {
 16492        "get": {
 16493          "description": "Get aggregate bars for an index over a given date range in custom time window sizes.\n\u003cbr /\u003e\n\u003cbr /\u003e\nFor example, if timespan = ‘minute’ and multiplier = ‘5’ then 5-minute bars will be returned.\n",
 16494          "parameters": [
 16495            {
 16496              "description": "The ticker symbol of Index.",
 16497              "example": "I:NDX",
 16498              "in": "path",
 16499              "name": "indicesTicker",
 16500              "required": true,
 16501              "schema": {
 16502                "type": "string"
 16503              }
 16504            },
 16505            {
 16506              "description": "The size of the timespan multiplier.",
 16507              "example": 1,
 16508              "in": "path",
 16509              "name": "multiplier",
 16510              "required": true,
 16511              "schema": {
 16512                "type": "integer"
 16513              }
 16514            },
 16515            {
 16516              "description": "The size of the time window.",
 16517              "example": "day",
 16518              "in": "path",
 16519              "name": "timespan",
 16520              "required": true,
 16521              "schema": {
 16522                "enum": [
 16523                  "second",
 16524                  "minute",
 16525                  "hour",
 16526                  "day",
 16527                  "week",
 16528                  "month",
 16529                  "quarter",
 16530                  "year"
 16531                ],
 16532                "type": "string"
 16533              }
 16534            },
 16535            {
 16536              "description": "The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 16537              "example": "2023-03-10",
 16538              "in": "path",
 16539              "name": "from",
 16540              "required": true,
 16541              "schema": {
 16542                "type": "string"
 16543              }
 16544            },
 16545            {
 16546              "description": "The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 16547              "example": "2023-03-10",
 16548              "in": "path",
 16549              "name": "to",
 16550              "required": true,
 16551              "schema": {
 16552                "type": "string"
 16553              }
 16554            },
 16555            {
 16556              "description": "Sort the results by timestamp.\n`asc` will return results in ascending order (oldest at the top),\n`desc` will return results in descending order (newest at the top).\n",
 16557              "example": "asc",
 16558              "in": "query",
 16559              "name": "sort",
 16560              "schema": {
 16561                "enum": [
 16562                  "asc",
 16563                  "desc"
 16564                ]
 16565              }
 16566            },
 16567            {
 16568              "description": "Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000.\nRead more about how limit is used to calculate aggregate results in our article on\n\u003ca href=\"https://polygon.io/blog/aggs-api-updates/\" target=\"_blank\" alt=\"Aggregate Data API Improvements\"\u003eAggregate Data API Improvements\u003c/a\u003e.\n",
 16569              "example": 120,
 16570              "in": "query",
 16571              "name": "limit",
 16572              "schema": {
 16573                "type": "integer"
 16574              }
 16575            }
 16576          ],
 16577          "responses": {
 16578            "200": {
 16579              "content": {
 16580                "application/json": {
 16581                  "example": {
 16582                    "count": 2,
 16583                    "queryCount": 2,
 16584                    "request_id": "0cf72b6da685bcd386548ffe2895904a",
 16585                    "results": [
 16586                      {
 16587                        "c": 11995.88235998666,
 16588                        "h": 12340.44936267155,
 16589                        "l": 11970.34221717375,
 16590                        "o": 12230.83658266843,
 16591                        "t": 1678341600000
 16592                      },
 16593                      {
 16594                        "c": 11830.28178808306,
 16595                        "h": 12069.62262033557,
 16596                        "l": 11789.85923449393,
 16597                        "o": 12001.69552583921,
 16598                        "t": 1678428000000
 16599                      }
 16600                    ],
 16601                    "status": "OK",
 16602                    "ticker": "I:NDX"
 16603                  },
 16604                  "schema": {
 16605                    "allOf": [
 16606                      {
 16607                        "properties": {
 16608                          "ticker": {
 16609                            "description": "The exchange symbol that this item is traded under.",
 16610                            "type": "string"
 16611                          }
 16612                        },
 16613                        "required": [
 16614                          "ticker"
 16615                        ],
 16616                        "type": "object"
 16617                      },
 16618                      {
 16619                        "properties": {
 16620                          "queryCount": {
 16621                            "description": "The number of aggregates (minute or day) used to generate the response.",
 16622                            "type": "integer"
 16623                          },
 16624                          "request_id": {
 16625                            "description": "A request id assigned by the server.",
 16626                            "type": "string"
 16627                          },
 16628                          "resultsCount": {
 16629                            "description": "The total number of results for this request.",
 16630                            "type": "integer"
 16631                          },
 16632                          "status": {
 16633                            "description": "The status of this request's response.",
 16634                            "type": "string"
 16635                          }
 16636                        },
 16637                        "required": [
 16638                          "status",
 16639                          "queryCount",
 16640                          "resultsCount",
 16641                          "request_id"
 16642                        ],
 16643                        "type": "object"
 16644                      },
 16645                      {
 16646                        "properties": {
 16647                          "results": {
 16648                            "items": {
 16649                              "properties": {
 16650                                "c": {
 16651                                  "description": "The close value for the symbol in the given time period.",
 16652                                  "format": "double",
 16653                                  "type": "number"
 16654                                },
 16655                                "h": {
 16656                                  "description": "The highest value for the symbol in the given time period.",
 16657                                  "format": "double",
 16658                                  "type": "number"
 16659                                },
 16660                                "l": {
 16661                                  "description": "The lowest value for the symbol in the given time period.",
 16662                                  "format": "double",
 16663                                  "type": "number"
 16664                                },
 16665                                "o": {
 16666                                  "description": "The open value for the symbol in the given time period.",
 16667                                  "format": "double",
 16668                                  "type": "number"
 16669                                },
 16670                                "t": {
 16671                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 16672                                  "type": "integer"
 16673                                }
 16674                              },
 16675                              "required": [
 16676                                "o",
 16677                                "h",
 16678                                "l",
 16679                                "c",
 16680                                "t"
 16681                              ],
 16682                              "type": "object"
 16683                            },
 16684                            "type": "array"
 16685                          }
 16686                        },
 16687                        "type": "object"
 16688                      }
 16689                    ]
 16690                  }
 16691                },
 16692                "text/csv": {
 16693                  "example": "c,h,l,n,o,t\n11995.88235998666,12340.44936267155,11970.34221717375,12230.83658266843,1678341600000\n11830.28178808306,12069.62262033557,11789.85923449393,12001.69552583921,1678341600000\n",
 16694                  "schema": {
 16695                    "type": "string"
 16696                  }
 16697                }
 16698              },
 16699              "description": "Index Aggregates."
 16700            },
 16701            "default": {
 16702              "description": "Unexpected error"
 16703            }
 16704          },
 16705          "summary": "Aggregates (Bars)",
 16706          "tags": [
 16707            "indices:aggregates"
 16708          ],
 16709          "x-polygon-entitlement-allowed-limited-tickers": true,
 16710          "x-polygon-entitlement-data-type": {
 16711            "description": "Aggregate data",
 16712            "name": "aggregates"
 16713          },
 16714          "x-polygon-entitlement-market-type": {
 16715            "description": "Indices data",
 16716            "name": "indices"
 16717          }
 16718        }
 16719      },
 16720      "/v2/aggs/ticker/{optionsTicker}/prev": {
 16721        "get": {
 16722          "description": "Get the previous day's open, high, low, and close (OHLC) for the specified option contract.\n",
 16723          "parameters": [
 16724            {
 16725              "description": "The ticker symbol of the options contract.",
 16726              "example": "O:SPY251219C00650000",
 16727              "in": "path",
 16728              "name": "optionsTicker",
 16729              "required": true,
 16730              "schema": {
 16731                "type": "string"
 16732              }
 16733            },
 16734            {
 16735              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 16736              "example": true,
 16737              "in": "query",
 16738              "name": "adjusted",
 16739              "schema": {
 16740                "type": "boolean"
 16741              }
 16742            }
 16743          ],
 16744          "responses": {
 16745            "200": {
 16746              "content": {
 16747                "application/json": {
 16748                  "example": {
 16749                    "adjusted": true,
 16750                    "queryCount": 1,
 16751                    "request_id": "6a7e466379af0a71039d60cc78e72282",
 16752                    "results": [
 16753                      {
 16754                        "T": "O:TSLA210903C00700000",
 16755                        "c": 115.97,
 16756                        "h": 117.59,
 16757                        "l": 114.13,
 16758                        "n": 2,
 16759                        "o": 115.55,
 16760                        "t": 1605042000000,
 16761                        "v": 131704427,
 16762                        "vw": 116.3058
 16763                      }
 16764                    ],
 16765                    "resultsCount": 1,
 16766                    "status": "OK",
 16767                    "ticker": "O:TSLA210903C00700000"
 16768                  },
 16769                  "schema": {
 16770                    "allOf": [
 16771                      {
 16772                        "properties": {
 16773                          "ticker": {
 16774                            "description": "The exchange symbol that this item is traded under.",
 16775                            "type": "string"
 16776                          }
 16777                        },
 16778                        "required": [
 16779                          "ticker"
 16780                        ],
 16781                        "type": "object"
 16782                      },
 16783                      {
 16784                        "properties": {
 16785                          "adjusted": {
 16786                            "description": "Whether or not this response was adjusted for splits.",
 16787                            "type": "boolean"
 16788                          },
 16789                          "queryCount": {
 16790                            "description": "The number of aggregates (minute or day) used to generate the response.",
 16791                            "type": "integer"
 16792                          },
 16793                          "request_id": {
 16794                            "description": "A request id assigned by the server.",
 16795                            "type": "string"
 16796                          },
 16797                          "resultsCount": {
 16798                            "description": "The total number of results for this request.",
 16799                            "type": "integer"
 16800                          },
 16801                          "status": {
 16802                            "description": "The status of this request's response.",
 16803                            "type": "string"
 16804                          }
 16805                        },
 16806                        "required": [
 16807                          "status",
 16808                          "adjusted",
 16809                          "queryCount",
 16810                          "resultsCount",
 16811                          "request_id"
 16812                        ],
 16813                        "type": "object"
 16814                      },
 16815                      {
 16816                        "properties": {
 16817                          "results": {
 16818                            "items": {
 16819                              "properties": {
 16820                                "c": {
 16821                                  "description": "The close price for the symbol in the given time period.",
 16822                                  "format": "double",
 16823                                  "type": "number"
 16824                                },
 16825                                "h": {
 16826                                  "description": "The highest price for the symbol in the given time period.",
 16827                                  "format": "double",
 16828                                  "type": "number"
 16829                                },
 16830                                "l": {
 16831                                  "description": "The lowest price for the symbol in the given time period.",
 16832                                  "format": "double",
 16833                                  "type": "number"
 16834                                },
 16835                                "n": {
 16836                                  "description": "The number of transactions in the aggregate window.",
 16837                                  "type": "integer"
 16838                                },
 16839                                "o": {
 16840                                  "description": "The open price for the symbol in the given time period.",
 16841                                  "format": "double",
 16842                                  "type": "number"
 16843                                },
 16844                                "t": {
 16845                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 16846                                  "type": "integer"
 16847                                },
 16848                                "v": {
 16849                                  "description": "The trading volume of the symbol in the given time period.",
 16850                                  "format": "double",
 16851                                  "type": "number"
 16852                                },
 16853                                "vw": {
 16854                                  "description": "The volume weighted average price.",
 16855                                  "format": "double",
 16856                                  "type": "number"
 16857                                }
 16858                              },
 16859                              "required": [
 16860                                "o",
 16861                                "h",
 16862                                "l",
 16863                                "c",
 16864                                "v",
 16865                                "t"
 16866                              ],
 16867                              "type": "object"
 16868                            },
 16869                            "type": "array"
 16870                          }
 16871                        },
 16872                        "type": "object"
 16873                      }
 16874                    ]
 16875                  }
 16876                },
 16877                "text/csv": {
 16878                  "example": "T,c,h,l,n,o,t,v,vw\nO:TSLA210903C00700000,115.97,117.59,114.13,2,115.55,1605042000000,131704427.0,116.3058\n",
 16879                  "schema": {
 16880                    "type": "string"
 16881                  }
 16882                }
 16883              },
 16884              "description": "The previous day OHLC for the options contract."
 16885            },
 16886            "default": {
 16887              "description": "Unexpected error"
 16888            }
 16889          },
 16890          "summary": "Previous Close",
 16891          "tags": [
 16892            "options:aggregates"
 16893          ],
 16894          "x-polygon-entitlement-data-type": {
 16895            "description": "Aggregate data",
 16896            "name": "aggregates"
 16897          },
 16898          "x-polygon-entitlement-market-type": {
 16899            "description": "Options data",
 16900            "name": "options"
 16901          }
 16902        }
 16903      },
 16904      "/v2/aggs/ticker/{optionsTicker}/range/{multiplier}/{timespan}/{from}/{to}": {
 16905        "get": {
 16906          "description": "Get aggregate bars for an option contract over a given date range in custom time window sizes.\n\u003cbr /\u003e\n\u003cbr /\u003e\nFor example, if timespan = ‘minute’ and multiplier = ‘5’ then 5-minute bars will be returned.\n",
 16907          "parameters": [
 16908            {
 16909              "description": "The ticker symbol of the options contract.",
 16910              "example": "O:SPY251219C00650000",
 16911              "in": "path",
 16912              "name": "optionsTicker",
 16913              "required": true,
 16914              "schema": {
 16915                "type": "string"
 16916              }
 16917            },
 16918            {
 16919              "description": "The size of the timespan multiplier.",
 16920              "example": 1,
 16921              "in": "path",
 16922              "name": "multiplier",
 16923              "required": true,
 16924              "schema": {
 16925                "type": "integer"
 16926              }
 16927            },
 16928            {
 16929              "description": "The size of the time window.",
 16930              "example": "day",
 16931              "in": "path",
 16932              "name": "timespan",
 16933              "required": true,
 16934              "schema": {
 16935                "enum": [
 16936                  "second",
 16937                  "minute",
 16938                  "hour",
 16939                  "day",
 16940                  "week",
 16941                  "month",
 16942                  "quarter",
 16943                  "year"
 16944                ],
 16945                "type": "string"
 16946              }
 16947            },
 16948            {
 16949              "description": "The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 16950              "example": "2023-01-09",
 16951              "in": "path",
 16952              "name": "from",
 16953              "required": true,
 16954              "schema": {
 16955                "type": "string"
 16956              }
 16957            },
 16958            {
 16959              "description": "The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 16960              "example": "2023-01-09",
 16961              "in": "path",
 16962              "name": "to",
 16963              "required": true,
 16964              "schema": {
 16965                "type": "string"
 16966              }
 16967            },
 16968            {
 16969              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 16970              "example": true,
 16971              "in": "query",
 16972              "name": "adjusted",
 16973              "schema": {
 16974                "type": "boolean"
 16975              }
 16976            },
 16977            {
 16978              "description": "Sort the results by timestamp.\n`asc` will return results in ascending order (oldest at the top),\n`desc` will return results in descending order (newest at the top).\n",
 16979              "example": "asc",
 16980              "in": "query",
 16981              "name": "sort",
 16982              "schema": {
 16983                "enum": [
 16984                  "asc",
 16985                  "desc"
 16986                ]
 16987              }
 16988            },
 16989            {
 16990              "description": "Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000.\nRead more about how limit is used to calculate aggregate results in our article on\n\u003ca href=\"https://polygon.io/blog/aggs-api-updates/\" target=\"_blank\" alt=\"Aggregate Data API Improvements\"\u003eAggregate Data API Improvements\u003c/a\u003e.\n",
 16991              "example": 120,
 16992              "in": "query",
 16993              "name": "limit",
 16994              "schema": {
 16995                "type": "integer"
 16996              }
 16997            }
 16998          ],
 16999          "responses": {
 17000            "200": {
 17001              "content": {
 17002                "application/json": {
 17003                  "example": {
 17004                    "adjusted": true,
 17005                    "count": 2,
 17006                    "queryCount": 2,
 17007                    "request_id": "5585acde-5085-42d6-95b2-2e388a28370a",
 17008                    "results": [
 17009                      {
 17010                        "c": 26.2,
 17011                        "h": 26.2,
 17012                        "l": 26.2,
 17013                        "n": 1,
 17014                        "o": 26.2,
 17015                        "t": 1632369600000,
 17016                        "v": 2,
 17017                        "vw": 26.2
 17018                      },
 17019                      {
 17020                        "c": 28.3,
 17021                        "h": 28.3,
 17022                        "l": 28.3,
 17023                        "n": 1,
 17024                        "o": 28.3,
 17025                        "t": 1632456000000,
 17026                        "v": 2,
 17027                        "vw": 28.3
 17028                      }
 17029                    ],
 17030                    "resultsCount": 2,
 17031                    "status": "OK",
 17032                    "ticker": "O:RDFN211119C00025000"
 17033                  },
 17034                  "schema": {
 17035                    "allOf": [
 17036                      {
 17037                        "properties": {
 17038                          "ticker": {
 17039                            "description": "The exchange symbol that this item is traded under.",
 17040                            "type": "string"
 17041                          }
 17042                        },
 17043                        "required": [
 17044                          "ticker"
 17045                        ],
 17046                        "type": "object"
 17047                      },
 17048                      {
 17049                        "properties": {
 17050                          "adjusted": {
 17051                            "description": "Whether or not this response was adjusted for splits.",
 17052                            "type": "boolean"
 17053                          },
 17054                          "queryCount": {
 17055                            "description": "The number of aggregates (minute or day) used to generate the response.",
 17056                            "type": "integer"
 17057                          },
 17058                          "request_id": {
 17059                            "description": "A request id assigned by the server.",
 17060                            "type": "string"
 17061                          },
 17062                          "resultsCount": {
 17063                            "description": "The total number of results for this request.",
 17064                            "type": "integer"
 17065                          },
 17066                          "status": {
 17067                            "description": "The status of this request's response.",
 17068                            "type": "string"
 17069                          }
 17070                        },
 17071                        "required": [
 17072                          "status",
 17073                          "adjusted",
 17074                          "queryCount",
 17075                          "resultsCount",
 17076                          "request_id"
 17077                        ],
 17078                        "type": "object"
 17079                      },
 17080                      {
 17081                        "properties": {
 17082                          "results": {
 17083                            "items": {
 17084                              "properties": {
 17085                                "c": {
 17086                                  "description": "The close price for the symbol in the given time period.",
 17087                                  "format": "double",
 17088                                  "type": "number"
 17089                                },
 17090                                "h": {
 17091                                  "description": "The highest price for the symbol in the given time period.",
 17092                                  "format": "double",
 17093                                  "type": "number"
 17094                                },
 17095                                "l": {
 17096                                  "description": "The lowest price for the symbol in the given time period.",
 17097                                  "format": "double",
 17098                                  "type": "number"
 17099                                },
 17100                                "n": {
 17101                                  "description": "The number of transactions in the aggregate window.",
 17102                                  "type": "integer"
 17103                                },
 17104                                "o": {
 17105                                  "description": "The open price for the symbol in the given time period.",
 17106                                  "format": "double",
 17107                                  "type": "number"
 17108                                },
 17109                                "t": {
 17110                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 17111                                  "type": "integer"
 17112                                },
 17113                                "v": {
 17114                                  "description": "The trading volume of the symbol in the given time period.",
 17115                                  "format": "double",
 17116                                  "type": "number"
 17117                                },
 17118                                "vw": {
 17119                                  "description": "The volume weighted average price.",
 17120                                  "format": "double",
 17121                                  "type": "number"
 17122                                }
 17123                              },
 17124                              "required": [
 17125                                "o",
 17126                                "h",
 17127                                "l",
 17128                                "c",
 17129                                "v",
 17130                                "t"
 17131                              ],
 17132                              "type": "object"
 17133                            },
 17134                            "type": "array"
 17135                          }
 17136                        },
 17137                        "type": "object"
 17138                      }
 17139                    ]
 17140                  }
 17141                },
 17142                "text/csv": {
 17143                  "example": "c,h,l,n,o,t,v,vw\n26.2,26.2,26.2,1,26.2,1632369600000,2,26.2\n28.3,28.3,28.3,1,28.3,1632456000000,2,28.3\n",
 17144                  "schema": {
 17145                    "type": "string"
 17146                  }
 17147                }
 17148              },
 17149              "description": "Options Aggregates."
 17150            },
 17151            "default": {
 17152              "description": "Unexpected error"
 17153            }
 17154          },
 17155          "summary": "Aggregates (Bars)",
 17156          "tags": [
 17157            "options:aggregates"
 17158          ],
 17159          "x-polygon-entitlement-data-type": {
 17160            "description": "Aggregate data",
 17161            "name": "aggregates"
 17162          },
 17163          "x-polygon-entitlement-market-type": {
 17164            "description": "Options data",
 17165            "name": "options"
 17166          }
 17167        }
 17168      },
 17169      "/v2/aggs/ticker/{stocksTicker}/prev": {
 17170        "get": {
 17171          "description": "Get the previous day's open, high, low, and close (OHLC) for the specified stock ticker.\n",
 17172          "parameters": [
 17173            {
 17174              "description": "Specify a case-sensitive ticker symbol. For example, AAPL represents Apple Inc.",
 17175              "example": "AAPL",
 17176              "in": "path",
 17177              "name": "stocksTicker",
 17178              "required": true,
 17179              "schema": {
 17180                "type": "string"
 17181              }
 17182            },
 17183            {
 17184              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 17185              "example": true,
 17186              "in": "query",
 17187              "name": "adjusted",
 17188              "schema": {
 17189                "type": "boolean"
 17190              }
 17191            }
 17192          ],
 17193          "responses": {
 17194            "200": {
 17195              "content": {
 17196                "application/json": {
 17197                  "example": {
 17198                    "adjusted": true,
 17199                    "queryCount": 1,
 17200                    "request_id": "6a7e466379af0a71039d60cc78e72282",
 17201                    "results": [
 17202                      {
 17203                        "T": "AAPL",
 17204                        "c": 115.97,
 17205                        "h": 117.59,
 17206                        "l": 114.13,
 17207                        "o": 115.55,
 17208                        "t": 1605042000000,
 17209                        "v": 131704427,
 17210                        "vw": 116.3058
 17211                      }
 17212                    ],
 17213                    "resultsCount": 1,
 17214                    "status": "OK",
 17215                    "ticker": "AAPL"
 17216                  },
 17217                  "schema": {
 17218                    "allOf": [
 17219                      {
 17220                        "properties": {
 17221                          "ticker": {
 17222                            "description": "The exchange symbol that this item is traded under.",
 17223                            "type": "string"
 17224                          }
 17225                        },
 17226                        "required": [
 17227                          "ticker"
 17228                        ],
 17229                        "type": "object"
 17230                      },
 17231                      {
 17232                        "properties": {
 17233                          "adjusted": {
 17234                            "description": "Whether or not this response was adjusted for splits.",
 17235                            "type": "boolean"
 17236                          },
 17237                          "queryCount": {
 17238                            "description": "The number of aggregates (minute or day) used to generate the response.",
 17239                            "type": "integer"
 17240                          },
 17241                          "request_id": {
 17242                            "description": "A request id assigned by the server.",
 17243                            "type": "string"
 17244                          },
 17245                          "resultsCount": {
 17246                            "description": "The total number of results for this request.",
 17247                            "type": "integer"
 17248                          },
 17249                          "status": {
 17250                            "description": "The status of this request's response.",
 17251                            "type": "string"
 17252                          }
 17253                        },
 17254                        "required": [
 17255                          "status",
 17256                          "adjusted",
 17257                          "queryCount",
 17258                          "resultsCount",
 17259                          "request_id"
 17260                        ],
 17261                        "type": "object"
 17262                      },
 17263                      {
 17264                        "properties": {
 17265                          "results": {
 17266                            "items": {
 17267                              "properties": {
 17268                                "c": {
 17269                                  "description": "The close price for the symbol in the given time period.",
 17270                                  "format": "double",
 17271                                  "type": "number"
 17272                                },
 17273                                "h": {
 17274                                  "description": "The highest price for the symbol in the given time period.",
 17275                                  "format": "double",
 17276                                  "type": "number"
 17277                                },
 17278                                "l": {
 17279                                  "description": "The lowest price for the symbol in the given time period.",
 17280                                  "format": "double",
 17281                                  "type": "number"
 17282                                },
 17283                                "n": {
 17284                                  "description": "The number of transactions in the aggregate window.",
 17285                                  "type": "integer"
 17286                                },
 17287                                "o": {
 17288                                  "description": "The open price for the symbol in the given time period.",
 17289                                  "format": "double",
 17290                                  "type": "number"
 17291                                },
 17292                                "t": {
 17293                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 17294                                  "type": "integer"
 17295                                },
 17296                                "v": {
 17297                                  "description": "The trading volume of the symbol in the given time period.",
 17298                                  "format": "double",
 17299                                  "type": "number"
 17300                                },
 17301                                "vw": {
 17302                                  "description": "The volume weighted average price.",
 17303                                  "format": "double",
 17304                                  "type": "number"
 17305                                }
 17306                              },
 17307                              "required": [
 17308                                "o",
 17309                                "h",
 17310                                "l",
 17311                                "c",
 17312                                "v",
 17313                                "t"
 17314                              ],
 17315                              "type": "object"
 17316                            },
 17317                            "type": "array"
 17318                          }
 17319                        },
 17320                        "type": "object"
 17321                      }
 17322                    ]
 17323                  }
 17324                },
 17325                "text/csv": {
 17326                  "example": "T,c,h,l,o,t,v,vw\nAAPL,115.97,117.59,114.13,115.55,1605042000000,131704427.0,116.3058\n",
 17327                  "schema": {
 17328                    "type": "string"
 17329                  }
 17330                }
 17331              },
 17332              "description": "The previous day OHLC for the ticker."
 17333            },
 17334            "default": {
 17335              "description": "Unexpected error"
 17336            }
 17337          },
 17338          "summary": "Previous Close",
 17339          "tags": [
 17340            "stocks:aggregates"
 17341          ],
 17342          "x-polygon-entitlement-data-type": {
 17343            "description": "Aggregate data",
 17344            "name": "aggregates"
 17345          },
 17346          "x-polygon-entitlement-market-type": {
 17347            "description": "Stocks data",
 17348            "name": "stocks"
 17349          }
 17350        }
 17351      },
 17352      "/v2/aggs/ticker/{stocksTicker}/range/{multiplier}/{timespan}/{from}/{to}": {
 17353        "get": {
 17354          "description": "Get aggregate bars for a stock over a given date range in custom time window sizes.\n\u003cbr /\u003e\n\u003cbr /\u003e\nFor example, if timespan = ‘minute’ and multiplier = ‘5’ then 5-minute bars will be returned.\n",
 17355          "parameters": [
 17356            {
 17357              "description": "Specify a case-sensitive ticker symbol. For example, AAPL represents Apple Inc.",
 17358              "example": "AAPL",
 17359              "in": "path",
 17360              "name": "stocksTicker",
 17361              "required": true,
 17362              "schema": {
 17363                "type": "string"
 17364              }
 17365            },
 17366            {
 17367              "description": "The size of the timespan multiplier.",
 17368              "example": 1,
 17369              "in": "path",
 17370              "name": "multiplier",
 17371              "required": true,
 17372              "schema": {
 17373                "type": "integer"
 17374              }
 17375            },
 17376            {
 17377              "description": "The size of the time window.",
 17378              "example": "day",
 17379              "in": "path",
 17380              "name": "timespan",
 17381              "required": true,
 17382              "schema": {
 17383                "enum": [
 17384                  "second",
 17385                  "minute",
 17386                  "hour",
 17387                  "day",
 17388                  "week",
 17389                  "month",
 17390                  "quarter",
 17391                  "year"
 17392                ],
 17393                "type": "string"
 17394              }
 17395            },
 17396            {
 17397              "description": "The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 17398              "example": "2023-01-09",
 17399              "in": "path",
 17400              "name": "from",
 17401              "required": true,
 17402              "schema": {
 17403                "type": "string"
 17404              }
 17405            },
 17406            {
 17407              "description": "The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
 17408              "example": "2023-01-09",
 17409              "in": "path",
 17410              "name": "to",
 17411              "required": true,
 17412              "schema": {
 17413                "type": "string"
 17414              }
 17415            },
 17416            {
 17417              "description": "Whether or not the results are adjusted for splits.  By default, results are adjusted.\nSet this to false to get results that are NOT adjusted for splits.\n",
 17418              "example": true,
 17419              "in": "query",
 17420              "name": "adjusted",
 17421              "schema": {
 17422                "type": "boolean"
 17423              }
 17424            },
 17425            {
 17426              "description": "Sort the results by timestamp.\n`asc` will return results in ascending order (oldest at the top),\n`desc` will return results in descending order (newest at the top).\n",
 17427              "example": "asc",
 17428              "in": "query",
 17429              "name": "sort",
 17430              "schema": {
 17431                "enum": [
 17432                  "asc",
 17433                  "desc"
 17434                ]
 17435              }
 17436            },
 17437            {
 17438              "description": "Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000.\nRead more about how limit is used to calculate aggregate results in our article on\n\u003ca href=\"https://polygon.io/blog/aggs-api-updates/\" target=\"_blank\" alt=\"Aggregate Data API Improvements\"\u003eAggregate Data API Improvements\u003c/a\u003e.\n",
 17439              "example": 120,
 17440              "in": "query",
 17441              "name": "limit",
 17442              "schema": {
 17443                "type": "integer"
 17444              }
 17445            }
 17446          ],
 17447          "responses": {
 17448            "200": {
 17449              "content": {
 17450                "application/json": {
 17451                  "example": {
 17452                    "adjusted": true,
 17453                    "next_url": "https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/1578114000000/2020-01-10?cursor=bGltaXQ9MiZzb3J0PWFzYw",
 17454                    "queryCount": 2,
 17455                    "request_id": "6a7e466379af0a71039d60cc78e72282",
 17456                    "results": [
 17457                      {
 17458                        "c": 75.0875,
 17459                        "h": 75.15,
 17460                        "l": 73.7975,
 17461                        "n": 1,
 17462                        "o": 74.06,
 17463                        "t": 1577941200000,
 17464                        "v": 135647456,
 17465                        "vw": 74.6099
 17466                      },
 17467                      {
 17468                        "c": 74.3575,
 17469                        "h": 75.145,
 17470                        "l": 74.125,
 17471                        "n": 1,
 17472                        "o": 74.2875,
 17473                        "t": 1578027600000,
 17474                        "v": 146535512,
 17475                        "vw": 74.7026
 17476                      }
 17477                    ],
 17478                    "resultsCount": 2,
 17479                    "status": "OK",
 17480                    "ticker": "AAPL"
 17481                  },
 17482                  "schema": {
 17483                    "allOf": [
 17484                      {
 17485                        "properties": {
 17486                          "ticker": {
 17487                            "description": "The exchange symbol that this item is traded under.",
 17488                            "type": "string"
 17489                          }
 17490                        },
 17491                        "required": [
 17492                          "ticker"
 17493                        ],
 17494                        "type": "object"
 17495                      },
 17496                      {
 17497                        "properties": {
 17498                          "adjusted": {
 17499                            "description": "Whether or not this response was adjusted for splits.",
 17500                            "type": "boolean"
 17501                          },
 17502                          "queryCount": {
 17503                            "description": "The number of aggregates (minute or day) used to generate the response.",
 17504                            "type": "integer"
 17505                          },
 17506                          "request_id": {
 17507                            "description": "A request id assigned by the server.",
 17508                            "type": "string"
 17509                          },
 17510                          "resultsCount": {
 17511                            "description": "The total number of results for this request.",
 17512                            "type": "integer"
 17513                          },
 17514                          "status": {
 17515                            "description": "The status of this request's response.",
 17516                            "type": "string"
 17517                          }
 17518                        },
 17519                        "required": [
 17520                          "status",
 17521                          "adjusted",
 17522                          "queryCount",
 17523                          "resultsCount",
 17524                          "request_id"
 17525                        ],
 17526                        "type": "object"
 17527                      },
 17528                      {
 17529                        "properties": {
 17530                          "results": {
 17531                            "items": {
 17532                              "properties": {
 17533                                "c": {
 17534                                  "description": "The close price for the symbol in the given time period.",
 17535                                  "format": "double",
 17536                                  "type": "number"
 17537                                },
 17538                                "h": {
 17539                                  "description": "The highest price for the symbol in the given time period.",
 17540                                  "format": "double",
 17541                                  "type": "number"
 17542                                },
 17543                                "l": {
 17544                                  "description": "The lowest price for the symbol in the given time period.",
 17545                                  "format": "double",
 17546                                  "type": "number"
 17547                                },
 17548                                "n": {
 17549                                  "description": "The number of transactions in the aggregate window.",
 17550                                  "type": "integer"
 17551                                },
 17552                                "o": {
 17553                                  "description": "The open price for the symbol in the given time period.",
 17554                                  "format": "double",
 17555                                  "type": "number"
 17556                                },
 17557                                "otc": {
 17558                                  "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 17559                                  "type": "boolean"
 17560                                },
 17561                                "t": {
 17562                                  "description": "The Unix Msec timestamp for the start of the aggregate window.",
 17563                                  "type": "integer"
 17564                                },
 17565                                "v": {
 17566                                  "description": "The trading volume of the symbol in the given time period.",
 17567                                  "format": "double",
 17568                                  "type": "number"
 17569                                },
 17570                                "vw": {
 17571                                  "description": "The volume weighted average price.",
 17572                                  "format": "double",
 17573                                  "type": "number"
 17574                                }
 17575                              },
 17576                              "required": [
 17577                                "o",
 17578                                "h",
 17579                                "l",
 17580                                "c",
 17581                                "v",
 17582                                "t"
 17583                              ],
 17584                              "type": "object"
 17585                            },
 17586                            "type": "array"
 17587                          }
 17588                        },
 17589                        "type": "object"
 17590                      },
 17591                      {
 17592                        "properties": {
 17593                          "next_url": {
 17594                            "description": "If present, this value can be used to fetch the next page of data.",
 17595                            "type": "string"
 17596                          }
 17597                        },
 17598                        "type": "object"
 17599                      }
 17600                    ]
 17601                  }
 17602                },
 17603                "text/csv": {
 17604                  "example": "c,h,l,n,o,t,v,vw\n75.0875,75.15,73.7975,1,74.06,1577941200000,135647456.0,74.6099\n74.3575,75.145,74.125,1,74.2875,1578027600000,146535512.0,74.7026\n",
 17605                  "schema": {
 17606                    "type": "string"
 17607                  }
 17608                }
 17609              },
 17610              "description": "Stock Aggregates."
 17611            },
 17612            "default": {
 17613              "description": "Unexpected error"
 17614            }
 17615          },
 17616          "summary": "Aggregates (Bars)",
 17617          "tags": [
 17618            "stocks:aggregates"
 17619          ],
 17620          "x-polygon-entitlement-data-type": {
 17621            "description": "Aggregate data",
 17622            "name": "aggregates"
 17623          },
 17624          "x-polygon-entitlement-market-type": {
 17625            "description": "Stocks data",
 17626            "name": "stocks"
 17627          }
 17628        }
 17629      },
 17630      "/v2/last/nbbo/{stocksTicker}": {
 17631        "get": {
 17632          "description": "Get the most recent NBBO (Quote) tick for a given stock.",
 17633          "operationId": "LastQuote",
 17634          "parameters": [
 17635            {
 17636              "description": "The ticker symbol of the stock/equity.",
 17637              "example": "AAPL",
 17638              "in": "path",
 17639              "name": "stocksTicker",
 17640              "required": true,
 17641              "schema": {
 17642                "type": "string"
 17643              },
 17644              "x-polygon-go-id": "Ticker"
 17645            }
 17646          ],
 17647          "responses": {
 17648            "200": {
 17649              "content": {
 17650                "application/json": {
 17651                  "example": {
 17652                    "request_id": "b84e24636301f19f88e0dfbf9a45ed5c",
 17653                    "results": {
 17654                      "P": 127.98,
 17655                      "S": 7,
 17656                      "T": "AAPL",
 17657                      "X": 19,
 17658                      "p": 127.96,
 17659                      "q": 83480742,
 17660                      "s": 1,
 17661                      "t": 1617827221349730300,
 17662                      "x": 11,
 17663                      "y": 1617827221349366000,
 17664                      "z": 3
 17665                    },
 17666                    "status": "OK"
 17667                  },
 17668                  "schema": {
 17669                    "properties": {
 17670                      "request_id": {
 17671                        "description": "A request id assigned by the server.",
 17672                        "type": "string"
 17673                      },
 17674                      "results": {
 17675                        "properties": {
 17676                          "P": {
 17677                            "description": "The ask price.",
 17678                            "format": "double",
 17679                            "type": "number"
 17680                          },
 17681                          "S": {
 17682                            "description": "The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price.",
 17683                            "type": "integer"
 17684                          },
 17685                          "T": {
 17686                            "description": "The exchange symbol that this item is traded under.",
 17687                            "type": "string"
 17688                          },
 17689                          "X": {
 17690                            "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 17691                            "type": "integer"
 17692                          },
 17693                          "c": {
 17694                            "description": "A list of condition codes.",
 17695                            "items": {
 17696                              "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/stocks/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 17697                              "format": "int32",
 17698                              "type": "integer"
 17699                            },
 17700                            "type": "array",
 17701                            "x-polygon-go-type": {
 17702                              "name": "Int32Array"
 17703                            }
 17704                          },
 17705                          "f": {
 17706                            "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
 17707                            "type": "integer"
 17708                          },
 17709                          "i": {
 17710                            "description": "A list of indicator codes.",
 17711                            "items": {
 17712                              "description": "The indicator codes. For more information, see our glossary of [Conditions and\nIndicators](https://polygon.io/glossary/us/stocks/conditions-indicators).",
 17713                              "format": "int32",
 17714                              "type": "integer"
 17715                            },
 17716                            "type": "array",
 17717                            "x-polygon-go-type": {
 17718                              "name": "Int32Array"
 17719                            }
 17720                          },
 17721                          "p": {
 17722                            "description": "The bid price.",
 17723                            "format": "double",
 17724                            "type": "number"
 17725                          },
 17726                          "q": {
 17727                            "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).",
 17728                            "format": "int64",
 17729                            "type": "integer"
 17730                          },
 17731                          "s": {
 17732                            "description": "The bid size. This represents the number of round lot orders at the given bid price. The normal round lot size is 100 shares. A bid size of 2 means there are 200 shares for purchase at the given bid price.",
 17733                            "type": "integer"
 17734                          },
 17735                          "t": {
 17736                            "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 17737                            "type": "integer"
 17738                          },
 17739                          "x": {
 17740                            "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 17741                            "type": "integer"
 17742                          },
 17743                          "y": {
 17744                            "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
 17745                            "type": "integer"
 17746                          },
 17747                          "z": {
 17748                            "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ",
 17749                            "type": "integer"
 17750                          }
 17751                        },
 17752                        "required": [
 17753                          "T",
 17754                          "t",
 17755                          "y",
 17756                          "q"
 17757                        ],
 17758                        "type": "object",
 17759                        "x-polygon-go-type": {
 17760                          "name": "LastQuoteResult"
 17761                        }
 17762                      },
 17763                      "status": {
 17764                        "description": "The status of this request's response.",
 17765                        "type": "string"
 17766                      }
 17767                    },
 17768                    "required": [
 17769                      "status",
 17770                      "request_id"
 17771                    ],
 17772                    "type": "object"
 17773                  }
 17774                },
 17775                "text/csv": {
 17776                  "example": "P,S,T,X,p,q,s,t,x,y,z\n127.98,7,AAPL,19,127.96,83480742,1,1617827221349730300,11,1617827221349366000,3\n",
 17777                  "schema": {
 17778                    "type": "string"
 17779                  }
 17780                }
 17781              },
 17782              "description": "The last NBBO tick for this stock."
 17783            },
 17784            "401": {
 17785              "description": "Unauthorized - Check our API Key and account status"
 17786            },
 17787            "404": {
 17788              "description": "The specified resource was not found"
 17789            }
 17790          },
 17791          "summary": "Last Quote",
 17792          "tags": [
 17793            "stocks:last:quote"
 17794          ],
 17795          "x-polygon-entitlement-allowed-timeframes": [
 17796            {
 17797              "description": "Real Time Data",
 17798              "name": "realtime"
 17799            },
 17800            {
 17801              "description": "15 minute delayed data",
 17802              "name": "delayed"
 17803            }
 17804          ],
 17805          "x-polygon-entitlement-data-type": {
 17806            "description": "NBBO data",
 17807            "name": "nbbo"
 17808          },
 17809          "x-polygon-entitlement-market-type": {
 17810            "description": "Stocks data",
 17811            "name": "stocks"
 17812          }
 17813        }
 17814      },
 17815      "/v2/last/trade/{optionsTicker}": {
 17816        "get": {
 17817          "description": "Get the most recent trade for a given options contract.",
 17818          "operationId": "LastTradeOptions",
 17819          "parameters": [
 17820            {
 17821              "description": "The ticker symbol of the options contract.",
 17822              "example": "O:TSLA210903C00700000",
 17823              "in": "path",
 17824              "name": "optionsTicker",
 17825              "required": true,
 17826              "schema": {
 17827                "type": "string"
 17828              }
 17829            }
 17830          ],
 17831          "responses": {
 17832            "200": {
 17833              "content": {
 17834                "application/json": {
 17835                  "example": {
 17836                    "request_id": "f05562305bd26ced64b98ed68b3c5d96",
 17837                    "results": {
 17838                      "T": "O:TSLA210903C00700000",
 17839                      "c": [
 17840                        227
 17841                      ],
 17842                      "f": 1617901342969796400,
 17843                      "i": "",
 17844                      "p": 115.55,
 17845                      "q": 1325541950,
 17846                      "r": 202,
 17847                      "s": 25,
 17848                      "t": 1617901342969834000,
 17849                      "x": 312,
 17850                      "y": 1617901342969834000
 17851                    },
 17852                    "status": "OK"
 17853                  },
 17854                  "schema": {
 17855                    "properties": {
 17856                      "request_id": {
 17857                        "description": "A request id assigned by the server.",
 17858                        "type": "string"
 17859                      },
 17860                      "results": {
 17861                        "properties": {
 17862                          "T": {
 17863                            "description": "The exchange symbol that this item is traded under.",
 17864                            "type": "string"
 17865                          },
 17866                          "c": {
 17867                            "description": "A list of condition codes.",
 17868                            "items": {
 17869                              "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/stocks/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 17870                              "format": "int32",
 17871                              "type": "integer"
 17872                            },
 17873                            "type": "array",
 17874                            "x-polygon-go-type": {
 17875                              "name": "Int32Array"
 17876                            }
 17877                          },
 17878                          "e": {
 17879                            "description": "The trade correction indicator.",
 17880                            "type": "integer"
 17881                          },
 17882                          "f": {
 17883                            "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
 17884                            "type": "integer"
 17885                          },
 17886                          "i": {
 17887                            "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.",
 17888                            "type": "string"
 17889                          },
 17890                          "p": {
 17891                            "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.",
 17892                            "format": "double",
 17893                            "type": "number"
 17894                          },
 17895                          "q": {
 17896                            "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).",
 17897                            "format": "int64",
 17898                            "type": "integer"
 17899                          },
 17900                          "r": {
 17901                            "description": "The ID for the Trade Reporting Facility where the trade took place.",
 17902                            "type": "integer"
 17903                          },
 17904                          "s": {
 17905                            "description": "The size of a trade (also known as volume).",
 17906                            "format": "double",
 17907                            "type": "number"
 17908                          },
 17909                          "t": {
 17910                            "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 17911                            "type": "integer"
 17912                          },
 17913                          "x": {
 17914                            "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 17915                            "type": "integer"
 17916                          },
 17917                          "y": {
 17918                            "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
 17919                            "type": "integer"
 17920                          },
 17921                          "z": {
 17922                            "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ",
 17923                            "type": "integer"
 17924                          }
 17925                        },
 17926                        "required": [
 17927                          "T",
 17928                          "t",
 17929                          "y",
 17930                          "q",
 17931                          "i",
 17932                          "p",
 17933                          "x"
 17934                        ],
 17935                        "type": "object",
 17936                        "x-polygon-go-type": {
 17937                          "name": "LastTradeResult"
 17938                        }
 17939                      },
 17940                      "status": {
 17941                        "description": "The status of this request's response.",
 17942                        "type": "string"
 17943                      }
 17944                    },
 17945                    "required": [
 17946                      "status",
 17947                      "request_id"
 17948                    ],
 17949                    "type": "object"
 17950                  }
 17951                },
 17952                "text/csv": {
 17953                  "example": "T,c,f,i,p,q,r,s,t,x\nO:TSLA210903C00700000,227,1617901342969796400,,115.55,1325541950,202,25,1617901342969834000,312\n",
 17954                  "schema": {
 17955                    "type": "string"
 17956                  }
 17957                }
 17958              },
 17959              "description": "The last trade for this options contract."
 17960            },
 17961            "401": {
 17962              "description": "Unauthorized - Check our API Key and account status"
 17963            },
 17964            "404": {
 17965              "description": "The specified resource was not found"
 17966            }
 17967          },
 17968          "summary": "Last Trade",
 17969          "tags": [
 17970            "options:last:trade"
 17971          ],
 17972          "x-polygon-entitlement-allowed-timeframes": [
 17973            {
 17974              "description": "Real Time Data",
 17975              "name": "realtime"
 17976            },
 17977            {
 17978              "description": "15 minute delayed data",
 17979              "name": "delayed"
 17980            }
 17981          ],
 17982          "x-polygon-entitlement-data-type": {
 17983            "description": "Trade data",
 17984            "name": "trades"
 17985          },
 17986          "x-polygon-entitlement-market-type": {
 17987            "description": "Options data",
 17988            "name": "options"
 17989          }
 17990        },
 17991        "x-polygon-ignore": true
 17992      },
 17993      "/v2/last/trade/{stocksTicker}": {
 17994        "get": {
 17995          "description": "Get the most recent trade for a given stock.",
 17996          "operationId": "LastTrade",
 17997          "parameters": [
 17998            {
 17999              "description": "The ticker symbol of the stock/equity.",
 18000              "example": "AAPL",
 18001              "in": "path",
 18002              "name": "stocksTicker",
 18003              "required": true,
 18004              "schema": {
 18005                "type": "string"
 18006              },
 18007              "x-polygon-go-id": "Ticker"
 18008            }
 18009          ],
 18010          "responses": {
 18011            "200": {
 18012              "content": {
 18013                "application/json": {
 18014                  "example": {
 18015                    "request_id": "f05562305bd26ced64b98ed68b3c5d96",
 18016                    "results": {
 18017                      "T": "AAPL",
 18018                      "c": [
 18019                        37
 18020                      ],
 18021                      "f": 1617901342969796400,
 18022                      "i": "118749",
 18023                      "p": 129.8473,
 18024                      "q": 3135876,
 18025                      "r": 202,
 18026                      "s": 25,
 18027                      "t": 1617901342969834000,
 18028                      "x": 4,
 18029                      "y": 1617901342968000000,
 18030                      "z": 3
 18031                    },
 18032                    "status": "OK"
 18033                  },
 18034                  "schema": {
 18035                    "properties": {
 18036                      "request_id": {
 18037                        "description": "A request id assigned by the server.",
 18038                        "type": "string"
 18039                      },
 18040                      "results": {
 18041                        "properties": {
 18042                          "T": {
 18043                            "description": "The exchange symbol that this item is traded under.",
 18044                            "type": "string"
 18045                          },
 18046                          "c": {
 18047                            "description": "A list of condition codes.",
 18048                            "items": {
 18049                              "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/stocks/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 18050                              "format": "int32",
 18051                              "type": "integer"
 18052                            },
 18053                            "type": "array",
 18054                            "x-polygon-go-type": {
 18055                              "name": "Int32Array"
 18056                            }
 18057                          },
 18058                          "e": {
 18059                            "description": "The trade correction indicator.",
 18060                            "type": "integer"
 18061                          },
 18062                          "f": {
 18063                            "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
 18064                            "type": "integer"
 18065                          },
 18066                          "i": {
 18067                            "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.",
 18068                            "type": "string"
 18069                          },
 18070                          "p": {
 18071                            "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.",
 18072                            "format": "double",
 18073                            "type": "number"
 18074                          },
 18075                          "q": {
 18076                            "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).",
 18077                            "format": "int64",
 18078                            "type": "integer"
 18079                          },
 18080                          "r": {
 18081                            "description": "The ID for the Trade Reporting Facility where the trade took place.",
 18082                            "type": "integer"
 18083                          },
 18084                          "s": {
 18085                            "description": "The size of a trade (also known as volume).",
 18086                            "format": "double",
 18087                            "type": "number"
 18088                          },
 18089                          "t": {
 18090                            "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 18091                            "type": "integer"
 18092                          },
 18093                          "x": {
 18094                            "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 18095                            "type": "integer"
 18096                          },
 18097                          "y": {
 18098                            "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
 18099                            "type": "integer"
 18100                          },
 18101                          "z": {
 18102                            "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ",
 18103                            "type": "integer"
 18104                          }
 18105                        },
 18106                        "required": [
 18107                          "T",
 18108                          "t",
 18109                          "y",
 18110                          "q",
 18111                          "i",
 18112                          "p",
 18113                          "x"
 18114                        ],
 18115                        "type": "object",
 18116                        "x-polygon-go-type": {
 18117                          "name": "LastTradeResult"
 18118                        }
 18119                      },
 18120                      "status": {
 18121                        "description": "The status of this request's response.",
 18122                        "type": "string"
 18123                      }
 18124                    },
 18125                    "required": [
 18126                      "status",
 18127                      "request_id"
 18128                    ],
 18129                    "type": "object"
 18130                  }
 18131                },
 18132                "text/csv": {
 18133                  "example": "T,c,f,i,p,q,r,s,t,x,y,z\nAAPL,37,1617901342969796400,118749,129.8473,3135876,202,25,1617901342969834000,4,1617901342968000000,3\n",
 18134                  "schema": {
 18135                    "type": "string"
 18136                  }
 18137                }
 18138              },
 18139              "description": "The last trade for this stock."
 18140            },
 18141            "401": {
 18142              "description": "Unauthorized - Check our API Key and account status"
 18143            },
 18144            "404": {
 18145              "description": "The specified resource was not found"
 18146            }
 18147          },
 18148          "summary": "Last Trade",
 18149          "tags": [
 18150            "stocks:last:trade"
 18151          ],
 18152          "x-polygon-entitlement-allowed-timeframes": [
 18153            {
 18154              "description": "Real Time Data",
 18155              "name": "realtime"
 18156            },
 18157            {
 18158              "description": "15 minute delayed data",
 18159              "name": "delayed"
 18160            }
 18161          ],
 18162          "x-polygon-entitlement-data-type": {
 18163            "description": "Trade data",
 18164            "name": "trades"
 18165          },
 18166          "x-polygon-entitlement-market-type": {
 18167            "description": "Stocks data",
 18168            "name": "stocks"
 18169          }
 18170        }
 18171      },
 18172      "/v2/reference/news": {
 18173        "get": {
 18174          "description": "Get the most recent news articles relating to a stock ticker symbol, including a summary of the article and a link to the original source.",
 18175          "operationId": "ListNews",
 18176          "parameters": [
 18177            {
 18178              "description": "Return results that contain this ticker.",
 18179              "in": "query",
 18180              "name": "ticker",
 18181              "schema": {
 18182                "description": "The exchange symbol that this item is traded under.",
 18183                "type": "string"
 18184              },
 18185              "x-polygon-filter-field": {
 18186                "range": true
 18187              }
 18188            },
 18189            {
 18190              "description": "Return results published on, before, or after this date.",
 18191              "in": "query",
 18192              "name": "published_utc",
 18193              "schema": {
 18194                "oneOf": [
 18195                  {
 18196                    "format": "date-time",
 18197                    "type": "string"
 18198                  },
 18199                  {
 18200                    "format": "date",
 18201                    "type": "string"
 18202                  }
 18203                ]
 18204              },
 18205              "x-polygon-filter-field": {
 18206                "range": true
 18207              }
 18208            },
 18209            {
 18210              "description": "Search by ticker.",
 18211              "in": "query",
 18212              "name": "ticker.gte",
 18213              "schema": {
 18214                "description": "The exchange symbol that this item is traded under.",
 18215                "type": "string"
 18216              }
 18217            },
 18218            {
 18219              "description": "Search by ticker.",
 18220              "in": "query",
 18221              "name": "ticker.gt",
 18222              "schema": {
 18223                "description": "The exchange symbol that this item is traded under.",
 18224                "type": "string"
 18225              }
 18226            },
 18227            {
 18228              "description": "Search by ticker.",
 18229              "in": "query",
 18230              "name": "ticker.lte",
 18231              "schema": {
 18232                "description": "The exchange symbol that this item is traded under.",
 18233                "type": "string"
 18234              }
 18235            },
 18236            {
 18237              "description": "Search by ticker.",
 18238              "in": "query",
 18239              "name": "ticker.lt",
 18240              "schema": {
 18241                "description": "The exchange symbol that this item is traded under.",
 18242                "type": "string"
 18243              }
 18244            },
 18245            {
 18246              "description": "Search by published_utc.",
 18247              "in": "query",
 18248              "name": "published_utc.gte",
 18249              "schema": {
 18250                "oneOf": [
 18251                  {
 18252                    "format": "date-time",
 18253                    "type": "string"
 18254                  },
 18255                  {
 18256                    "format": "date",
 18257                    "type": "string"
 18258                  }
 18259                ]
 18260              }
 18261            },
 18262            {
 18263              "description": "Search by published_utc.",
 18264              "in": "query",
 18265              "name": "published_utc.gt",
 18266              "schema": {
 18267                "oneOf": [
 18268                  {
 18269                    "format": "date-time",
 18270                    "type": "string"
 18271                  },
 18272                  {
 18273                    "format": "date",
 18274                    "type": "string"
 18275                  }
 18276                ]
 18277              }
 18278            },
 18279            {
 18280              "description": "Search by published_utc.",
 18281              "in": "query",
 18282              "name": "published_utc.lte",
 18283              "schema": {
 18284                "oneOf": [
 18285                  {
 18286                    "format": "date-time",
 18287                    "type": "string"
 18288                  },
 18289                  {
 18290                    "format": "date",
 18291                    "type": "string"
 18292                  }
 18293                ]
 18294              }
 18295            },
 18296            {
 18297              "description": "Search by published_utc.",
 18298              "in": "query",
 18299              "name": "published_utc.lt",
 18300              "schema": {
 18301                "oneOf": [
 18302                  {
 18303                    "format": "date-time",
 18304                    "type": "string"
 18305                  },
 18306                  {
 18307                    "format": "date",
 18308                    "type": "string"
 18309                  }
 18310                ]
 18311              }
 18312            },
 18313            {
 18314              "description": "Order results based on the `sort` field.",
 18315              "in": "query",
 18316              "name": "order",
 18317              "schema": {
 18318                "enum": [
 18319                  "asc",
 18320                  "desc"
 18321                ],
 18322                "example": "asc",
 18323                "type": "string"
 18324              }
 18325            },
 18326            {
 18327              "description": "Limit the number of results returned, default is 10 and max is 1000.",
 18328              "in": "query",
 18329              "name": "limit",
 18330              "schema": {
 18331                "default": 10,
 18332                "example": 10,
 18333                "maximum": 1000,
 18334                "minimum": 1,
 18335                "type": "integer"
 18336              }
 18337            },
 18338            {
 18339              "description": "Sort field used for ordering.",
 18340              "in": "query",
 18341              "name": "sort",
 18342              "schema": {
 18343                "default": "published_utc",
 18344                "enum": [
 18345                  "published_utc"
 18346                ],
 18347                "example": "published_utc",
 18348                "type": "string"
 18349              }
 18350            }
 18351          ],
 18352          "responses": {
 18353            "200": {
 18354              "content": {
 18355                "application/json": {
 18356                  "example": {
 18357                    "count": 1,
 18358                    "next_url": "https://api.polygon.io:443/v2/reference/news?cursor=eyJsaW1pdCI6MSwic29ydCI6InB1Ymxpc2hlZF91dGMiLCJvcmRlciI6ImFzY2VuZGluZyIsInRpY2tlciI6e30sInB1Ymxpc2hlZF91dGMiOnsiZ3RlIjoiMjAyMS0wNC0yNiJ9LCJzZWFyY2hfYWZ0ZXIiOlsxNjE5NDA0Mzk3MDAwLG51bGxdfQ",
 18359                    "request_id": "831afdb0b8078549fed053476984947a",
 18360                    "results": [
 18361                      {
 18362                        "amp_url": "https://amp.benzinga.com/amp/content/20784086",
 18363                        "article_url": "https://www.benzinga.com/markets/cryptocurrency/21/04/20784086/cathie-wood-adds-more-coinbase-skillz-trims-square",
 18364                        "author": "Rachit  Vats",
 18365                        "description": "\u003cp\u003eCathie Wood-led Ark Investment Management on Friday snapped up another 221,167 shares of the cryptocurrency exchange \u003cstrong\u003eCoinbase Global Inc \u003c/strong\u003e(NASDAQ \u003ca class=\"ticker\" href=\"https://www.benzinga.com/stock/coin#NASDAQ\"\u003eCOIN\u003c/a\u003e) worth about $64.49 million on the stock\u0026rsquo;s Friday\u0026rsquo;s dip and also its fourth-straight loss.\u003c/p\u003e\n\u003cp\u003eThe investment firm\u0026rsquo;s \u003cstrong\u003eArk Innovation ETF\u003c/strong\u003e (NYSE \u003ca class=\" ticker\" href=\"https://www.benzinga.com/stock/arkk#NYSE\"\u003eARKK\u003c/a\u003e) bought the shares of the company that closed 0.63% lower at $291.60 on Friday, giving the cryptocurrency exchange a market cap of $58.09 billion. Coinbase\u0026rsquo;s market cap has dropped from $85.8 billion on its blockbuster listing earlier this month.\u003c/p\u003e\n\u003cp\u003eThe New York-based company also added another 3,873 shares of the mobile gaming company \u003cstrong\u003eSkillz Inc\u003c/strong\u003e (NYSE \u003ca class=\" ticker\" href=\"https://www.benzinga.com/stock/sklz#NYSE\"\u003eSKLZ\u003c/a\u003e), \u003ca href=\"http://www.benzinga.com/markets/cryptocurrency/21/04/20762794/cathie-woods-ark-loads-up-another-1-2-million-shares-in-skillz-also-adds-coinbase-draftkin\" \u003ejust a day after\u003c/a\u003e snapping 1.2 million shares of the stock.\u003c/p\u003e\n \u003cp\u003eARKK bought the shares of the company which closed ...\u003c/p\u003e\u003cp\u003e\u003ca href=https://www.benzinga.com/markets/cryptocurrency/21/04/20784086/cathie-wood-adds-more-coinbase-skillz-trims-square alt=Cathie Wood Adds More Coinbase, Skillz, Trims Square\u003eFull story available on Benzinga.com\u003c/a\u003e\u003c/p\u003e",
 18366                        "id": "nJsSJJdwViHZcw5367rZi7_qkXLfMzacXBfpv-vD9UA",
 18367                        "image_url": "https://cdn2.benzinga.com/files/imagecache/og_image_social_share_1200x630/images/story/2012/andre-francois-mckenzie-auhr4gcqcce-unsplash.jpg?width=720",
 18368                        "keywords": [
 18369                          "Sector ETFs",
 18370                          "Penny Stocks",
 18371                          "Cryptocurrency",
 18372                          "Small Cap",
 18373                          "Markets",
 18374                          "Trading Ideas",
 18375                          "ETFs"
 18376                        ],
 18377                        "published_utc": "2021-04-26T02:33:17Z",
 18378                        "publisher": {
 18379                          "favicon_url": "https://s3.polygon.io/public/public/assets/news/favicons/benzinga.ico",
 18380                          "homepage_url": "https://www.benzinga.com/",
 18381                          "logo_url": "https://s3.polygon.io/public/public/assets/news/logos/benzinga.svg",
 18382                          "name": "Benzinga"
 18383                        },
 18384                        "tickers": [
 18385                          "DOCU",
 18386                          "DDD",
 18387                          "NIU",
 18388                          "ARKF",
 18389                          "NVDA",
 18390                          "SKLZ",
 18391                          "PCAR",
 18392                          "MASS",
 18393                          "PSTI",
 18394                          "SPFR",
 18395                          "TREE",
 18396                          "PHR",
 18397                          "IRDM",
 18398                          "BEAM",
 18399                          "ARKW",
 18400                          "ARKK",
 18401                          "ARKG",
 18402                          "PSTG",
 18403                          "SQ",
 18404                          "IONS",
 18405                          "SYRS"
 18406                        ],
 18407                        "title": "Cathie Wood Adds More Coinbase, Skillz, Trims Square"
 18408                      }
 18409                    ],
 18410                    "status": "OK"
 18411                  },
 18412                  "schema": {
 18413                    "properties": {
 18414                      "count": {
 18415                        "description": "The total number of results for this request.",
 18416                        "type": "integer"
 18417                      },
 18418                      "next_url": {
 18419                        "description": "If present, this value can be used to fetch the next page of data.",
 18420                        "type": "string"
 18421                      },
 18422                      "request_id": {
 18423                        "description": "A request id assigned by the server.",
 18424                        "type": "string"
 18425                      },
 18426                      "results": {
 18427                        "items": {
 18428                          "properties": {
 18429                            "amp_url": {
 18430                              "description": "The mobile friendly Accelerated Mobile Page (AMP) URL.",
 18431                              "type": "string"
 18432                            },
 18433                            "article_url": {
 18434                              "description": "A link to the news article.",
 18435                              "type": "string"
 18436                            },
 18437                            "author": {
 18438                              "description": "The article's author.",
 18439                              "type": "string"
 18440                            },
 18441                            "description": {
 18442                              "description": "A description of the article.",
 18443                              "type": "string"
 18444                            },
 18445                            "id": {
 18446                              "description": "Unique identifier for the article.",
 18447                              "type": "string"
 18448                            },
 18449                            "image_url": {
 18450                              "description": "The article's image URL.",
 18451                              "type": "string"
 18452                            },
 18453                            "keywords": {
 18454                              "description": "The keywords associated with the article (which will vary depending on\nthe publishing source).",
 18455                              "items": {
 18456                                "type": "string"
 18457                              },
 18458                              "type": "array"
 18459                            },
 18460                            "published_utc": {
 18461                              "description": "The date the article was published on.",
 18462                              "format": "date-time",
 18463                              "type": "string"
 18464                            },
 18465                            "publisher": {
 18466                              "properties": {
 18467                                "favicon_url": {
 18468                                  "description": "The publisher's homepage favicon URL.",
 18469                                  "type": "string"
 18470                                },
 18471                                "homepage_url": {
 18472                                  "description": "The publisher's homepage URL.",
 18473                                  "type": "string"
 18474                                },
 18475                                "logo_url": {
 18476                                  "description": "The publisher's logo URL.",
 18477                                  "type": "string"
 18478                                },
 18479                                "name": {
 18480                                  "description": "The publisher's name.",
 18481                                  "type": "string"
 18482                                }
 18483                              },
 18484                              "required": [
 18485                                "name",
 18486                                "logo_url",
 18487                                "homepage_url"
 18488                              ],
 18489                              "type": "object"
 18490                            },
 18491                            "tickers": {
 18492                              "description": "The ticker symbols associated with the article.",
 18493                              "items": {
 18494                                "description": "The exchange symbol that this item is traded under.",
 18495                                "type": "string"
 18496                              },
 18497                              "type": "array"
 18498                            },
 18499                            "title": {
 18500                              "description": "The title of the news article.",
 18501                              "type": "string"
 18502                            }
 18503                          },
 18504                          "required": [
 18505                            "id",
 18506                            "publisher",
 18507                            "title",
 18508                            "author",
 18509                            "published_utc",
 18510                            "article_url",
 18511                            "tickers"
 18512                          ],
 18513                          "type": "object",
 18514                          "x-polygon-go-type": {
 18515                            "name": "NewsArticleMetadata",
 18516                            "path": "github.com/polygon-io/go-lib-models/v2/globals"
 18517                          }
 18518                        },
 18519                        "type": "array",
 18520                        "x-polygon-go-type": {
 18521                          "name": "ListNewsArticlesResults"
 18522                        }
 18523                      },
 18524                      "status": {
 18525                        "description": "The status of this request's response.",
 18526                        "type": "string"
 18527                      }
 18528                    },
 18529                    "type": "object"
 18530                  }
 18531                },
 18532                "text/csv": {
 18533                  "example": "id,publisher_name,publisher_homepage_url,publisher_logo_url,publisher_favicon_url,title,author,published_utc,article_url,tickers,amp_url,image_url,description,keywords\nnJsSJJdwViHZcw5367rZi7_qkXLfMzacXBfpv-vD9UA,Benzinga,https://www.benzinga.com/,https://s3.polygon.io/public/public/assets/news/logos/benzinga.svg,https://s3.polygon.io/public/public/assets/news/favicons/benzinga.ico,\"Cathie Wood Adds More Coinbase, Skillz, Trims Square\",Rachit  Vats,2021-04-26T02:33:17Z,https://www.benzinga.com/markets/cryptocurrency/21/04/20784086/cathie-wood-adds-more-coinbase-skillz-trims-square,\"DOCU,DDD,NIU,ARKF,NVDA,SKLZ,PCAR,MASS,PSTI,SPFR,TREE,PHR,IRDM,BEAM,ARKW,ARKK,ARKG,PSTG,SQ,IONS,SYRS\",https://amp.benzinga.com/amp/content/20784086,https://cdn2.benzinga.com/files/imagecache/og_image_social_share_1200x630/images/story/2012/andre-francois-mckenzie-auhr4gcqcce-unsplash.jpg?width=720,\"\u003cp\u003eCathie Wood-led Ark Investment Management on Friday snapped up another 221,167 shares of the cryptocurrency exchange \u003cstrong\u003eCoinbase Global Inc \u003c/strong\u003e(NASDAQ \u003ca class=\\\"ticker\\\" href=\\\"https://www.benzinga.com/stock/coin#NASDAQ\\\"\u003eCOIN\u003c/a\u003e) worth about $64.49 million on the stock\u0026rsquo;s Friday\u0026rsquo;s dip and also its fourth-straight loss.\u003c/p\u003e \u003cp\u003eThe investment firm\u0026rsquo;s \u003cstrong\u003eArk Innovation ETF\u003c/strong\u003e (NYSE \u003ca class=\\\" ticker\\\" href=\\\"https://www.benzinga.com/stock/arkk#NYSE\\\"\u003eARKK\u003c/a\u003e) bought the shares of the company that closed 0.63% lower at $291.60 on Friday, giving the cryptocurrency exchange a market cap of $58.09 billion. Coinbase\u0026rsquo;s market cap has dropped from $85.8 billion on its blockbuster listing earlier this month.\u003c/p\u003e \u003cp\u003eThe New York-based company also added another 3,873 shares of the mobile gaming company \u003cstrong\u003eSkillz Inc\u003c/strong\u003e (NYSE \u003ca class=\\\" ticker\\\" href=\\\"https://www.benzinga.com/stock/sklz#NYSE\\\"\u003eSKLZ\u003c/a\u003e), \u003ca href=\\\"http://www.benzinga.com/markets/cryptocurrency/21/04/20762794/cathie-woods-ark-loads-up-another-1-2-million-shares-in-skillz-also-adds-coinbase-draftkin\\\" \u003ejust a day after\u003c/a\u003e snapping 1.2 million shares of the stock.\u003c/p\u003e \u003cp\u003eARKK bought the shares of the company which closed ...\u003c/p\u003e\u003cp\u003e\u003ca href=https://www.benzinga.com/markets/cryptocurrency/21/04/20784086/cathie-wood-adds-more-coinbase-skillz-trims-square alt=Cathie Wood Adds More Coinbase, Skillz, Trims Square\u003eFull story available on Benzinga.com\u003c/a\u003e\u003c/p\u003e\",\"Sector ETFs,Penny Stocks,Cryptocurrency,Small Cap,Markets,Trading Ideas,ETFs\"\n",
 18534                  "schema": {
 18535                    "type": "string"
 18536                  }
 18537                }
 18538              },
 18539              "description": "An array of news articles."
 18540            },
 18541            "401": {
 18542              "description": "Unauthorized - Check our API Key and account status"
 18543            },
 18544            "404": {
 18545              "description": "The specified resource was not found"
 18546            }
 18547          },
 18548          "summary": "Ticker News",
 18549          "tags": [
 18550            "reference:news"
 18551          ],
 18552          "x-polygon-entitlement-data-type": {
 18553            "description": "Reference data",
 18554            "name": "reference"
 18555          },
 18556          "x-polygon-paginate": {
 18557            "sort": {
 18558              "default": "published_utc",
 18559              "enum": [
 18560                "published_utc"
 18561              ],
 18562              "limit": {
 18563                "default": 10,
 18564                "maximum": 1000,
 18565                "minimum": 1
 18566              }
 18567            }
 18568          }
 18569        }
 18570      },
 18571      "/v2/snapshot/locale/global/markets/crypto/tickers": {
 18572        "get": {
 18573          "description": "Get the current minute, day, and previous day’s aggregate, as well as the last trade and quote for all traded cryptocurrency symbols.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 12am EST and gets populated as data is received from the exchanges. This can happen as early as 4am EST.\n",
 18574          "parameters": [
 18575            {
 18576              "description": "A case-sensitive comma separated list of tickers to get snapshots for. For example, AAPL,TSLA,GOOG. Empty string defaults to querying all tickers.",
 18577              "in": "query",
 18578              "name": "tickers",
 18579              "schema": {
 18580                "items": {
 18581                  "type": "string"
 18582                },
 18583                "type": "array"
 18584              }
 18585            }
 18586          ],
 18587          "responses": {
 18588            "200": {
 18589              "content": {
 18590                "application/json": {
 18591                  "example": {
 18592                    "status": "OK",
 18593                    "tickers": [
 18594                      {
 18595                        "day": {
 18596                          "c": 0.296,
 18597                          "h": 0.59714,
 18598                          "l": 0.23706,
 18599                          "o": 0.28,
 18600                          "v": 4097699.5691991993,
 18601                          "vw": 0
 18602                        },
 18603                        "lastTrade": {
 18604                          "c": [
 18605                            1
 18606                          ],
 18607                          "i": 413131,
 18608                          "p": 0.293,
 18609                          "s": 13.6191,
 18610                          "t": 1605292686010,
 18611                          "x": 17
 18612                        },
 18613                        "min": {
 18614                          "c": 0.296,
 18615                          "h": 0.296,
 18616                          "l": 0.294,
 18617                          "n": 2,
 18618                          "o": 0.296,
 18619                          "t": 1684427880000,
 18620                          "v": 123.4866,
 18621                          "vw": 0
 18622                        },
 18623                        "prevDay": {
 18624                          "c": 0.281,
 18625                          "h": 0.59714,
 18626                          "l": 0.23706,
 18627                          "o": 0.27,
 18628                          "v": 6070178.786154971,
 18629                          "vw": 0.4076
 18630                        },
 18631                        "ticker": "X:FSNUSD",
 18632                        "todaysChange": 0.012,
 18633                        "todaysChangePerc": 4.270463,
 18634                        "updated": 1605330008999
 18635                      }
 18636                    ]
 18637                  },
 18638                  "schema": {
 18639                    "allOf": [
 18640                      {
 18641                        "properties": {
 18642                          "status": {
 18643                            "description": "The status of this request's response.",
 18644                            "type": "string"
 18645                          }
 18646                        },
 18647                        "required": [
 18648                          "status"
 18649                        ],
 18650                        "type": "object"
 18651                      },
 18652                      {
 18653                        "properties": {
 18654                          "tickers": {
 18655                            "items": {
 18656                              "properties": {
 18657                                "day": {
 18658                                  "description": "The most recent daily bar for this ticker.",
 18659                                  "properties": {
 18660                                    "c": {
 18661                                      "description": "The close price for the symbol in the given time period.",
 18662                                      "format": "double",
 18663                                      "type": "number"
 18664                                    },
 18665                                    "h": {
 18666                                      "description": "The highest price for the symbol in the given time period.",
 18667                                      "format": "double",
 18668                                      "type": "number"
 18669                                    },
 18670                                    "l": {
 18671                                      "description": "The lowest price for the symbol in the given time period.",
 18672                                      "format": "double",
 18673                                      "type": "number"
 18674                                    },
 18675                                    "o": {
 18676                                      "description": "The open price for the symbol in the given time period.",
 18677                                      "format": "double",
 18678                                      "type": "number"
 18679                                    },
 18680                                    "v": {
 18681                                      "description": "The trading volume of the symbol in the given time period.",
 18682                                      "format": "double",
 18683                                      "type": "number"
 18684                                    },
 18685                                    "vw": {
 18686                                      "description": "The volume weighted average price.",
 18687                                      "format": "double",
 18688                                      "type": "number"
 18689                                    }
 18690                                  },
 18691                                  "required": [
 18692                                    "o",
 18693                                    "h",
 18694                                    "l",
 18695                                    "c",
 18696                                    "v",
 18697                                    "vw"
 18698                                  ],
 18699                                  "type": "object"
 18700                                },
 18701                                "fmv": {
 18702                                  "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 18703                                  "format": "double",
 18704                                  "type": "number"
 18705                                },
 18706                                "lastTrade": {
 18707                                  "allOf": [
 18708                                    {
 18709                                      "description": "The most recent trade for this ticker."
 18710                                    },
 18711                                    {
 18712                                      "properties": {
 18713                                        "c": {
 18714                                          "description": "The trade conditions.",
 18715                                          "items": {
 18716                                            "type": "integer"
 18717                                          },
 18718                                          "type": "array"
 18719                                        },
 18720                                        "i": {
 18721                                          "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
 18722                                          "type": "string"
 18723                                        },
 18724                                        "p": {
 18725                                          "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
 18726                                          "format": "double",
 18727                                          "type": "number"
 18728                                        },
 18729                                        "s": {
 18730                                          "description": "The size (volume) of the trade.",
 18731                                          "type": "number"
 18732                                        },
 18733                                        "t": {
 18734                                          "description": "The millisecond accuracy timestamp. This is the timestamp of when the trade was generated at the exchange.",
 18735                                          "type": "integer"
 18736                                        },
 18737                                        "x": {
 18738                                          "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
 18739                                          "type": "integer"
 18740                                        }
 18741                                      },
 18742                                      "required": [
 18743                                        "c",
 18744                                        "i",
 18745                                        "p",
 18746                                        "s",
 18747                                        "t",
 18748                                        "x"
 18749                                      ],
 18750                                      "type": "object"
 18751                                    }
 18752                                  ]
 18753                                },
 18754                                "min": {
 18755                                  "description": "The most recent minute bar for this ticker.",
 18756                                  "properties": {
 18757                                    "c": {
 18758                                      "description": "The close price for the symbol in the given time period.",
 18759                                      "format": "double",
 18760                                      "type": "number"
 18761                                    },
 18762                                    "h": {
 18763                                      "description": "The highest price for the symbol in the given time period.",
 18764                                      "format": "double",
 18765                                      "type": "number"
 18766                                    },
 18767                                    "l": {
 18768                                      "description": "The lowest price for the symbol in the given time period.",
 18769                                      "format": "double",
 18770                                      "type": "number"
 18771                                    },
 18772                                    "n": {
 18773                                      "description": "The number of transactions in the aggregate window.",
 18774                                      "type": "integer"
 18775                                    },
 18776                                    "o": {
 18777                                      "description": "The open price for the symbol in the given time period.",
 18778                                      "format": "double",
 18779                                      "type": "number"
 18780                                    },
 18781                                    "t": {
 18782                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 18783                                      "type": "integer"
 18784                                    },
 18785                                    "v": {
 18786                                      "description": "The trading volume of the symbol in the given time period.",
 18787                                      "format": "double",
 18788                                      "type": "number"
 18789                                    },
 18790                                    "vw": {
 18791                                      "description": "The volume weighted average price.",
 18792                                      "format": "double",
 18793                                      "type": "number"
 18794                                    }
 18795                                  },
 18796                                  "required": [
 18797                                    "o",
 18798                                    "h",
 18799                                    "l",
 18800                                    "c",
 18801                                    "v",
 18802                                    "vw",
 18803                                    "t",
 18804                                    "n"
 18805                                  ],
 18806                                  "type": "object"
 18807                                },
 18808                                "prevDay": {
 18809                                  "description": "The previous day's bar for this ticker.",
 18810                                  "properties": {
 18811                                    "c": {
 18812                                      "description": "The close price for the symbol in the given time period.",
 18813                                      "format": "double",
 18814                                      "type": "number"
 18815                                    },
 18816                                    "h": {
 18817                                      "description": "The highest price for the symbol in the given time period.",
 18818                                      "format": "double",
 18819                                      "type": "number"
 18820                                    },
 18821                                    "l": {
 18822                                      "description": "The lowest price for the symbol in the given time period.",
 18823                                      "format": "double",
 18824                                      "type": "number"
 18825                                    },
 18826                                    "o": {
 18827                                      "description": "The open price for the symbol in the given time period.",
 18828                                      "format": "double",
 18829                                      "type": "number"
 18830                                    },
 18831                                    "v": {
 18832                                      "description": "The trading volume of the symbol in the given time period.",
 18833                                      "format": "double",
 18834                                      "type": "number"
 18835                                    },
 18836                                    "vw": {
 18837                                      "description": "The volume weighted average price.",
 18838                                      "format": "double",
 18839                                      "type": "number"
 18840                                    }
 18841                                  },
 18842                                  "required": [
 18843                                    "o",
 18844                                    "h",
 18845                                    "l",
 18846                                    "c",
 18847                                    "v",
 18848                                    "vw"
 18849                                  ],
 18850                                  "type": "object"
 18851                                },
 18852                                "ticker": {
 18853                                  "description": "The exchange symbol that this item is traded under.",
 18854                                  "type": "string"
 18855                                },
 18856                                "todaysChange": {
 18857                                  "description": "The value of the change from the previous day.",
 18858                                  "format": "double",
 18859                                  "type": "number"
 18860                                },
 18861                                "todaysChangePerc": {
 18862                                  "description": "The percentage change since the previous day.",
 18863                                  "format": "double",
 18864                                  "type": "number"
 18865                                },
 18866                                "updated": {
 18867                                  "description": "The last updated timestamp.",
 18868                                  "type": "integer"
 18869                                }
 18870                              },
 18871                              "required": [
 18872                                "day",
 18873                                "lastTrade",
 18874                                "min",
 18875                                "prevDay",
 18876                                "ticker",
 18877                                "todaysChange",
 18878                                "todaysChangePerc",
 18879                                "updated"
 18880                              ],
 18881                              "type": "object"
 18882                            },
 18883                            "type": "array"
 18884                          }
 18885                        },
 18886                        "type": "object"
 18887                      }
 18888                    ]
 18889                  }
 18890                },
 18891                "text/csv": {
 18892                  "example": "day_c,day_h,day_l,day_o,day_v,lastTrade_c,lastTrade_i,lastTrade_p,lastTrade_s,lastTrade_t,lastTrade_x,min_c,min_h,min_l,min_o,min_v,prevDay_c,prevDay_h,prevDay_l,prevDay_o,prevDay_v,prevDay_vw\n16260.85,16428.4,15830.4,16418.07,105008.84231068,0,\"[2]\",464569520,16242.31,0.001933,1605294230780,4,16235.1,16264.29,16129.3,16257.51,19.30791925,0,16399.24,16418.07,16399.24,16418.07,0.99167108,16402.6893\n",
 18893                  "schema": {
 18894                    "type": "string"
 18895                  }
 18896                }
 18897              },
 18898              "description": "Get current state for all tickers"
 18899            },
 18900            "default": {
 18901              "description": "Unexpected error"
 18902            }
 18903          },
 18904          "summary": "All Tickers",
 18905          "tags": [
 18906            "crypto:snapshot"
 18907          ],
 18908          "x-polygon-entitlement-allowed-timeframes": [
 18909            {
 18910              "description": "Real Time Data",
 18911              "name": "realtime"
 18912            },
 18913            {
 18914              "description": "15 minute delayed data",
 18915              "name": "delayed"
 18916            }
 18917          ],
 18918          "x-polygon-entitlement-data-type": {
 18919            "description": "Aggregate data",
 18920            "name": "aggregates"
 18921          },
 18922          "x-polygon-entitlement-market-type": {
 18923            "description": "Crypto data",
 18924            "name": "crypto"
 18925          }
 18926        }
 18927      },
 18928      "/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}": {
 18929        "get": {
 18930          "description": "Get the current minute, day, and previous day’s aggregate, as well as the last trade and quote for a single traded cryptocurrency symbol.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 12am EST and gets populated as data is received from the exchanges.\n",
 18931          "parameters": [
 18932            {
 18933              "description": "Ticker of the snapshot",
 18934              "example": "X:BTCUSD",
 18935              "in": "path",
 18936              "name": "ticker",
 18937              "required": true,
 18938              "schema": {
 18939                "type": "string"
 18940              }
 18941            }
 18942          ],
 18943          "responses": {
 18944            "200": {
 18945              "content": {
 18946                "application/json": {
 18947                  "example": {
 18948                    "request_id": "ad92e92ce183112c593717f00dfebd2c",
 18949                    "status": "OK",
 18950                    "ticker": {
 18951                      "day": {
 18952                        "c": 16260.85,
 18953                        "h": 16428.4,
 18954                        "l": 15830.4,
 18955                        "o": 16418.07,
 18956                        "v": 105008.84231068,
 18957                        "vw": 0
 18958                      },
 18959                      "lastTrade": {
 18960                        "c": [
 18961                          2
 18962                        ],
 18963                        "i": "464569520",
 18964                        "p": 16242.31,
 18965                        "s": 0.001933,
 18966                        "t": 1605294230780,
 18967                        "x": 4
 18968                      },
 18969                      "min": {
 18970                        "c": 16235.1,
 18971                        "h": 16264.29,
 18972                        "l": 16129.3,
 18973                        "n": 558,
 18974                        "o": 16257.51,
 18975                        "t": 1684428960000,
 18976                        "v": 19.30791925,
 18977                        "vw": 0
 18978                      },
 18979                      "prevDay": {
 18980                        "c": 16399.24,
 18981                        "h": 16418.07,
 18982                        "l": 16399.24,
 18983                        "o": 16418.07,
 18984                        "v": 0.99167108,
 18985                        "vw": 16402.6893
 18986                      },
 18987                      "ticker": "X:BTCUSD",
 18988                      "todaysChange": -156.93,
 18989                      "todaysChangePerc": -0.956935,
 18990                      "updated": 1605330008999
 18991                    }
 18992                  },
 18993                  "schema": {
 18994                    "allOf": [
 18995                      {
 18996                        "properties": {
 18997                          "status": {
 18998                            "description": "The status of this request's response.",
 18999                            "type": "string"
 19000                          }
 19001                        },
 19002                        "required": [
 19003                          "status"
 19004                        ],
 19005                        "type": "object"
 19006                      },
 19007                      {
 19008                        "properties": {
 19009                          "request_id": {
 19010                            "description": "A request id assigned by the server.",
 19011                            "type": "string"
 19012                          }
 19013                        },
 19014                        "required": [
 19015                          "request_id"
 19016                        ],
 19017                        "type": "object"
 19018                      },
 19019                      {
 19020                        "properties": {
 19021                          "ticker": {
 19022                            "properties": {
 19023                              "day": {
 19024                                "description": "The most recent daily bar for this ticker.",
 19025                                "properties": {
 19026                                  "c": {
 19027                                    "description": "The close price for the symbol in the given time period.",
 19028                                    "format": "double",
 19029                                    "type": "number"
 19030                                  },
 19031                                  "h": {
 19032                                    "description": "The highest price for the symbol in the given time period.",
 19033                                    "format": "double",
 19034                                    "type": "number"
 19035                                  },
 19036                                  "l": {
 19037                                    "description": "The lowest price for the symbol in the given time period.",
 19038                                    "format": "double",
 19039                                    "type": "number"
 19040                                  },
 19041                                  "o": {
 19042                                    "description": "The open price for the symbol in the given time period.",
 19043                                    "format": "double",
 19044                                    "type": "number"
 19045                                  },
 19046                                  "v": {
 19047                                    "description": "The trading volume of the symbol in the given time period.",
 19048                                    "format": "double",
 19049                                    "type": "number"
 19050                                  },
 19051                                  "vw": {
 19052                                    "description": "The volume weighted average price.",
 19053                                    "format": "double",
 19054                                    "type": "number"
 19055                                  }
 19056                                },
 19057                                "required": [
 19058                                  "o",
 19059                                  "h",
 19060                                  "l",
 19061                                  "c",
 19062                                  "v",
 19063                                  "vw"
 19064                                ],
 19065                                "type": "object"
 19066                              },
 19067                              "fmv": {
 19068                                "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 19069                                "format": "double",
 19070                                "type": "number"
 19071                              },
 19072                              "lastTrade": {
 19073                                "allOf": [
 19074                                  {
 19075                                    "description": "The most recent trade for this ticker."
 19076                                  },
 19077                                  {
 19078                                    "properties": {
 19079                                      "c": {
 19080                                        "description": "The trade conditions.",
 19081                                        "items": {
 19082                                          "type": "integer"
 19083                                        },
 19084                                        "type": "array"
 19085                                      },
 19086                                      "i": {
 19087                                        "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
 19088                                        "type": "string"
 19089                                      },
 19090                                      "p": {
 19091                                        "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
 19092                                        "format": "double",
 19093                                        "type": "number"
 19094                                      },
 19095                                      "s": {
 19096                                        "description": "The size (volume) of the trade.",
 19097                                        "type": "number"
 19098                                      },
 19099                                      "t": {
 19100                                        "description": "The millisecond accuracy timestamp. This is the timestamp of when the trade was generated at the exchange.",
 19101                                        "type": "integer"
 19102                                      },
 19103                                      "x": {
 19104                                        "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
 19105                                        "type": "integer"
 19106                                      }
 19107                                    },
 19108                                    "required": [
 19109                                      "c",
 19110                                      "i",
 19111                                      "p",
 19112                                      "s",
 19113                                      "t",
 19114                                      "x"
 19115                                    ],
 19116                                    "type": "object"
 19117                                  }
 19118                                ]
 19119                              },
 19120                              "min": {
 19121                                "description": "The most recent minute bar for this ticker.",
 19122                                "properties": {
 19123                                  "c": {
 19124                                    "description": "The close price for the symbol in the given time period.",
 19125                                    "format": "double",
 19126                                    "type": "number"
 19127                                  },
 19128                                  "h": {
 19129                                    "description": "The highest price for the symbol in the given time period.",
 19130                                    "format": "double",
 19131                                    "type": "number"
 19132                                  },
 19133                                  "l": {
 19134                                    "description": "The lowest price for the symbol in the given time period.",
 19135                                    "format": "double",
 19136                                    "type": "number"
 19137                                  },
 19138                                  "n": {
 19139                                    "description": "The number of transactions in the aggregate window.",
 19140                                    "type": "integer"
 19141                                  },
 19142                                  "o": {
 19143                                    "description": "The open price for the symbol in the given time period.",
 19144                                    "format": "double",
 19145                                    "type": "number"
 19146                                  },
 19147                                  "t": {
 19148                                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
 19149                                    "type": "integer"
 19150                                  },
 19151                                  "v": {
 19152                                    "description": "The trading volume of the symbol in the given time period.",
 19153                                    "format": "double",
 19154                                    "type": "number"
 19155                                  },
 19156                                  "vw": {
 19157                                    "description": "The volume weighted average price.",
 19158                                    "format": "double",
 19159                                    "type": "number"
 19160                                  }
 19161                                },
 19162                                "required": [
 19163                                  "o",
 19164                                  "h",
 19165                                  "l",
 19166                                  "c",
 19167                                  "v",
 19168                                  "vw",
 19169                                  "t",
 19170                                  "n"
 19171                                ],
 19172                                "type": "object"
 19173                              },
 19174                              "prevDay": {
 19175                                "description": "The previous day's bar for this ticker.",
 19176                                "properties": {
 19177                                  "c": {
 19178                                    "description": "The close price for the symbol in the given time period.",
 19179                                    "format": "double",
 19180                                    "type": "number"
 19181                                  },
 19182                                  "h": {
 19183                                    "description": "The highest price for the symbol in the given time period.",
 19184                                    "format": "double",
 19185                                    "type": "number"
 19186                                  },
 19187                                  "l": {
 19188                                    "description": "The lowest price for the symbol in the given time period.",
 19189                                    "format": "double",
 19190                                    "type": "number"
 19191                                  },
 19192                                  "o": {
 19193                                    "description": "The open price for the symbol in the given time period.",
 19194                                    "format": "double",
 19195                                    "type": "number"
 19196                                  },
 19197                                  "v": {
 19198                                    "description": "The trading volume of the symbol in the given time period.",
 19199                                    "format": "double",
 19200                                    "type": "number"
 19201                                  },
 19202                                  "vw": {
 19203                                    "description": "The volume weighted average price.",
 19204                                    "format": "double",
 19205                                    "type": "number"
 19206                                  }
 19207                                },
 19208                                "required": [
 19209                                  "o",
 19210                                  "h",
 19211                                  "l",
 19212                                  "c",
 19213                                  "v",
 19214                                  "vw"
 19215                                ],
 19216                                "type": "object"
 19217                              },
 19218                              "ticker": {
 19219                                "description": "The exchange symbol that this item is traded under.",
 19220                                "type": "string"
 19221                              },
 19222                              "todaysChange": {
 19223                                "description": "The value of the change from the previous day.",
 19224                                "format": "double",
 19225                                "type": "number"
 19226                              },
 19227                              "todaysChangePerc": {
 19228                                "description": "The percentage change since the previous day.",
 19229                                "format": "double",
 19230                                "type": "number"
 19231                              },
 19232                              "updated": {
 19233                                "description": "The last updated timestamp.",
 19234                                "type": "integer"
 19235                              }
 19236                            },
 19237                            "required": [
 19238                              "day",
 19239                              "lastTrade",
 19240                              "min",
 19241                              "prevDay",
 19242                              "ticker",
 19243                              "todaysChange",
 19244                              "todaysChangePerc",
 19245                              "updated"
 19246                            ],
 19247                            "type": "object"
 19248                          }
 19249                        },
 19250                        "type": "object"
 19251                      }
 19252                    ]
 19253                  }
 19254                },
 19255                "text/csv": {
 19256                  "example": "day_c,day_h,day_l,day_o,day_v,lastTrade_c,lastTrade_i,lastTrade_p,lastTrade_s,lastTrade_t,lastTrade_x,min_c,min_h,min_l,min_o,min_v,prevDay_c,prevDay_h,prevDay_l,prevDay_o,prevDay_v,prevDay_vw\n16260.85,16428.4,15830.4,16418.07,105008.84231068,0,\"[2]\",464569520,16242.31,0.001933,1605294230780,4,16235.1,16264.29,16129.3,16257.51,19.30791925,0,16399.24,16418.07,16399.24,16418.07,0.99167108,16402.6893\n",
 19257                  "schema": {
 19258                    "type": "string"
 19259                  }
 19260                }
 19261              },
 19262              "description": "Get current state for a ticker"
 19263            },
 19264            "default": {
 19265              "description": "Unexpected error"
 19266            }
 19267          },
 19268          "summary": "Ticker",
 19269          "tags": [
 19270            "crypto:snapshot"
 19271          ],
 19272          "x-polygon-entitlement-allowed-timeframes": [
 19273            {
 19274              "description": "Real Time Data",
 19275              "name": "realtime"
 19276            },
 19277            {
 19278              "description": "15 minute delayed data",
 19279              "name": "delayed"
 19280            }
 19281          ],
 19282          "x-polygon-entitlement-data-type": {
 19283            "description": "Aggregate data",
 19284            "name": "aggregates"
 19285          },
 19286          "x-polygon-entitlement-market-type": {
 19287            "description": "Crypto data",
 19288            "name": "crypto"
 19289          }
 19290        }
 19291      },
 19292      "/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}/book": {
 19293        "get": {
 19294          "description": "Get the current level 2 book of a single ticker. This is the combined book from all of the exchanges.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 12am EST and gets populated as data is received from the exchanges.\n",
 19295          "parameters": [
 19296            {
 19297              "description": "The cryptocurrency ticker.",
 19298              "example": "X:BTCUSD",
 19299              "in": "path",
 19300              "name": "ticker",
 19301              "required": true,
 19302              "schema": {
 19303                "type": "string"
 19304              }
 19305            }
 19306          ],
 19307          "responses": {
 19308            "200": {
 19309              "content": {
 19310                "application/json": {
 19311                  "example": {
 19312                    "data": {
 19313                      "askCount": 593.1412981600005,
 19314                      "asks": [
 19315                        {
 19316                          "p": 11454,
 19317                          "x": {
 19318                            "2": 1
 19319                          }
 19320                        },
 19321                        {
 19322                          "p": 11455,
 19323                          "x": {
 19324                            "2": 1
 19325                          }
 19326                        }
 19327                      ],
 19328                      "bidCount": 694.951789670001,
 19329                      "bids": [
 19330                        {
 19331                          "p": 16303.17,
 19332                          "x": {
 19333                            "1": 2
 19334                          }
 19335                        },
 19336                        {
 19337                          "p": 16302.94,
 19338                          "x": {
 19339                            "1": 0.02859424,
 19340                            "6": 0.023455
 19341                          }
 19342                        }
 19343                      ],
 19344                      "spread": -4849.17,
 19345                      "ticker": "X:BTCUSD",
 19346                      "updated": 1605295074162
 19347                    },
 19348                    "status": "OK"
 19349                  },
 19350                  "schema": {
 19351                    "allOf": [
 19352                      {
 19353                        "description": "The status of this request's response.",
 19354                        "type": "string"
 19355                      },
 19356                      {
 19357                        "properties": {
 19358                          "data": {
 19359                            "properties": {
 19360                              "askCount": {
 19361                                "description": "The combined total number of asks in the book.",
 19362                                "format": "double",
 19363                                "type": "number"
 19364                              },
 19365                              "asks": {
 19366                                "items": {
 19367                                  "properties": {
 19368                                    "p": {
 19369                                      "description": "The price of this book level.",
 19370                                      "format": "double",
 19371                                      "type": "number"
 19372                                    },
 19373                                    "x": {
 19374                                      "description": "A map of the exchange ID to number of shares at this price level.\n\u003cbr /\u003e\n\u003cbr /\u003e\n**Example:**\n\u003cbr /\u003e\n`{\n  \"p\": 16302.94,\n  \"x\": {\n    \"1\": 0.02859424,\n    \"6\": 0.023455\n  }\n}`\n\u003cbr /\u003e\n\u003cbr /\u003e\nIn this example, exchange ID 1 has 0.02859424 shares available at $16,302.94,\nand exchange ID 6 has 0.023455 shares at the same price level.\n",
 19375                                      "type": "object"
 19376                                    }
 19377                                  },
 19378                                  "required": [
 19379                                    "p",
 19380                                    "x"
 19381                                  ],
 19382                                  "type": "object"
 19383                                },
 19384                                "type": "array"
 19385                              },
 19386                              "bidCount": {
 19387                                "description": "The combined total number of bids in the book.",
 19388                                "format": "double",
 19389                                "type": "number"
 19390                              },
 19391                              "bids": {
 19392                                "items": {
 19393                                  "properties": {
 19394                                    "p": {
 19395                                      "description": "The price of this book level.",
 19396                                      "format": "double",
 19397                                      "type": "number"
 19398                                    },
 19399                                    "x": {
 19400                                      "description": "A map of the exchange ID to number of shares at this price level.\n\u003cbr /\u003e\n\u003cbr /\u003e\n**Example:**\n\u003cbr /\u003e\n`{\n  \"p\": 16302.94,\n  \"x\": {\n    \"1\": 0.02859424,\n    \"6\": 0.023455\n  }\n}`\n\u003cbr /\u003e\n\u003cbr /\u003e\nIn this example, exchange ID 1 has 0.02859424 shares available at $16,302.94,\nand exchange ID 6 has 0.023455 shares at the same price level.\n",
 19401                                      "type": "object"
 19402                                    }
 19403                                  },
 19404                                  "required": [
 19405                                    "p",
 19406                                    "x"
 19407                                  ],
 19408                                  "type": "object"
 19409                                },
 19410                                "type": "array"
 19411                              },
 19412                              "spread": {
 19413                                "description": "The difference between the best bid and the best ask price across exchanges.",
 19414                                "format": "double",
 19415                                "type": "number"
 19416                              },
 19417                              "ticker": {
 19418                                "description": "The exchange symbol that this item is traded under.",
 19419                                "type": "string"
 19420                              },
 19421                              "updated": {
 19422                                "description": "The last updated timestamp.",
 19423                                "type": "integer"
 19424                              }
 19425                            },
 19426                            "required": [
 19427                              "ticker",
 19428                              "bids",
 19429                              "asks",
 19430                              "bidCount",
 19431                              "askCount",
 19432                              "spread",
 19433                              "updated"
 19434                            ],
 19435                            "type": "object"
 19436                          }
 19437                        },
 19438                        "type": "object"
 19439                      }
 19440                    ]
 19441                  }
 19442                },
 19443                "text/csv": {
 19444                  "example": "side,price,size,exchange\nbid,20292.97,0.01501,1\nbid,20291.93,0.00218483,1\nask,18445.61,0.22,1\nask,18463.07,0.00234104,1\nask,18464.83,0.04159475,1\n",
 19445                  "schema": {
 19446                    "type": "string"
 19447                  }
 19448                }
 19449              },
 19450              "description": "Get current level 2 book for a ticker"
 19451            },
 19452            "default": {
 19453              "description": "Unexpected error"
 19454            }
 19455          },
 19456          "summary": "Ticker Full Book (L2)",
 19457          "tags": [
 19458            "crypto:snapshot"
 19459          ],
 19460          "x-polygon-entitlement-allowed-timeframes": [
 19461            {
 19462              "description": "Real Time Data",
 19463              "name": "realtime"
 19464            },
 19465            {
 19466              "description": "15 minute delayed data",
 19467              "name": "delayed"
 19468            }
 19469          ],
 19470          "x-polygon-entitlement-data-type": {
 19471            "description": "Aggregate data",
 19472            "name": "aggregates"
 19473          },
 19474          "x-polygon-entitlement-market-type": {
 19475            "description": "Crypto data",
 19476            "name": "crypto"
 19477          }
 19478        }
 19479      },
 19480      "/v2/snapshot/locale/global/markets/crypto/{direction}": {
 19481        "get": {
 19482          "description": "Get the current top 20 gainers or losers of the day in cryptocurrency markets.\n\u003cbr /\u003e\n\u003cbr /\u003e\nTop gainers are those tickers whose price has increased by the highest percentage since the previous day's close.\nTop losers are those tickers whose price has decreased by the highest percentage since the previous day's close.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 12am EST and gets populated as data is received from the exchanges.\n",
 19483          "parameters": [
 19484            {
 19485              "description": "The direction of the snapshot results to return.\n",
 19486              "example": "gainers",
 19487              "in": "path",
 19488              "name": "direction",
 19489              "required": true,
 19490              "schema": {
 19491                "enum": [
 19492                  "gainers",
 19493                  "losers"
 19494                ],
 19495                "type": "string"
 19496              }
 19497            }
 19498          ],
 19499          "responses": {
 19500            "200": {
 19501              "content": {
 19502                "application/json": {
 19503                  "example": {
 19504                    "status": "OK",
 19505                    "tickers": [
 19506                      {
 19507                        "day": {
 19508                          "c": 0.0374,
 19509                          "h": 0.062377,
 19510                          "l": 0.01162,
 19511                          "o": 0.044834,
 19512                          "v": 27313165.159427017,
 19513                          "vw": 0
 19514                        },
 19515                        "lastTrade": {
 19516                          "c": [
 19517                            2
 19518                          ],
 19519                          "i": "517478762",
 19520                          "p": 0.0374,
 19521                          "s": 499,
 19522                          "t": 1604409649544,
 19523                          "x": 2
 19524                        },
 19525                        "min": {
 19526                          "c": 0.062377,
 19527                          "h": 0.062377,
 19528                          "l": 0.062377,
 19529                          "n": 2,
 19530                          "o": 0.062377,
 19531                          "t": 1684426740000,
 19532                          "v": 35420,
 19533                          "vw": 0
 19534                        },
 19535                        "prevDay": {
 19536                          "c": 0.01162,
 19537                          "h": 0.044834,
 19538                          "l": 0.01162,
 19539                          "o": 0.044834,
 19540                          "v": 53616273.36827199,
 19541                          "vw": 0.0296
 19542                        },
 19543                        "ticker": "X:DRNUSD",
 19544                        "todaysChange": 0.02578,
 19545                        "todaysChangePerc": 221.858864,
 19546                        "updated": 1605330008999
 19547                      }
 19548                    ]
 19549                  },
 19550                  "schema": {
 19551                    "allOf": [
 19552                      {
 19553                        "description": "The status of this request's response.",
 19554                        "type": "string"
 19555                      },
 19556                      {
 19557                        "properties": {
 19558                          "tickers": {
 19559                            "items": {
 19560                              "properties": {
 19561                                "day": {
 19562                                  "description": "The most recent daily bar for this ticker.",
 19563                                  "properties": {
 19564                                    "c": {
 19565                                      "description": "The close price for the symbol in the given time period.",
 19566                                      "format": "double",
 19567                                      "type": "number"
 19568                                    },
 19569                                    "h": {
 19570                                      "description": "The highest price for the symbol in the given time period.",
 19571                                      "format": "double",
 19572                                      "type": "number"
 19573                                    },
 19574                                    "l": {
 19575                                      "description": "The lowest price for the symbol in the given time period.",
 19576                                      "format": "double",
 19577                                      "type": "number"
 19578                                    },
 19579                                    "o": {
 19580                                      "description": "The open price for the symbol in the given time period.",
 19581                                      "format": "double",
 19582                                      "type": "number"
 19583                                    },
 19584                                    "v": {
 19585                                      "description": "The trading volume of the symbol in the given time period.",
 19586                                      "format": "double",
 19587                                      "type": "number"
 19588                                    },
 19589                                    "vw": {
 19590                                      "description": "The volume weighted average price.",
 19591                                      "format": "double",
 19592                                      "type": "number"
 19593                                    }
 19594                                  },
 19595                                  "required": [
 19596                                    "o",
 19597                                    "h",
 19598                                    "l",
 19599                                    "c",
 19600                                    "v",
 19601                                    "vw"
 19602                                  ],
 19603                                  "type": "object"
 19604                                },
 19605                                "fmv": {
 19606                                  "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 19607                                  "format": "double",
 19608                                  "type": "number"
 19609                                },
 19610                                "lastTrade": {
 19611                                  "allOf": [
 19612                                    {
 19613                                      "description": "The most recent trade for this ticker."
 19614                                    },
 19615                                    {
 19616                                      "properties": {
 19617                                        "c": {
 19618                                          "description": "The trade conditions.",
 19619                                          "items": {
 19620                                            "type": "integer"
 19621                                          },
 19622                                          "type": "array"
 19623                                        },
 19624                                        "i": {
 19625                                          "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
 19626                                          "type": "string"
 19627                                        },
 19628                                        "p": {
 19629                                          "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
 19630                                          "format": "double",
 19631                                          "type": "number"
 19632                                        },
 19633                                        "s": {
 19634                                          "description": "The size (volume) of the trade.",
 19635                                          "type": "number"
 19636                                        },
 19637                                        "t": {
 19638                                          "description": "The millisecond accuracy timestamp. This is the timestamp of when the trade was generated at the exchange.",
 19639                                          "type": "integer"
 19640                                        },
 19641                                        "x": {
 19642                                          "description": "The exchange that this crypto trade happened on.  \nSee \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\"\u003eExchanges\u003c/a\u003e for a mapping of exchanges to IDs.\n",
 19643                                          "type": "integer"
 19644                                        }
 19645                                      },
 19646                                      "required": [
 19647                                        "c",
 19648                                        "i",
 19649                                        "p",
 19650                                        "s",
 19651                                        "t",
 19652                                        "x"
 19653                                      ],
 19654                                      "type": "object"
 19655                                    }
 19656                                  ]
 19657                                },
 19658                                "min": {
 19659                                  "description": "The most recent minute bar for this ticker.",
 19660                                  "properties": {
 19661                                    "c": {
 19662                                      "description": "The close price for the symbol in the given time period.",
 19663                                      "format": "double",
 19664                                      "type": "number"
 19665                                    },
 19666                                    "h": {
 19667                                      "description": "The highest price for the symbol in the given time period.",
 19668                                      "format": "double",
 19669                                      "type": "number"
 19670                                    },
 19671                                    "l": {
 19672                                      "description": "The lowest price for the symbol in the given time period.",
 19673                                      "format": "double",
 19674                                      "type": "number"
 19675                                    },
 19676                                    "n": {
 19677                                      "description": "The number of transactions in the aggregate window.",
 19678                                      "type": "integer"
 19679                                    },
 19680                                    "o": {
 19681                                      "description": "The open price for the symbol in the given time period.",
 19682                                      "format": "double",
 19683                                      "type": "number"
 19684                                    },
 19685                                    "t": {
 19686                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 19687                                      "type": "integer"
 19688                                    },
 19689                                    "v": {
 19690                                      "description": "The trading volume of the symbol in the given time period.",
 19691                                      "format": "double",
 19692                                      "type": "number"
 19693                                    },
 19694                                    "vw": {
 19695                                      "description": "The volume weighted average price.",
 19696                                      "format": "double",
 19697                                      "type": "number"
 19698                                    }
 19699                                  },
 19700                                  "required": [
 19701                                    "o",
 19702                                    "h",
 19703                                    "l",
 19704                                    "c",
 19705                                    "v",
 19706                                    "vw",
 19707                                    "t",
 19708                                    "n"
 19709                                  ],
 19710                                  "type": "object"
 19711                                },
 19712                                "prevDay": {
 19713                                  "description": "The previous day's bar for this ticker.",
 19714                                  "properties": {
 19715                                    "c": {
 19716                                      "description": "The close price for the symbol in the given time period.",
 19717                                      "format": "double",
 19718                                      "type": "number"
 19719                                    },
 19720                                    "h": {
 19721                                      "description": "The highest price for the symbol in the given time period.",
 19722                                      "format": "double",
 19723                                      "type": "number"
 19724                                    },
 19725                                    "l": {
 19726                                      "description": "The lowest price for the symbol in the given time period.",
 19727                                      "format": "double",
 19728                                      "type": "number"
 19729                                    },
 19730                                    "o": {
 19731                                      "description": "The open price for the symbol in the given time period.",
 19732                                      "format": "double",
 19733                                      "type": "number"
 19734                                    },
 19735                                    "v": {
 19736                                      "description": "The trading volume of the symbol in the given time period.",
 19737                                      "format": "double",
 19738                                      "type": "number"
 19739                                    },
 19740                                    "vw": {
 19741                                      "description": "The volume weighted average price.",
 19742                                      "format": "double",
 19743                                      "type": "number"
 19744                                    }
 19745                                  },
 19746                                  "required": [
 19747                                    "o",
 19748                                    "h",
 19749                                    "l",
 19750                                    "c",
 19751                                    "v",
 19752                                    "vw"
 19753                                  ],
 19754                                  "type": "object"
 19755                                },
 19756                                "ticker": {
 19757                                  "description": "The exchange symbol that this item is traded under.",
 19758                                  "type": "string"
 19759                                },
 19760                                "todaysChange": {
 19761                                  "description": "The value of the change from the previous day.",
 19762                                  "format": "double",
 19763                                  "type": "number"
 19764                                },
 19765                                "todaysChangePerc": {
 19766                                  "description": "The percentage change since the previous day.",
 19767                                  "format": "double",
 19768                                  "type": "number"
 19769                                },
 19770                                "updated": {
 19771                                  "description": "The last updated timestamp.",
 19772                                  "type": "integer"
 19773                                }
 19774                              },
 19775                              "required": [
 19776                                "day",
 19777                                "lastTrade",
 19778                                "min",
 19779                                "prevDay",
 19780                                "ticker",
 19781                                "todaysChange",
 19782                                "todaysChangePerc",
 19783                                "updated"
 19784                              ],
 19785                              "type": "object"
 19786                            },
 19787                            "type": "array"
 19788                          }
 19789                        },
 19790                        "type": "object"
 19791                      }
 19792                    ]
 19793                  }
 19794                },
 19795                "text/csv": {
 19796                  "example": "day_c,day_h,day_l,day_o,day_v,day_vw,lastTrade_c,lastTrade_i,lastTrade_p,lastTrade_s,lastTrade_t,lastTrade_x,day_c,day_h,day_l,day_o,day_v,day_vw,prevDay_c,prevDay_h,prevDay_l,prevDay_o,prevDay_v,prevDay_vw\n0.0374,0.062377,0.01162,0.044834,27313165.159427017,0,\"[2]\",517478762,0.0374,499,1604409649544,2,0.062377,0.062377,0.062377,0.062377,35420,0,0.01162,0.044834,0.01162,0.044834,53616273.36827199,0.0296\n",
 19797                  "schema": {
 19798                    "type": "string"
 19799                  }
 19800                }
 19801              },
 19802              "description": "Get the current gainers / losers of the day"
 19803            },
 19804            "default": {
 19805              "description": "Unexpected error"
 19806            }
 19807          },
 19808          "summary": "Gainers/Losers",
 19809          "tags": [
 19810            "crypto:snapshot"
 19811          ],
 19812          "x-polygon-entitlement-allowed-timeframes": [
 19813            {
 19814              "description": "Real Time Data",
 19815              "name": "realtime"
 19816            },
 19817            {
 19818              "description": "15 minute delayed data",
 19819              "name": "delayed"
 19820            }
 19821          ],
 19822          "x-polygon-entitlement-data-type": {
 19823            "description": "Aggregate data",
 19824            "name": "aggregates"
 19825          },
 19826          "x-polygon-entitlement-market-type": {
 19827            "description": "Crypto data",
 19828            "name": "crypto"
 19829          }
 19830        }
 19831      },
 19832      "/v2/snapshot/locale/global/markets/forex/tickers": {
 19833        "get": {
 19834          "description": "Get the current minute, day, and previous day’s aggregate, as well as the last trade and quote for all traded forex symbols.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 12am EST and gets populated as data is received from the exchanges. This can happen as early as 4am EST.\n",
 19835          "parameters": [
 19836            {
 19837              "description": "A case-sensitive comma separated list of tickers to get snapshots for. For example, AAPL,TSLA,GOOG. Empty string defaults to querying all tickers.",
 19838              "in": "query",
 19839              "name": "tickers",
 19840              "schema": {
 19841                "items": {
 19842                  "type": "string"
 19843                },
 19844                "type": "array"
 19845              }
 19846            }
 19847          ],
 19848          "responses": {
 19849            "200": {
 19850              "content": {
 19851                "application/json": {
 19852                  "example": {
 19853                    "status": "OK",
 19854                    "tickers": [
 19855                      {
 19856                        "day": {
 19857                          "c": 0.11778221,
 19858                          "h": 0.11812263,
 19859                          "l": 0.11766631,
 19860                          "o": 0.11797149,
 19861                          "v": 77794
 19862                        },
 19863                        "lastQuote": {
 19864                          "a": 0.11780678,
 19865                          "b": 0.11777952,
 19866                          "t": 1605280919000,
 19867                          "x": 48
 19868                        },
 19869                        "min": {
 19870                          "c": 0.117769,
 19871                          "h": 0.11779633,
 19872                          "l": 0.11773698,
 19873                          "n": 1,
 19874                          "o": 0.11778,
 19875                          "t": 1684422000000,
 19876                          "v": 202
 19877                        },
 19878                        "prevDay": {
 19879                          "c": 0.11797258,
 19880                          "h": 0.11797258,
 19881                          "l": 0.11797149,
 19882                          "o": 0.11797149,
 19883                          "v": 2,
 19884                          "vw": 0
 19885                        },
 19886                        "ticker": "C:HKDCHF",
 19887                        "todaysChange": -0.00019306,
 19888                        "todaysChangePerc": -0.1636482,
 19889                        "updated": 1605280919000
 19890                      }
 19891                    ]
 19892                  },
 19893                  "schema": {
 19894                    "allOf": [
 19895                      {
 19896                        "properties": {
 19897                          "status": {
 19898                            "description": "The status of this request's response.",
 19899                            "type": "string"
 19900                          }
 19901                        },
 19902                        "required": [
 19903                          "status"
 19904                        ],
 19905                        "type": "object"
 19906                      },
 19907                      {
 19908                        "properties": {
 19909                          "tickers": {
 19910                            "items": {
 19911                              "properties": {
 19912                                "day": {
 19913                                  "description": "The most recent daily bar for this ticker.",
 19914                                  "properties": {
 19915                                    "c": {
 19916                                      "description": "The close price for the symbol in the given time period.",
 19917                                      "format": "double",
 19918                                      "type": "number"
 19919                                    },
 19920                                    "h": {
 19921                                      "description": "The highest price for the symbol in the given time period.",
 19922                                      "format": "double",
 19923                                      "type": "number"
 19924                                    },
 19925                                    "l": {
 19926                                      "description": "The lowest price for the symbol in the given time period.",
 19927                                      "format": "double",
 19928                                      "type": "number"
 19929                                    },
 19930                                    "o": {
 19931                                      "description": "The open price for the symbol in the given time period.",
 19932                                      "format": "double",
 19933                                      "type": "number"
 19934                                    },
 19935                                    "v": {
 19936                                      "description": "The trading volume of the symbol in the given time period.",
 19937                                      "format": "double",
 19938                                      "type": "number"
 19939                                    }
 19940                                  },
 19941                                  "required": [
 19942                                    "o",
 19943                                    "h",
 19944                                    "l",
 19945                                    "c",
 19946                                    "v"
 19947                                  ],
 19948                                  "type": "object"
 19949                                },
 19950                                "fmv": {
 19951                                  "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 19952                                  "format": "double",
 19953                                  "type": "number"
 19954                                },
 19955                                "lastQuote": {
 19956                                  "description": "The most recent quote for this ticker.",
 19957                                  "properties": {
 19958                                    "a": {
 19959                                      "description": "The ask price.",
 19960                                      "format": "double",
 19961                                      "type": "number"
 19962                                    },
 19963                                    "b": {
 19964                                      "description": "The bid price.",
 19965                                      "format": "double",
 19966                                      "type": "number"
 19967                                    },
 19968                                    "t": {
 19969                                      "description": "The millisecond accuracy timestamp of the quote.",
 19970                                      "type": "integer"
 19971                                    },
 19972                                    "x": {
 19973                                      "description": "The exchange ID on which this quote happened.",
 19974                                      "type": "integer"
 19975                                    }
 19976                                  },
 19977                                  "required": [
 19978                                    "a",
 19979                                    "b",
 19980                                    "t",
 19981                                    "x"
 19982                                  ],
 19983                                  "type": "object"
 19984                                },
 19985                                "min": {
 19986                                  "description": "The most recent minute bar for this ticker.",
 19987                                  "properties": {
 19988                                    "c": {
 19989                                      "description": "The close price for the symbol in the given time period.",
 19990                                      "format": "double",
 19991                                      "type": "number"
 19992                                    },
 19993                                    "h": {
 19994                                      "description": "The highest price for the symbol in the given time period.",
 19995                                      "format": "double",
 19996                                      "type": "number"
 19997                                    },
 19998                                    "l": {
 19999                                      "description": "The lowest price for the symbol in the given time period.",
 20000                                      "format": "double",
 20001                                      "type": "number"
 20002                                    },
 20003                                    "n": {
 20004                                      "description": "The number of transactions in the aggregate window.",
 20005                                      "type": "integer"
 20006                                    },
 20007                                    "o": {
 20008                                      "description": "The open price for the symbol in the given time period.",
 20009                                      "format": "double",
 20010                                      "type": "number"
 20011                                    },
 20012                                    "t": {
 20013                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 20014                                      "type": "integer"
 20015                                    },
 20016                                    "v": {
 20017                                      "description": "The trading volume of the symbol in the given time period.",
 20018                                      "format": "double",
 20019                                      "type": "number"
 20020                                    }
 20021                                  },
 20022                                  "type": "object"
 20023                                },
 20024                                "prevDay": {
 20025                                  "description": "The previous day's bar for this ticker.",
 20026                                  "properties": {
 20027                                    "c": {
 20028                                      "description": "The close price for the symbol in the given time period.",
 20029                                      "format": "double",
 20030                                      "type": "number"
 20031                                    },
 20032                                    "h": {
 20033                                      "description": "The highest price for the symbol in the given time period.",
 20034                                      "format": "double",
 20035                                      "type": "number"
 20036                                    },
 20037                                    "l": {
 20038                                      "description": "The lowest price for the symbol in the given time period.",
 20039                                      "format": "double",
 20040                                      "type": "number"
 20041                                    },
 20042                                    "o": {
 20043                                      "description": "The open price for the symbol in the given time period.",
 20044                                      "format": "double",
 20045                                      "type": "number"
 20046                                    },
 20047                                    "v": {
 20048                                      "description": "The trading volume of the symbol in the given time period.",
 20049                                      "format": "double",
 20050                                      "type": "number"
 20051                                    },
 20052                                    "vw": {
 20053                                      "description": "The volume weighted average price.",
 20054                                      "format": "double",
 20055                                      "type": "number"
 20056                                    }
 20057                                  },
 20058                                  "required": [
 20059                                    "o",
 20060                                    "h",
 20061                                    "l",
 20062                                    "c",
 20063                                    "v",
 20064                                    "vw"
 20065                                  ],
 20066                                  "type": "object"
 20067                                },
 20068                                "ticker": {
 20069                                  "description": "The exchange symbol that this item is traded under.",
 20070                                  "type": "string"
 20071                                },
 20072                                "todaysChange": {
 20073                                  "description": "The value of the change from the previous day.",
 20074                                  "format": "double",
 20075                                  "type": "number"
 20076                                },
 20077                                "todaysChangePerc": {
 20078                                  "description": "The percentage change since the previous day.",
 20079                                  "format": "double",
 20080                                  "type": "number"
 20081                                },
 20082                                "updated": {
 20083                                  "description": "The last updated timestamp.",
 20084                                  "type": "integer"
 20085                                }
 20086                              },
 20087                              "required": [
 20088                                "day",
 20089                                "lastQuote",
 20090                                "min",
 20091                                "prevDay",
 20092                                "ticker",
 20093                                "todaysChange",
 20094                                "todaysChangePerc",
 20095                                "updated"
 20096                              ],
 20097                              "type": "object"
 20098                            },
 20099                            "type": "array"
 20100                          }
 20101                        },
 20102                        "type": "object"
 20103                      }
 20104                    ]
 20105                  }
 20106                },
 20107                "text/csv": {
 20108                  "example": "day_c,day_h,day_l,day_o,day_v,lastQuote_a,lastQuote_b,lastQuote_i,lastQuote_t,lastQuote_x,min_c,min_h,min_l,min_o,min_v,prevDay_c,prevDay_h,prevDay_l,prevDay_o,prevDay_v,prevDay_vw\n1.18403,1.1906,1.18001,1.18725,83578,1.18403,1.18398,0,1606163759000,48,1.18396,1.18423,1.1838,1.18404,41,1.18724,1.18727,1.18725,1.18725,5,0\n",
 20109                  "schema": {
 20110                    "type": "string"
 20111                  }
 20112                }
 20113              },
 20114              "description": "Get current state for all tickers"
 20115            },
 20116            "default": {
 20117              "description": "Unexpected error"
 20118            }
 20119          },
 20120          "summary": "All Tickers",
 20121          "tags": [
 20122            "fx:snapshot"
 20123          ],
 20124          "x-polygon-entitlement-allowed-timeframes": [
 20125            {
 20126              "description": "Real Time Data",
 20127              "name": "realtime"
 20128            },
 20129            {
 20130              "description": "15 minute delayed data",
 20131              "name": "delayed"
 20132            }
 20133          ],
 20134          "x-polygon-entitlement-data-type": {
 20135            "description": "Aggregate data",
 20136            "name": "aggregates"
 20137          },
 20138          "x-polygon-entitlement-market-type": {
 20139            "description": "Forex data",
 20140            "name": "fx"
 20141          }
 20142        }
 20143      },
 20144      "/v2/snapshot/locale/global/markets/forex/tickers/{ticker}": {
 20145        "get": {
 20146          "description": "Get the current minute, day, and previous day’s aggregate, as well as the last trade and quote for a single traded currency symbol.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 12am EST and gets populated as data is received from the exchanges.\n",
 20147          "parameters": [
 20148            {
 20149              "description": "The forex ticker.",
 20150              "example": "C:EURUSD",
 20151              "in": "path",
 20152              "name": "ticker",
 20153              "required": true,
 20154              "schema": {
 20155                "type": "string"
 20156              }
 20157            }
 20158          ],
 20159          "responses": {
 20160            "200": {
 20161              "content": {
 20162                "application/json": {
 20163                  "example": {
 20164                    "request_id": "ad76e76ce183002c5937a7f02dfebde4",
 20165                    "status": "OK",
 20166                    "ticker": {
 20167                      "day": {
 20168                        "c": 1.18403,
 20169                        "h": 1.1906,
 20170                        "l": 1.18001,
 20171                        "o": 1.18725,
 20172                        "v": 83578
 20173                      },
 20174                      "lastQuote": {
 20175                        "a": 1.18403,
 20176                        "b": 1.18398,
 20177                        "i": 0,
 20178                        "t": 1606163759000,
 20179                        "x": 48
 20180                      },
 20181                      "min": {
 20182                        "c": 1.18396,
 20183                        "h": 1.18423,
 20184                        "l": 1.1838,
 20185                        "n": 85,
 20186                        "o": 1.18404,
 20187                        "t": 1684422000000,
 20188                        "v": 41
 20189                      },
 20190                      "prevDay": {
 20191                        "c": 1.18724,
 20192                        "h": 1.18727,
 20193                        "l": 1.18725,
 20194                        "o": 1.18725,
 20195                        "v": 5,
 20196                        "vw": 0
 20197                      },
 20198                      "ticker": "C:EURUSD",
 20199                      "todaysChange": -0.00316,
 20200                      "todaysChangePerc": -0.27458312,
 20201                      "updated": 1606163759000
 20202                    }
 20203                  },
 20204                  "schema": {
 20205                    "allOf": [
 20206                      {
 20207                        "properties": {
 20208                          "status": {
 20209                            "description": "The status of this request's response.",
 20210                            "type": "string"
 20211                          }
 20212                        },
 20213                        "required": [
 20214                          "status"
 20215                        ],
 20216                        "type": "object"
 20217                      },
 20218                      {
 20219                        "properties": {
 20220                          "request_id": {
 20221                            "description": "A request id assigned by the server.",
 20222                            "type": "string"
 20223                          }
 20224                        },
 20225                        "required": [
 20226                          "request_id"
 20227                        ],
 20228                        "type": "object"
 20229                      },
 20230                      {
 20231                        "properties": {
 20232                          "ticker": {
 20233                            "properties": {
 20234                              "day": {
 20235                                "description": "The most recent daily bar for this ticker.",
 20236                                "properties": {
 20237                                  "c": {
 20238                                    "description": "The close price for the symbol in the given time period.",
 20239                                    "format": "double",
 20240                                    "type": "number"
 20241                                  },
 20242                                  "h": {
 20243                                    "description": "The highest price for the symbol in the given time period.",
 20244                                    "format": "double",
 20245                                    "type": "number"
 20246                                  },
 20247                                  "l": {
 20248                                    "description": "The lowest price for the symbol in the given time period.",
 20249                                    "format": "double",
 20250                                    "type": "number"
 20251                                  },
 20252                                  "o": {
 20253                                    "description": "The open price for the symbol in the given time period.",
 20254                                    "format": "double",
 20255                                    "type": "number"
 20256                                  },
 20257                                  "v": {
 20258                                    "description": "The trading volume of the symbol in the given time period.",
 20259                                    "format": "double",
 20260                                    "type": "number"
 20261                                  }
 20262                                },
 20263                                "required": [
 20264                                  "o",
 20265                                  "h",
 20266                                  "l",
 20267                                  "c",
 20268                                  "v"
 20269                                ],
 20270                                "type": "object"
 20271                              },
 20272                              "fmv": {
 20273                                "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 20274                                "format": "double",
 20275                                "type": "number"
 20276                              },
 20277                              "lastQuote": {
 20278                                "description": "The most recent quote for this ticker.",
 20279                                "properties": {
 20280                                  "a": {
 20281                                    "description": "The ask price.",
 20282                                    "format": "double",
 20283                                    "type": "number"
 20284                                  },
 20285                                  "b": {
 20286                                    "description": "The bid price.",
 20287                                    "format": "double",
 20288                                    "type": "number"
 20289                                  },
 20290                                  "t": {
 20291                                    "description": "The millisecond accuracy timestamp of the quote.",
 20292                                    "type": "integer"
 20293                                  },
 20294                                  "x": {
 20295                                    "description": "The exchange ID on which this quote happened.",
 20296                                    "type": "integer"
 20297                                  }
 20298                                },
 20299                                "required": [
 20300                                  "a",
 20301                                  "b",
 20302                                  "t",
 20303                                  "x"
 20304                                ],
 20305                                "type": "object"
 20306                              },
 20307                              "min": {
 20308                                "description": "The most recent minute bar for this ticker.",
 20309                                "properties": {
 20310                                  "c": {
 20311                                    "description": "The close price for the symbol in the given time period.",
 20312                                    "format": "double",
 20313                                    "type": "number"
 20314                                  },
 20315                                  "h": {
 20316                                    "description": "The highest price for the symbol in the given time period.",
 20317                                    "format": "double",
 20318                                    "type": "number"
 20319                                  },
 20320                                  "l": {
 20321                                    "description": "The lowest price for the symbol in the given time period.",
 20322                                    "format": "double",
 20323                                    "type": "number"
 20324                                  },
 20325                                  "n": {
 20326                                    "description": "The number of transactions in the aggregate window.",
 20327                                    "type": "integer"
 20328                                  },
 20329                                  "o": {
 20330                                    "description": "The open price for the symbol in the given time period.",
 20331                                    "format": "double",
 20332                                    "type": "number"
 20333                                  },
 20334                                  "t": {
 20335                                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
 20336                                    "type": "integer"
 20337                                  },
 20338                                  "v": {
 20339                                    "description": "The trading volume of the symbol in the given time period.",
 20340                                    "format": "double",
 20341                                    "type": "number"
 20342                                  }
 20343                                },
 20344                                "type": "object"
 20345                              },
 20346                              "prevDay": {
 20347                                "description": "The previous day's bar for this ticker.",
 20348                                "properties": {
 20349                                  "c": {
 20350                                    "description": "The close price for the symbol in the given time period.",
 20351                                    "format": "double",
 20352                                    "type": "number"
 20353                                  },
 20354                                  "h": {
 20355                                    "description": "The highest price for the symbol in the given time period.",
 20356                                    "format": "double",
 20357                                    "type": "number"
 20358                                  },
 20359                                  "l": {
 20360                                    "description": "The lowest price for the symbol in the given time period.",
 20361                                    "format": "double",
 20362                                    "type": "number"
 20363                                  },
 20364                                  "o": {
 20365                                    "description": "The open price for the symbol in the given time period.",
 20366                                    "format": "double",
 20367                                    "type": "number"
 20368                                  },
 20369                                  "v": {
 20370                                    "description": "The trading volume of the symbol in the given time period.",
 20371                                    "format": "double",
 20372                                    "type": "number"
 20373                                  },
 20374                                  "vw": {
 20375                                    "description": "The volume weighted average price.",
 20376                                    "format": "double",
 20377                                    "type": "number"
 20378                                  }
 20379                                },
 20380                                "required": [
 20381                                  "o",
 20382                                  "h",
 20383                                  "l",
 20384                                  "c",
 20385                                  "v",
 20386                                  "vw"
 20387                                ],
 20388                                "type": "object"
 20389                              },
 20390                              "ticker": {
 20391                                "description": "The exchange symbol that this item is traded under.",
 20392                                "type": "string"
 20393                              },
 20394                              "todaysChange": {
 20395                                "description": "The value of the change from the previous day.",
 20396                                "format": "double",
 20397                                "type": "number"
 20398                              },
 20399                              "todaysChangePerc": {
 20400                                "description": "The percentage change since the previous day.",
 20401                                "format": "double",
 20402                                "type": "number"
 20403                              },
 20404                              "updated": {
 20405                                "description": "The last updated timestamp.",
 20406                                "type": "integer"
 20407                              }
 20408                            },
 20409                            "required": [
 20410                              "day",
 20411                              "lastQuote",
 20412                              "min",
 20413                              "prevDay",
 20414                              "ticker",
 20415                              "todaysChange",
 20416                              "todaysChangePerc",
 20417                              "updated"
 20418                            ],
 20419                            "type": "object"
 20420                          }
 20421                        },
 20422                        "type": "object"
 20423                      }
 20424                    ]
 20425                  }
 20426                },
 20427                "text/csv": {
 20428                  "example": "day_c,day_h,day_l,day_o,day_v,lastQuote_a,lastQuote_b,lastQuote_i,lastQuote_t,lastQuote_x,min_c,min_h,min_l,min_o,min_v,prevDay_c,prevDay_h,prevDay_l,prevDay_o,prevDay_v,prevDay_vw\n1.18403,1.1906,1.18001,1.18725,83578,1.18403,1.18398,0,1606163759000,48,1.18396,1.18423,1.1838,1.18404,41,1.18724,1.18727,1.18725,1.18725,5,0\n",
 20429                  "schema": {
 20430                    "type": "string"
 20431                  }
 20432                }
 20433              },
 20434              "description": "Get current state for a ticker"
 20435            },
 20436            "default": {
 20437              "description": "Unexpected error"
 20438            }
 20439          },
 20440          "summary": "Ticker",
 20441          "tags": [
 20442            "fx:snapshot"
 20443          ],
 20444          "x-polygon-entitlement-allowed-timeframes": [
 20445            {
 20446              "description": "Real Time Data",
 20447              "name": "realtime"
 20448            },
 20449            {
 20450              "description": "15 minute delayed data",
 20451              "name": "delayed"
 20452            }
 20453          ],
 20454          "x-polygon-entitlement-data-type": {
 20455            "description": "Aggregate data",
 20456            "name": "aggregates"
 20457          },
 20458          "x-polygon-entitlement-market-type": {
 20459            "description": "Forex data",
 20460            "name": "fx"
 20461          }
 20462        }
 20463      },
 20464      "/v2/snapshot/locale/global/markets/forex/{direction}": {
 20465        "get": {
 20466          "description": "Get the current top 20 gainers or losers of the day in forex markets.\n\u003cbr /\u003e\n\u003cbr /\u003e\nTop gainers are those tickers whose price has increased by the highest percentage since the previous day's close.\nTop losers are those tickers whose price has decreased by the highest percentage since the previous day's close.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 12am EST and gets populated as data is received from the exchanges.\n",
 20467          "parameters": [
 20468            {
 20469              "description": "The direction of the snapshot results to return.\n",
 20470              "example": "gainers",
 20471              "in": "path",
 20472              "name": "direction",
 20473              "required": true,
 20474              "schema": {
 20475                "enum": [
 20476                  "gainers",
 20477                  "losers"
 20478                ],
 20479                "type": "string"
 20480              }
 20481            }
 20482          ],
 20483          "responses": {
 20484            "200": {
 20485              "content": {
 20486                "application/json": {
 20487                  "example": {
 20488                    "status": "OK",
 20489                    "tickers": [
 20490                      {
 20491                        "day": {
 20492                          "c": 0.886156,
 20493                          "h": 0.887111,
 20494                          "l": 0.8825327,
 20495                          "o": 0.8844732,
 20496                          "v": 1041
 20497                        },
 20498                        "lastQuote": {
 20499                          "a": 0.8879606,
 20500                          "b": 0.886156,
 20501                          "t": 1605283204000,
 20502                          "x": 48
 20503                        },
 20504                        "min": {
 20505                          "c": 0.886156,
 20506                          "h": 0.886156,
 20507                          "l": 0.886156,
 20508                          "n": 1,
 20509                          "o": 0.886156,
 20510                          "t": 1684422000000,
 20511                          "v": 1
 20512                        },
 20513                        "prevDay": {
 20514                          "c": 0.8428527,
 20515                          "h": 0.889773,
 20516                          "l": 0.8428527,
 20517                          "o": 0.8848539,
 20518                          "v": 1078,
 20519                          "vw": 0
 20520                        },
 20521                        "ticker": "C:PLNILS",
 20522                        "todaysChange": 0.0433033,
 20523                        "todaysChangePerc": 5.13770674,
 20524                        "updated": 1605330008999
 20525                      }
 20526                    ]
 20527                  },
 20528                  "schema": {
 20529                    "allOf": [
 20530                      {
 20531                        "properties": {
 20532                          "status": {
 20533                            "description": "The status of this request's response.",
 20534                            "type": "string"
 20535                          }
 20536                        },
 20537                        "required": [
 20538                          "status"
 20539                        ],
 20540                        "type": "object"
 20541                      },
 20542                      {
 20543                        "properties": {
 20544                          "tickers": {
 20545                            "items": {
 20546                              "properties": {
 20547                                "day": {
 20548                                  "description": "The most recent daily bar for this ticker.",
 20549                                  "properties": {
 20550                                    "c": {
 20551                                      "description": "The close price for the symbol in the given time period.",
 20552                                      "format": "double",
 20553                                      "type": "number"
 20554                                    },
 20555                                    "h": {
 20556                                      "description": "The highest price for the symbol in the given time period.",
 20557                                      "format": "double",
 20558                                      "type": "number"
 20559                                    },
 20560                                    "l": {
 20561                                      "description": "The lowest price for the symbol in the given time period.",
 20562                                      "format": "double",
 20563                                      "type": "number"
 20564                                    },
 20565                                    "o": {
 20566                                      "description": "The open price for the symbol in the given time period.",
 20567                                      "format": "double",
 20568                                      "type": "number"
 20569                                    },
 20570                                    "v": {
 20571                                      "description": "The trading volume of the symbol in the given time period.",
 20572                                      "format": "double",
 20573                                      "type": "number"
 20574                                    }
 20575                                  },
 20576                                  "required": [
 20577                                    "o",
 20578                                    "h",
 20579                                    "l",
 20580                                    "c",
 20581                                    "v"
 20582                                  ],
 20583                                  "type": "object"
 20584                                },
 20585                                "fmv": {
 20586                                  "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 20587                                  "format": "double",
 20588                                  "type": "number"
 20589                                },
 20590                                "lastQuote": {
 20591                                  "description": "The most recent quote for this ticker.",
 20592                                  "properties": {
 20593                                    "a": {
 20594                                      "description": "The ask price.",
 20595                                      "format": "double",
 20596                                      "type": "number"
 20597                                    },
 20598                                    "b": {
 20599                                      "description": "The bid price.",
 20600                                      "format": "double",
 20601                                      "type": "number"
 20602                                    },
 20603                                    "t": {
 20604                                      "description": "The millisecond accuracy timestamp of the quote.",
 20605                                      "type": "integer"
 20606                                    },
 20607                                    "x": {
 20608                                      "description": "The exchange ID on which this quote happened.",
 20609                                      "type": "integer"
 20610                                    }
 20611                                  },
 20612                                  "required": [
 20613                                    "a",
 20614                                    "b",
 20615                                    "t",
 20616                                    "x"
 20617                                  ],
 20618                                  "type": "object"
 20619                                },
 20620                                "min": {
 20621                                  "description": "The most recent minute bar for this ticker.",
 20622                                  "properties": {
 20623                                    "c": {
 20624                                      "description": "The close price for the symbol in the given time period.",
 20625                                      "format": "double",
 20626                                      "type": "number"
 20627                                    },
 20628                                    "h": {
 20629                                      "description": "The highest price for the symbol in the given time period.",
 20630                                      "format": "double",
 20631                                      "type": "number"
 20632                                    },
 20633                                    "l": {
 20634                                      "description": "The lowest price for the symbol in the given time period.",
 20635                                      "format": "double",
 20636                                      "type": "number"
 20637                                    },
 20638                                    "n": {
 20639                                      "description": "The number of transactions in the aggregate window.",
 20640                                      "type": "integer"
 20641                                    },
 20642                                    "o": {
 20643                                      "description": "The open price for the symbol in the given time period.",
 20644                                      "format": "double",
 20645                                      "type": "number"
 20646                                    },
 20647                                    "t": {
 20648                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 20649                                      "type": "integer"
 20650                                    },
 20651                                    "v": {
 20652                                      "description": "The trading volume of the symbol in the given time period.",
 20653                                      "format": "double",
 20654                                      "type": "number"
 20655                                    }
 20656                                  },
 20657                                  "type": "object"
 20658                                },
 20659                                "prevDay": {
 20660                                  "description": "The previous day's bar for this ticker.",
 20661                                  "properties": {
 20662                                    "c": {
 20663                                      "description": "The close price for the symbol in the given time period.",
 20664                                      "format": "double",
 20665                                      "type": "number"
 20666                                    },
 20667                                    "h": {
 20668                                      "description": "The highest price for the symbol in the given time period.",
 20669                                      "format": "double",
 20670                                      "type": "number"
 20671                                    },
 20672                                    "l": {
 20673                                      "description": "The lowest price for the symbol in the given time period.",
 20674                                      "format": "double",
 20675                                      "type": "number"
 20676                                    },
 20677                                    "o": {
 20678                                      "description": "The open price for the symbol in the given time period.",
 20679                                      "format": "double",
 20680                                      "type": "number"
 20681                                    },
 20682                                    "v": {
 20683                                      "description": "The trading volume of the symbol in the given time period.",
 20684                                      "format": "double",
 20685                                      "type": "number"
 20686                                    },
 20687                                    "vw": {
 20688                                      "description": "The volume weighted average price.",
 20689                                      "format": "double",
 20690                                      "type": "number"
 20691                                    }
 20692                                  },
 20693                                  "required": [
 20694                                    "o",
 20695                                    "h",
 20696                                    "l",
 20697                                    "c",
 20698                                    "v",
 20699                                    "vw"
 20700                                  ],
 20701                                  "type": "object"
 20702                                },
 20703                                "ticker": {
 20704                                  "description": "The exchange symbol that this item is traded under.",
 20705                                  "type": "string"
 20706                                },
 20707                                "todaysChange": {
 20708                                  "description": "The value of the change from the previous day.",
 20709                                  "format": "double",
 20710                                  "type": "number"
 20711                                },
 20712                                "todaysChangePerc": {
 20713                                  "description": "The percentage change since the previous day.",
 20714                                  "format": "double",
 20715                                  "type": "number"
 20716                                },
 20717                                "updated": {
 20718                                  "description": "The last updated timestamp.",
 20719                                  "type": "integer"
 20720                                }
 20721                              },
 20722                              "required": [
 20723                                "day",
 20724                                "lastQuote",
 20725                                "min",
 20726                                "prevDay",
 20727                                "ticker",
 20728                                "todaysChange",
 20729                                "todaysChangePerc",
 20730                                "updated"
 20731                              ],
 20732                              "type": "object"
 20733                            },
 20734                            "type": "array"
 20735                          }
 20736                        },
 20737                        "type": "object"
 20738                      }
 20739                    ]
 20740                  }
 20741                },
 20742                "text/csv": {
 20743                  "example": {
 20744                    "tickers": "day_c,day_h,day_l,day_o,day_v,lastQuote_a,lastQuote_b,lastQuote_t,lastQuote_x,min_c,min_h,min_l,min_o,min_v,prevDay_c,prevDay_h,prevDay_l,prevDay_o,prevDay_v,prevDay_vw\n0.886156,0.887111,0.8825327,0.8844732,1041,0.8879606,0.886156,1605283204000,48,0.886156,0.886156,0.886156,0.886156,1,0.8428527,0.889773,0.8428527,0.8848539,1078,0\n"
 20745                  },
 20746                  "schema": {
 20747                    "type": "string"
 20748                  }
 20749                }
 20750              },
 20751              "description": "Get the current gainers / losers of the day"
 20752            },
 20753            "default": {
 20754              "description": "Unexpected error"
 20755            }
 20756          },
 20757          "summary": "Gainers/Losers",
 20758          "tags": [
 20759            "fx:snapshot"
 20760          ],
 20761          "x-polygon-entitlement-allowed-timeframes": [
 20762            {
 20763              "description": "Real Time Data",
 20764              "name": "realtime"
 20765            },
 20766            {
 20767              "description": "15 minute delayed data",
 20768              "name": "delayed"
 20769            }
 20770          ],
 20771          "x-polygon-entitlement-data-type": {
 20772            "description": "Aggregate data",
 20773            "name": "aggregates"
 20774          },
 20775          "x-polygon-entitlement-market-type": {
 20776            "description": "Forex data",
 20777            "name": "fx"
 20778          }
 20779        }
 20780      },
 20781      "/v2/snapshot/locale/us/markets/stocks/tickers": {
 20782        "get": {
 20783          "description": "Get the most up-to-date market data for all traded stock symbols.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 3:30am EST and gets populated as data is received from the exchanges. This can happen as early as 4am EST.\n",
 20784          "parameters": [
 20785            {
 20786              "description": "A case-sensitive comma separated list of tickers to get snapshots for. For example, AAPL,TSLA,GOOG. Empty string defaults to querying all tickers.",
 20787              "in": "query",
 20788              "name": "tickers",
 20789              "schema": {
 20790                "items": {
 20791                  "type": "string"
 20792                },
 20793                "type": "array"
 20794              }
 20795            },
 20796            {
 20797              "description": "Include OTC securities in the response. Default is false (don't include OTC securities).\n",
 20798              "in": "query",
 20799              "name": "include_otc",
 20800              "schema": {
 20801                "type": "boolean"
 20802              }
 20803            }
 20804          ],
 20805          "responses": {
 20806            "200": {
 20807              "content": {
 20808                "application/json": {
 20809                  "example": {
 20810                    "count": 1,
 20811                    "status": "OK",
 20812                    "tickers": [
 20813                      {
 20814                        "day": {
 20815                          "c": 20.506,
 20816                          "h": 20.64,
 20817                          "l": 20.506,
 20818                          "o": 20.64,
 20819                          "v": 37216,
 20820                          "vw": 20.616
 20821                        },
 20822                        "lastQuote": {
 20823                          "P": 20.6,
 20824                          "S": 22,
 20825                          "p": 20.5,
 20826                          "s": 13,
 20827                          "t": 1605192959994246100
 20828                        },
 20829                        "lastTrade": {
 20830                          "c": [
 20831                            14,
 20832                            41
 20833                          ],
 20834                          "i": "71675577320245",
 20835                          "p": 20.506,
 20836                          "s": 2416,
 20837                          "t": 1605192894630916600,
 20838                          "x": 4
 20839                        },
 20840                        "min": {
 20841                          "av": 37216,
 20842                          "c": 20.506,
 20843                          "h": 20.506,
 20844                          "l": 20.506,
 20845                          "n": 1,
 20846                          "o": 20.506,
 20847                          "t": 1684428600000,
 20848                          "v": 5000,
 20849                          "vw": 20.5105
 20850                        },
 20851                        "prevDay": {
 20852                          "c": 20.63,
 20853                          "h": 21,
 20854                          "l": 20.5,
 20855                          "o": 20.79,
 20856                          "v": 292738,
 20857                          "vw": 20.6939
 20858                        },
 20859                        "ticker": "BCAT",
 20860                        "todaysChange": -0.124,
 20861                        "todaysChangePerc": -0.601,
 20862                        "updated": 1605192894630916600
 20863                      }
 20864                    ]
 20865                  },
 20866                  "schema": {
 20867                    "allOf": [
 20868                      {
 20869                        "properties": {
 20870                          "count": {
 20871                            "description": "The total number of results for this request.",
 20872                            "type": "integer"
 20873                          },
 20874                          "status": {
 20875                            "description": "The status of this request's response.",
 20876                            "type": "string"
 20877                          }
 20878                        },
 20879                        "required": [
 20880                          "status"
 20881                        ],
 20882                        "type": "object"
 20883                      },
 20884                      {
 20885                        "properties": {
 20886                          "tickers": {
 20887                            "items": {
 20888                              "properties": {
 20889                                "day": {
 20890                                  "description": "The most recent daily bar for this ticker.",
 20891                                  "properties": {
 20892                                    "c": {
 20893                                      "description": "The close price for the symbol in the given time period.",
 20894                                      "format": "double",
 20895                                      "type": "number"
 20896                                    },
 20897                                    "h": {
 20898                                      "description": "The highest price for the symbol in the given time period.",
 20899                                      "format": "double",
 20900                                      "type": "number"
 20901                                    },
 20902                                    "l": {
 20903                                      "description": "The lowest price for the symbol in the given time period.",
 20904                                      "format": "double",
 20905                                      "type": "number"
 20906                                    },
 20907                                    "o": {
 20908                                      "description": "The open price for the symbol in the given time period.",
 20909                                      "format": "double",
 20910                                      "type": "number"
 20911                                    },
 20912                                    "otc": {
 20913                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 20914                                      "type": "boolean"
 20915                                    },
 20916                                    "v": {
 20917                                      "description": "The trading volume of the symbol in the given time period.",
 20918                                      "format": "double",
 20919                                      "type": "number"
 20920                                    },
 20921                                    "vw": {
 20922                                      "description": "The volume weighted average price.",
 20923                                      "format": "double",
 20924                                      "type": "number"
 20925                                    }
 20926                                  },
 20927                                  "required": [
 20928                                    "o",
 20929                                    "h",
 20930                                    "l",
 20931                                    "c",
 20932                                    "v",
 20933                                    "vw"
 20934                                  ],
 20935                                  "type": "object"
 20936                                },
 20937                                "fmv": {
 20938                                  "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 20939                                  "format": "double",
 20940                                  "type": "number"
 20941                                },
 20942                                "lastQuote": {
 20943                                  "description": "The most recent quote for this ticker.  This is only returned if your current plan includes quotes.",
 20944                                  "properties": {
 20945                                    "P": {
 20946                                      "description": "The ask price.",
 20947                                      "format": "double",
 20948                                      "type": "number"
 20949                                    },
 20950                                    "S": {
 20951                                      "description": "The ask size in lots.",
 20952                                      "type": "integer"
 20953                                    },
 20954                                    "p": {
 20955                                      "description": "The bid price.",
 20956                                      "format": "double",
 20957                                      "type": "number"
 20958                                    },
 20959                                    "s": {
 20960                                      "description": "The bid size in lots.",
 20961                                      "type": "integer"
 20962                                    },
 20963                                    "t": {
 20964                                      "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 20965                                      "type": "integer"
 20966                                    }
 20967                                  },
 20968                                  "required": [
 20969                                    "p",
 20970                                    "s",
 20971                                    "P",
 20972                                    "S",
 20973                                    "t"
 20974                                  ],
 20975                                  "type": "object"
 20976                                },
 20977                                "lastTrade": {
 20978                                  "description": "The most recent trade for this ticker.  This is only returned if your current plan includes trades.",
 20979                                  "properties": {
 20980                                    "c": {
 20981                                      "description": "The trade conditions.",
 20982                                      "items": {
 20983                                        "type": "integer"
 20984                                      },
 20985                                      "type": "array"
 20986                                    },
 20987                                    "i": {
 20988                                      "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
 20989                                      "type": "string"
 20990                                    },
 20991                                    "p": {
 20992                                      "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
 20993                                      "format": "double",
 20994                                      "type": "number"
 20995                                    },
 20996                                    "s": {
 20997                                      "description": "The size (volume) of the trade.",
 20998                                      "type": "integer"
 20999                                    },
 21000                                    "t": {
 21001                                      "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 21002                                      "type": "integer"
 21003                                    },
 21004                                    "x": {
 21005                                      "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 21006                                      "type": "integer"
 21007                                    }
 21008                                  },
 21009                                  "required": [
 21010                                    "c",
 21011                                    "i",
 21012                                    "p",
 21013                                    "s",
 21014                                    "t",
 21015                                    "x"
 21016                                  ],
 21017                                  "type": "object"
 21018                                },
 21019                                "min": {
 21020                                  "description": "The most recent minute bar for this ticker.",
 21021                                  "properties": {
 21022                                    "av": {
 21023                                      "description": "The accumulated volume.",
 21024                                      "type": "integer"
 21025                                    },
 21026                                    "c": {
 21027                                      "description": "The close price for the symbol in the given time period.",
 21028                                      "format": "double",
 21029                                      "type": "number"
 21030                                    },
 21031                                    "h": {
 21032                                      "description": "The highest price for the symbol in the given time period.",
 21033                                      "format": "double",
 21034                                      "type": "number"
 21035                                    },
 21036                                    "l": {
 21037                                      "description": "The lowest price for the symbol in the given time period.",
 21038                                      "format": "double",
 21039                                      "type": "number"
 21040                                    },
 21041                                    "n": {
 21042                                      "description": "The number of transactions in the aggregate window.",
 21043                                      "type": "integer"
 21044                                    },
 21045                                    "o": {
 21046                                      "description": "The open price for the symbol in the given time period.",
 21047                                      "format": "double",
 21048                                      "type": "number"
 21049                                    },
 21050                                    "otc": {
 21051                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 21052                                      "type": "boolean"
 21053                                    },
 21054                                    "t": {
 21055                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 21056                                      "type": "integer"
 21057                                    },
 21058                                    "v": {
 21059                                      "description": "The trading volume of the symbol in the given time period.",
 21060                                      "format": "double",
 21061                                      "type": "number"
 21062                                    },
 21063                                    "vw": {
 21064                                      "description": "The volume weighted average price.",
 21065                                      "format": "double",
 21066                                      "type": "number"
 21067                                    }
 21068                                  },
 21069                                  "required": [
 21070                                    "av",
 21071                                    "o",
 21072                                    "h",
 21073                                    "l",
 21074                                    "c",
 21075                                    "v",
 21076                                    "vw",
 21077                                    "t",
 21078                                    "n"
 21079                                  ],
 21080                                  "type": "object"
 21081                                },
 21082                                "prevDay": {
 21083                                  "description": "The previous day's bar for this ticker.",
 21084                                  "properties": {
 21085                                    "c": {
 21086                                      "description": "The close price for the symbol in the given time period.",
 21087                                      "format": "double",
 21088                                      "type": "number"
 21089                                    },
 21090                                    "h": {
 21091                                      "description": "The highest price for the symbol in the given time period.",
 21092                                      "format": "double",
 21093                                      "type": "number"
 21094                                    },
 21095                                    "l": {
 21096                                      "description": "The lowest price for the symbol in the given time period.",
 21097                                      "format": "double",
 21098                                      "type": "number"
 21099                                    },
 21100                                    "o": {
 21101                                      "description": "The open price for the symbol in the given time period.",
 21102                                      "format": "double",
 21103                                      "type": "number"
 21104                                    },
 21105                                    "otc": {
 21106                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 21107                                      "type": "boolean"
 21108                                    },
 21109                                    "v": {
 21110                                      "description": "The trading volume of the symbol in the given time period.",
 21111                                      "format": "double",
 21112                                      "type": "number"
 21113                                    },
 21114                                    "vw": {
 21115                                      "description": "The volume weighted average price.",
 21116                                      "format": "double",
 21117                                      "type": "number"
 21118                                    }
 21119                                  },
 21120                                  "required": [
 21121                                    "o",
 21122                                    "h",
 21123                                    "l",
 21124                                    "c",
 21125                                    "v",
 21126                                    "vw"
 21127                                  ],
 21128                                  "type": "object"
 21129                                },
 21130                                "ticker": {
 21131                                  "description": "The exchange symbol that this item is traded under.",
 21132                                  "type": "string"
 21133                                },
 21134                                "todaysChange": {
 21135                                  "description": "The value of the change from the previous day.",
 21136                                  "format": "double",
 21137                                  "type": "number"
 21138                                },
 21139                                "todaysChangePerc": {
 21140                                  "description": "The percentage change since the previous day.",
 21141                                  "format": "double",
 21142                                  "type": "number"
 21143                                },
 21144                                "updated": {
 21145                                  "description": "The last updated timestamp.",
 21146                                  "type": "integer"
 21147                                }
 21148                              },
 21149                              "type": "object"
 21150                            },
 21151                            "type": "array"
 21152                          }
 21153                        },
 21154                        "type": "object"
 21155                      }
 21156                    ]
 21157                  }
 21158                },
 21159                "text/csv": {
 21160                  "example": "day_c,day_h,day_l,day_o,day_v,lastQuote_a,lastQuote_b,lastQuote_i,lastQuote_t,lastQuote_x,lastTrade_c,lastTrade_i,lastTrade_p,lastTrade_s,lastTrade_t,lastTrade_x,min_c,min_h,min_l,min_o,min_v,prevDay_c,prevDay_h,prevDay_l,prevDay_o,prevDay_v,prevDay_vw\n120.4229,120.53,118.81,119.62,28727868,119.725,120.47,4,120.46,8,1605195918507251817,\"[14,41]\",4046,120.47,236,1605195918306274031,10,28724441,120.4201,120.468,120.37,120.435,270796,120.4129,119.49,119.63,116.44,117.19,110597265,118.4998\n",
 21161                  "schema": {
 21162                    "type": "string"
 21163                  }
 21164                }
 21165              },
 21166              "description": "Get current state for all tickers"
 21167            },
 21168            "default": {
 21169              "description": "Unexpected error"
 21170            }
 21171          },
 21172          "summary": "All Tickers",
 21173          "tags": [
 21174            "stocks:snapshot"
 21175          ],
 21176          "x-polygon-entitlement-allowed-timeframes": [
 21177            {
 21178              "description": "Real Time Data",
 21179              "name": "realtime"
 21180            },
 21181            {
 21182              "description": "15 minute delayed data",
 21183              "name": "delayed"
 21184            }
 21185          ],
 21186          "x-polygon-entitlement-data-type": {
 21187            "description": "Aggregate data",
 21188            "name": "aggregates"
 21189          },
 21190          "x-polygon-entitlement-market-type": {
 21191            "description": "Stocks data",
 21192            "name": "stocks"
 21193          }
 21194        }
 21195      },
 21196      "/v2/snapshot/locale/us/markets/stocks/tickers/{stocksTicker}": {
 21197        "get": {
 21198          "description": "Get the most up-to-date market data for a single traded stock ticker.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 3:30am EST and gets populated as data is received from the exchanges. This can happen as early as 4am EST.\n",
 21199          "parameters": [
 21200            {
 21201              "description": "Specify a case-sensitive ticker symbol. For example, AAPL represents Apple Inc.",
 21202              "example": "AAPL",
 21203              "in": "path",
 21204              "name": "stocksTicker",
 21205              "required": true,
 21206              "schema": {
 21207                "type": "string"
 21208              }
 21209            }
 21210          ],
 21211          "responses": {
 21212            "200": {
 21213              "content": {
 21214                "application/json": {
 21215                  "example": {
 21216                    "request_id": "657e430f1ae768891f018e08e03598d8",
 21217                    "status": "OK",
 21218                    "ticker": {
 21219                      "day": {
 21220                        "c": 120.4229,
 21221                        "h": 120.53,
 21222                        "l": 118.81,
 21223                        "o": 119.62,
 21224                        "v": 28727868,
 21225                        "vw": 119.725
 21226                      },
 21227                      "lastQuote": {
 21228                        "P": 120.47,
 21229                        "S": 4,
 21230                        "p": 120.46,
 21231                        "s": 8,
 21232                        "t": 1605195918507251700
 21233                      },
 21234                      "lastTrade": {
 21235                        "c": [
 21236                          14,
 21237                          41
 21238                        ],
 21239                        "i": "4046",
 21240                        "p": 120.47,
 21241                        "s": 236,
 21242                        "t": 1605195918306274000,
 21243                        "x": 10
 21244                      },
 21245                      "min": {
 21246                        "av": 28724441,
 21247                        "c": 120.4201,
 21248                        "h": 120.468,
 21249                        "l": 120.37,
 21250                        "n": 762,
 21251                        "o": 120.435,
 21252                        "t": 1684428720000,
 21253                        "v": 270796,
 21254                        "vw": 120.4129
 21255                      },
 21256                      "prevDay": {
 21257                        "c": 119.49,
 21258                        "h": 119.63,
 21259                        "l": 116.44,
 21260                        "o": 117.19,
 21261                        "v": 110597265,
 21262                        "vw": 118.4998
 21263                      },
 21264                      "ticker": "AAPL",
 21265                      "todaysChange": 0.98,
 21266                      "todaysChangePerc": 0.82,
 21267                      "updated": 1605195918306274000
 21268                    }
 21269                  },
 21270                  "schema": {
 21271                    "allOf": [
 21272                      {
 21273                        "properties": {
 21274                          "status": {
 21275                            "description": "The status of this request's response.",
 21276                            "type": "string"
 21277                          }
 21278                        },
 21279                        "required": [
 21280                          "status"
 21281                        ],
 21282                        "type": "object"
 21283                      },
 21284                      {
 21285                        "properties": {
 21286                          "request_id": {
 21287                            "description": "A request id assigned by the server.",
 21288                            "type": "string"
 21289                          }
 21290                        },
 21291                        "required": [
 21292                          "request_id"
 21293                        ],
 21294                        "type": "object"
 21295                      },
 21296                      {
 21297                        "properties": {
 21298                          "ticker": {
 21299                            "properties": {
 21300                              "day": {
 21301                                "description": "The most recent daily bar for this ticker.",
 21302                                "properties": {
 21303                                  "c": {
 21304                                    "description": "The close price for the symbol in the given time period.",
 21305                                    "format": "double",
 21306                                    "type": "number"
 21307                                  },
 21308                                  "h": {
 21309                                    "description": "The highest price for the symbol in the given time period.",
 21310                                    "format": "double",
 21311                                    "type": "number"
 21312                                  },
 21313                                  "l": {
 21314                                    "description": "The lowest price for the symbol in the given time period.",
 21315                                    "format": "double",
 21316                                    "type": "number"
 21317                                  },
 21318                                  "o": {
 21319                                    "description": "The open price for the symbol in the given time period.",
 21320                                    "format": "double",
 21321                                    "type": "number"
 21322                                  },
 21323                                  "otc": {
 21324                                    "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 21325                                    "type": "boolean"
 21326                                  },
 21327                                  "v": {
 21328                                    "description": "The trading volume of the symbol in the given time period.",
 21329                                    "format": "double",
 21330                                    "type": "number"
 21331                                  },
 21332                                  "vw": {
 21333                                    "description": "The volume weighted average price.",
 21334                                    "format": "double",
 21335                                    "type": "number"
 21336                                  }
 21337                                },
 21338                                "required": [
 21339                                  "o",
 21340                                  "h",
 21341                                  "l",
 21342                                  "c",
 21343                                  "v",
 21344                                  "vw"
 21345                                ],
 21346                                "type": "object"
 21347                              },
 21348                              "fmv": {
 21349                                "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 21350                                "format": "double",
 21351                                "type": "number"
 21352                              },
 21353                              "lastQuote": {
 21354                                "description": "The most recent quote for this ticker.  This is only returned if your current plan includes quotes.",
 21355                                "properties": {
 21356                                  "P": {
 21357                                    "description": "The ask price.",
 21358                                    "format": "double",
 21359                                    "type": "number"
 21360                                  },
 21361                                  "S": {
 21362                                    "description": "The ask size in lots.",
 21363                                    "type": "integer"
 21364                                  },
 21365                                  "p": {
 21366                                    "description": "The bid price.",
 21367                                    "format": "double",
 21368                                    "type": "number"
 21369                                  },
 21370                                  "s": {
 21371                                    "description": "The bid size in lots.",
 21372                                    "type": "integer"
 21373                                  },
 21374                                  "t": {
 21375                                    "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 21376                                    "type": "integer"
 21377                                  }
 21378                                },
 21379                                "required": [
 21380                                  "p",
 21381                                  "s",
 21382                                  "P",
 21383                                  "S",
 21384                                  "t"
 21385                                ],
 21386                                "type": "object"
 21387                              },
 21388                              "lastTrade": {
 21389                                "description": "The most recent trade for this ticker.  This is only returned if your current plan includes trades.",
 21390                                "properties": {
 21391                                  "c": {
 21392                                    "description": "The trade conditions.",
 21393                                    "items": {
 21394                                      "type": "integer"
 21395                                    },
 21396                                    "type": "array"
 21397                                  },
 21398                                  "i": {
 21399                                    "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
 21400                                    "type": "string"
 21401                                  },
 21402                                  "p": {
 21403                                    "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
 21404                                    "format": "double",
 21405                                    "type": "number"
 21406                                  },
 21407                                  "s": {
 21408                                    "description": "The size (volume) of the trade.",
 21409                                    "type": "integer"
 21410                                  },
 21411                                  "t": {
 21412                                    "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 21413                                    "type": "integer"
 21414                                  },
 21415                                  "x": {
 21416                                    "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 21417                                    "type": "integer"
 21418                                  }
 21419                                },
 21420                                "required": [
 21421                                  "c",
 21422                                  "i",
 21423                                  "p",
 21424                                  "s",
 21425                                  "t",
 21426                                  "x"
 21427                                ],
 21428                                "type": "object"
 21429                              },
 21430                              "min": {
 21431                                "description": "The most recent minute bar for this ticker.",
 21432                                "properties": {
 21433                                  "av": {
 21434                                    "description": "The accumulated volume.",
 21435                                    "type": "integer"
 21436                                  },
 21437                                  "c": {
 21438                                    "description": "The close price for the symbol in the given time period.",
 21439                                    "format": "double",
 21440                                    "type": "number"
 21441                                  },
 21442                                  "h": {
 21443                                    "description": "The highest price for the symbol in the given time period.",
 21444                                    "format": "double",
 21445                                    "type": "number"
 21446                                  },
 21447                                  "l": {
 21448                                    "description": "The lowest price for the symbol in the given time period.",
 21449                                    "format": "double",
 21450                                    "type": "number"
 21451                                  },
 21452                                  "n": {
 21453                                    "description": "The number of transactions in the aggregate window.",
 21454                                    "type": "integer"
 21455                                  },
 21456                                  "o": {
 21457                                    "description": "The open price for the symbol in the given time period.",
 21458                                    "format": "double",
 21459                                    "type": "number"
 21460                                  },
 21461                                  "otc": {
 21462                                    "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 21463                                    "type": "boolean"
 21464                                  },
 21465                                  "t": {
 21466                                    "description": "The Unix Msec timestamp for the start of the aggregate window.",
 21467                                    "type": "integer"
 21468                                  },
 21469                                  "v": {
 21470                                    "description": "The trading volume of the symbol in the given time period.",
 21471                                    "format": "double",
 21472                                    "type": "number"
 21473                                  },
 21474                                  "vw": {
 21475                                    "description": "The volume weighted average price.",
 21476                                    "format": "double",
 21477                                    "type": "number"
 21478                                  }
 21479                                },
 21480                                "required": [
 21481                                  "av",
 21482                                  "o",
 21483                                  "h",
 21484                                  "l",
 21485                                  "c",
 21486                                  "v",
 21487                                  "vw",
 21488                                  "t",
 21489                                  "n"
 21490                                ],
 21491                                "type": "object"
 21492                              },
 21493                              "prevDay": {
 21494                                "description": "The previous day's bar for this ticker.",
 21495                                "properties": {
 21496                                  "c": {
 21497                                    "description": "The close price for the symbol in the given time period.",
 21498                                    "format": "double",
 21499                                    "type": "number"
 21500                                  },
 21501                                  "h": {
 21502                                    "description": "The highest price for the symbol in the given time period.",
 21503                                    "format": "double",
 21504                                    "type": "number"
 21505                                  },
 21506                                  "l": {
 21507                                    "description": "The lowest price for the symbol in the given time period.",
 21508                                    "format": "double",
 21509                                    "type": "number"
 21510                                  },
 21511                                  "o": {
 21512                                    "description": "The open price for the symbol in the given time period.",
 21513                                    "format": "double",
 21514                                    "type": "number"
 21515                                  },
 21516                                  "otc": {
 21517                                    "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 21518                                    "type": "boolean"
 21519                                  },
 21520                                  "v": {
 21521                                    "description": "The trading volume of the symbol in the given time period.",
 21522                                    "format": "double",
 21523                                    "type": "number"
 21524                                  },
 21525                                  "vw": {
 21526                                    "description": "The volume weighted average price.",
 21527                                    "format": "double",
 21528                                    "type": "number"
 21529                                  }
 21530                                },
 21531                                "required": [
 21532                                  "o",
 21533                                  "h",
 21534                                  "l",
 21535                                  "c",
 21536                                  "v",
 21537                                  "vw"
 21538                                ],
 21539                                "type": "object"
 21540                              },
 21541                              "ticker": {
 21542                                "description": "The exchange symbol that this item is traded under.",
 21543                                "type": "string"
 21544                              },
 21545                              "todaysChange": {
 21546                                "description": "The value of the change from the previous day.",
 21547                                "format": "double",
 21548                                "type": "number"
 21549                              },
 21550                              "todaysChangePerc": {
 21551                                "description": "The percentage change since the previous day.",
 21552                                "format": "double",
 21553                                "type": "number"
 21554                              },
 21555                              "updated": {
 21556                                "description": "The last updated timestamp.",
 21557                                "type": "integer"
 21558                              }
 21559                            },
 21560                            "type": "object"
 21561                          }
 21562                        },
 21563                        "type": "object"
 21564                      }
 21565                    ]
 21566                  }
 21567                },
 21568                "text/csv": {
 21569                  "example": "day_c,day_h,day_l,day_o,day_v,lastQuote_a,lastQuote_b,lastQuote_i,lastQuote_t,lastQuote_x,lastTrade_c,lastTrade_i,lastTrade_p,lastTrade_s,lastTrade_t,lastTrade_x,min_c,min_h,min_l,min_o,min_v,prevDay_c,prevDay_h,prevDay_l,prevDay_o,prevDay_v,prevDay_vw\n120.4229,120.53,118.81,119.62,28727868,119.725,120.47,4,120.46,8,1605195918507251817,\"[14,41]\",4046,120.47,236,1605195918306274031,10,28724441,120.4201,120.468,120.37,120.435,270796,120.4129,119.49,119.63,116.44,117.19,110597265,118.4998\n",
 21570                  "schema": {
 21571                    "type": "string"
 21572                  }
 21573                }
 21574              },
 21575              "description": "Get current state for a ticker"
 21576            },
 21577            "default": {
 21578              "description": "Unexpected error"
 21579            }
 21580          },
 21581          "summary": "Ticker",
 21582          "tags": [
 21583            "stocks:snapshot"
 21584          ],
 21585          "x-polygon-entitlement-allowed-timeframes": [
 21586            {
 21587              "description": "Real Time Data",
 21588              "name": "realtime"
 21589            },
 21590            {
 21591              "description": "15 minute delayed data",
 21592              "name": "delayed"
 21593            }
 21594          ],
 21595          "x-polygon-entitlement-data-type": {
 21596            "description": "Aggregate data",
 21597            "name": "aggregates"
 21598          },
 21599          "x-polygon-entitlement-market-type": {
 21600            "description": "Stocks data",
 21601            "name": "stocks"
 21602          }
 21603        }
 21604      },
 21605      "/v2/snapshot/locale/us/markets/stocks/{direction}": {
 21606        "get": {
 21607          "description": "Get the most up-to-date market data for the current top 20 gainers or losers of the day in the stocks/equities markets.\n\u003cbr /\u003e\n\u003cbr /\u003e\nTop gainers are those tickers whose price has increased by the highest percentage since the previous day's close.\nTop losers are those tickers whose price has decreased by the highest percentage since the previous day's close.\n\u003cbr /\u003e\n\u003cbr /\u003e\nNote: Snapshot data is cleared at 3:30am EST and gets populated as data is received from the exchanges.\n",
 21608          "parameters": [
 21609            {
 21610              "description": "The direction of the snapshot results to return.\n",
 21611              "example": "gainers",
 21612              "in": "path",
 21613              "name": "direction",
 21614              "required": true,
 21615              "schema": {
 21616                "enum": [
 21617                  "gainers",
 21618                  "losers"
 21619                ],
 21620                "type": "string"
 21621              }
 21622            },
 21623            {
 21624              "description": "Include OTC securities in the response. Default is false (don't include OTC securities).\n",
 21625              "in": "query",
 21626              "name": "include_otc",
 21627              "schema": {
 21628                "type": "boolean"
 21629              }
 21630            }
 21631          ],
 21632          "responses": {
 21633            "200": {
 21634              "content": {
 21635                "application/json": {
 21636                  "example": {
 21637                    "status": "OK",
 21638                    "tickers": [
 21639                      {
 21640                        "day": {
 21641                          "c": 14.2284,
 21642                          "h": 15.09,
 21643                          "l": 14.2,
 21644                          "o": 14.33,
 21645                          "v": 133963,
 21646                          "vw": 14.5311
 21647                        },
 21648                        "lastQuote": {
 21649                          "P": 14.44,
 21650                          "S": 11,
 21651                          "p": 14.2,
 21652                          "s": 25,
 21653                          "t": 1605195929997325600
 21654                        },
 21655                        "lastTrade": {
 21656                          "c": [
 21657                            63
 21658                          ],
 21659                          "i": "79372124707124",
 21660                          "p": 14.2284,
 21661                          "s": 536,
 21662                          "t": 1605195848258266000,
 21663                          "x": 4
 21664                        },
 21665                        "min": {
 21666                          "av": 133963,
 21667                          "c": 14.2284,
 21668                          "h": 14.325,
 21669                          "l": 14.2,
 21670                          "n": 5,
 21671                          "o": 14.28,
 21672                          "t": 1684428600000,
 21673                          "v": 6108,
 21674                          "vw": 14.2426
 21675                        },
 21676                        "prevDay": {
 21677                          "c": 0.73,
 21678                          "h": 0.799,
 21679                          "l": 0.73,
 21680                          "o": 0.75,
 21681                          "v": 1568097,
 21682                          "vw": 0.7721
 21683                        },
 21684                        "ticker": "PDS",
 21685                        "todaysChange": 13.498,
 21686                        "todaysChangePerc": 1849.096,
 21687                        "updated": 1605195848258266000
 21688                      }
 21689                    ]
 21690                  },
 21691                  "schema": {
 21692                    "allOf": [
 21693                      {
 21694                        "properties": {
 21695                          "status": {
 21696                            "description": "The status of this request's response.",
 21697                            "type": "string"
 21698                          }
 21699                        },
 21700                        "required": [
 21701                          "status"
 21702                        ],
 21703                        "type": "object"
 21704                      },
 21705                      {
 21706                        "properties": {
 21707                          "tickers": {
 21708                            "items": {
 21709                              "properties": {
 21710                                "day": {
 21711                                  "description": "The most recent daily bar for this ticker.",
 21712                                  "properties": {
 21713                                    "c": {
 21714                                      "description": "The close price for the symbol in the given time period.",
 21715                                      "format": "double",
 21716                                      "type": "number"
 21717                                    },
 21718                                    "h": {
 21719                                      "description": "The highest price for the symbol in the given time period.",
 21720                                      "format": "double",
 21721                                      "type": "number"
 21722                                    },
 21723                                    "l": {
 21724                                      "description": "The lowest price for the symbol in the given time period.",
 21725                                      "format": "double",
 21726                                      "type": "number"
 21727                                    },
 21728                                    "o": {
 21729                                      "description": "The open price for the symbol in the given time period.",
 21730                                      "format": "double",
 21731                                      "type": "number"
 21732                                    },
 21733                                    "otc": {
 21734                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 21735                                      "type": "boolean"
 21736                                    },
 21737                                    "v": {
 21738                                      "description": "The trading volume of the symbol in the given time period.",
 21739                                      "format": "double",
 21740                                      "type": "number"
 21741                                    },
 21742                                    "vw": {
 21743                                      "description": "The volume weighted average price.",
 21744                                      "format": "double",
 21745                                      "type": "number"
 21746                                    }
 21747                                  },
 21748                                  "required": [
 21749                                    "o",
 21750                                    "h",
 21751                                    "l",
 21752                                    "c",
 21753                                    "v",
 21754                                    "vw"
 21755                                  ],
 21756                                  "type": "object"
 21757                                },
 21758                                "fmv": {
 21759                                  "description": "Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 21760                                  "format": "double",
 21761                                  "type": "number"
 21762                                },
 21763                                "lastQuote": {
 21764                                  "description": "The most recent quote for this ticker.  This is only returned if your current plan includes quotes.",
 21765                                  "properties": {
 21766                                    "P": {
 21767                                      "description": "The ask price.",
 21768                                      "format": "double",
 21769                                      "type": "number"
 21770                                    },
 21771                                    "S": {
 21772                                      "description": "The ask size in lots.",
 21773                                      "type": "integer"
 21774                                    },
 21775                                    "p": {
 21776                                      "description": "The bid price.",
 21777                                      "format": "double",
 21778                                      "type": "number"
 21779                                    },
 21780                                    "s": {
 21781                                      "description": "The bid size in lots.",
 21782                                      "type": "integer"
 21783                                    },
 21784                                    "t": {
 21785                                      "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 21786                                      "type": "integer"
 21787                                    }
 21788                                  },
 21789                                  "required": [
 21790                                    "p",
 21791                                    "s",
 21792                                    "P",
 21793                                    "S",
 21794                                    "t"
 21795                                  ],
 21796                                  "type": "object"
 21797                                },
 21798                                "lastTrade": {
 21799                                  "description": "The most recent trade for this ticker.  This is only returned if your current plan includes trades.",
 21800                                  "properties": {
 21801                                    "c": {
 21802                                      "description": "The trade conditions.",
 21803                                      "items": {
 21804                                        "type": "integer"
 21805                                      },
 21806                                      "type": "array"
 21807                                    },
 21808                                    "i": {
 21809                                      "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
 21810                                      "type": "string"
 21811                                    },
 21812                                    "p": {
 21813                                      "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
 21814                                      "format": "double",
 21815                                      "type": "number"
 21816                                    },
 21817                                    "s": {
 21818                                      "description": "The size (volume) of the trade.",
 21819                                      "type": "integer"
 21820                                    },
 21821                                    "t": {
 21822                                      "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 21823                                      "type": "integer"
 21824                                    },
 21825                                    "x": {
 21826                                      "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 21827                                      "type": "integer"
 21828                                    }
 21829                                  },
 21830                                  "required": [
 21831                                    "c",
 21832                                    "i",
 21833                                    "p",
 21834                                    "s",
 21835                                    "t",
 21836                                    "x"
 21837                                  ],
 21838                                  "type": "object"
 21839                                },
 21840                                "min": {
 21841                                  "description": "The most recent minute bar for this ticker.",
 21842                                  "properties": {
 21843                                    "av": {
 21844                                      "description": "The accumulated volume.",
 21845                                      "type": "integer"
 21846                                    },
 21847                                    "c": {
 21848                                      "description": "The close price for the symbol in the given time period.",
 21849                                      "format": "double",
 21850                                      "type": "number"
 21851                                    },
 21852                                    "h": {
 21853                                      "description": "The highest price for the symbol in the given time period.",
 21854                                      "format": "double",
 21855                                      "type": "number"
 21856                                    },
 21857                                    "l": {
 21858                                      "description": "The lowest price for the symbol in the given time period.",
 21859                                      "format": "double",
 21860                                      "type": "number"
 21861                                    },
 21862                                    "n": {
 21863                                      "description": "The number of transactions in the aggregate window.",
 21864                                      "type": "integer"
 21865                                    },
 21866                                    "o": {
 21867                                      "description": "The open price for the symbol in the given time period.",
 21868                                      "format": "double",
 21869                                      "type": "number"
 21870                                    },
 21871                                    "otc": {
 21872                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 21873                                      "type": "boolean"
 21874                                    },
 21875                                    "t": {
 21876                                      "description": "The Unix Msec timestamp for the start of the aggregate window.",
 21877                                      "type": "integer"
 21878                                    },
 21879                                    "v": {
 21880                                      "description": "The trading volume of the symbol in the given time period.",
 21881                                      "format": "double",
 21882                                      "type": "number"
 21883                                    },
 21884                                    "vw": {
 21885                                      "description": "The volume weighted average price.",
 21886                                      "format": "double",
 21887                                      "type": "number"
 21888                                    }
 21889                                  },
 21890                                  "required": [
 21891                                    "av",
 21892                                    "o",
 21893                                    "h",
 21894                                    "l",
 21895                                    "c",
 21896                                    "v",
 21897                                    "vw",
 21898                                    "t",
 21899                                    "n"
 21900                                  ],
 21901                                  "type": "object"
 21902                                },
 21903                                "prevDay": {
 21904                                  "description": "The previous day's bar for this ticker.",
 21905                                  "properties": {
 21906                                    "c": {
 21907                                      "description": "The close price for the symbol in the given time period.",
 21908                                      "format": "double",
 21909                                      "type": "number"
 21910                                    },
 21911                                    "h": {
 21912                                      "description": "The highest price for the symbol in the given time period.",
 21913                                      "format": "double",
 21914                                      "type": "number"
 21915                                    },
 21916                                    "l": {
 21917                                      "description": "The lowest price for the symbol in the given time period.",
 21918                                      "format": "double",
 21919                                      "type": "number"
 21920                                    },
 21921                                    "o": {
 21922                                      "description": "The open price for the symbol in the given time period.",
 21923                                      "format": "double",
 21924                                      "type": "number"
 21925                                    },
 21926                                    "otc": {
 21927                                      "description": "Whether or not this aggregate is for an OTC ticker. This field will be left off if false.",
 21928                                      "type": "boolean"
 21929                                    },
 21930                                    "v": {
 21931                                      "description": "The trading volume of the symbol in the given time period.",
 21932                                      "format": "double",
 21933                                      "type": "number"
 21934                                    },
 21935                                    "vw": {
 21936                                      "description": "The volume weighted average price.",
 21937                                      "format": "double",
 21938                                      "type": "number"
 21939                                    }
 21940                                  },
 21941                                  "required": [
 21942                                    "o",
 21943                                    "h",
 21944                                    "l",
 21945                                    "c",
 21946                                    "v",
 21947                                    "vw"
 21948                                  ],
 21949                                  "type": "object"
 21950                                },
 21951                                "ticker": {
 21952                                  "description": "The exchange symbol that this item is traded under.",
 21953                                  "type": "string"
 21954                                },
 21955                                "todaysChange": {
 21956                                  "description": "The value of the change from the previous day.",
 21957                                  "format": "double",
 21958                                  "type": "number"
 21959                                },
 21960                                "todaysChangePerc": {
 21961                                  "description": "The percentage change since the previous day.",
 21962                                  "format": "double",
 21963                                  "type": "number"
 21964                                },
 21965                                "updated": {
 21966                                  "description": "The last updated timestamp.",
 21967                                  "type": "integer"
 21968                                }
 21969                              },
 21970                              "type": "object"
 21971                            },
 21972                            "type": "array"
 21973                          }
 21974                        },
 21975                        "type": "object"
 21976                      }
 21977                    ]
 21978                  }
 21979                },
 21980                "text/csv": {
 21981                  "example": "day_c,day_h,day_l,day_o,day_v,day_vw,lastQuote_P,lastQuote_S,lastQuote_p,lastQuote_s,lastQuote_t,lastTrade_c,lastTrade_i,lastTrade_p,lastTrade_s,lastTrade_t,lastTrade_x,min_av,min_c,min_h,min_l,min_o,min_v,min_vw,prevDay_c,prevDay_h,prevDay_l,prevDay_o,prevDay_v,prevDay_vw\n14.2284,15.09,14.2,14.33,133963,14.5311,14.44,11,14.2,25,1605195929997325568,\"[63]\",79372124707124,14.2284,536,1605195848258266112,4,133963,14.2284,14.325,14.2,14.28,6108,14.2426,0.73,0.799,0.73,0.75,1568097,0.7721\n",
 21982                  "schema": {
 21983                    "type": "string"
 21984                  }
 21985                }
 21986              },
 21987              "description": "Get the current tickers of the day"
 21988            },
 21989            "default": {
 21990              "description": "Unexpected error"
 21991            }
 21992          },
 21993          "summary": "Gainers/Losers",
 21994          "tags": [
 21995            "stocks:snapshot"
 21996          ],
 21997          "x-polygon-entitlement-allowed-timeframes": [
 21998            {
 21999              "description": "Real Time Data",
 22000              "name": "realtime"
 22001            },
 22002            {
 22003              "description": "15 minute delayed data",
 22004              "name": "delayed"
 22005            }
 22006          ],
 22007          "x-polygon-entitlement-data-type": {
 22008            "description": "Aggregate data",
 22009            "name": "aggregates"
 22010          },
 22011          "x-polygon-entitlement-market-type": {
 22012            "description": "Stocks data",
 22013            "name": "stocks"
 22014          }
 22015        }
 22016      },
 22017      "/v2/ticks/stocks/nbbo/{ticker}/{date}": {
 22018        "get": {
 22019          "description": "Get NBBO quotes for a given ticker symbol on a specified date.\n",
 22020          "parameters": [
 22021            {
 22022              "description": "The ticker symbol we want quotes for.",
 22023              "example": "AAPL",
 22024              "in": "path",
 22025              "name": "ticker",
 22026              "required": true,
 22027              "schema": {
 22028                "type": "string"
 22029              }
 22030            },
 22031            {
 22032              "description": "The date/day of the quotes to retrieve in the format YYYY-MM-DD.",
 22033              "example": "2020-10-14",
 22034              "in": "path",
 22035              "name": "date",
 22036              "required": true,
 22037              "schema": {
 22038                "format": "date",
 22039                "type": "string"
 22040              }
 22041            },
 22042            {
 22043              "description": "The timestamp offset, used for pagination. This is the offset at which to start the results. Using the `timestamp` of the last result as the offset will give you the next page of results.\n",
 22044              "in": "query",
 22045              "name": "timestamp",
 22046              "schema": {
 22047                "type": "integer"
 22048              }
 22049            },
 22050            {
 22051              "description": "The maximum timestamp allowed in the results.\n",
 22052              "in": "query",
 22053              "name": "timestampLimit",
 22054              "schema": {
 22055                "type": "integer"
 22056              }
 22057            },
 22058            {
 22059              "description": "Reverse the order of the results.\n",
 22060              "example": true,
 22061              "in": "query",
 22062              "name": "reverse",
 22063              "schema": {
 22064                "type": "boolean"
 22065              }
 22066            },
 22067            {
 22068              "description": "Limit the size of the response, max 50000 and default 5000.",
 22069              "example": 10,
 22070              "in": "query",
 22071              "name": "limit",
 22072              "schema": {
 22073                "type": "integer"
 22074              }
 22075            }
 22076          ],
 22077          "responses": {
 22078            "200": {
 22079              "content": {
 22080                "application/json": {
 22081                  "example": {
 22082                    "db_latency": 43,
 22083                    "map": {
 22084                      "P": {
 22085                        "name": "ask_price",
 22086                        "type": "float64"
 22087                      },
 22088                      "S": {
 22089                        "name": "ask_size",
 22090                        "type": "int"
 22091                      },
 22092                      "X": {
 22093                        "name": "ask_exchange",
 22094                        "type": "int"
 22095                      },
 22096                      "c": {
 22097                        "name": "conditions",
 22098                        "type": "int"
 22099                      },
 22100                      "f": {
 22101                        "name": "trf_timestamp",
 22102                        "type": "int64"
 22103                      },
 22104                      "i": {
 22105                        "name": "indicators",
 22106                        "type": "int"
 22107                      },
 22108                      "p": {
 22109                        "name": "bid_price",
 22110                        "type": "float64"
 22111                      },
 22112                      "q": {
 22113                        "name": "sequence_number",
 22114                        "type": "int"
 22115                      },
 22116                      "s": {
 22117                        "name": "bid_size",
 22118                        "type": "int"
 22119                      },
 22120                      "t": {
 22121                        "name": "sip_timestamp",
 22122                        "type": "int64"
 22123                      },
 22124                      "x": {
 22125                        "name": "bid_exchange",
 22126                        "type": "int"
 22127                      },
 22128                      "y": {
 22129                        "name": "participant_timestamp",
 22130                        "type": "int64"
 22131                      },
 22132                      "z": {
 22133                        "name": "tape",
 22134                        "type": "int"
 22135                      }
 22136                    },
 22137                    "results": [
 22138                      {
 22139                        "P": 0,
 22140                        "S": 0,
 22141                        "X": 0,
 22142                        "c": [
 22143                          1
 22144                        ],
 22145                        "p": 102.7,
 22146                        "q": 2060,
 22147                        "s": 60,
 22148                        "t": 1517562000065700400,
 22149                        "x": 11,
 22150                        "y": 1517562000065321200,
 22151                        "z": 3
 22152                      },
 22153                      {
 22154                        "P": 0,
 22155                        "S": 0,
 22156                        "X": 0,
 22157                        "c": [
 22158                          1
 22159                        ],
 22160                        "p": 170,
 22161                        "q": 2061,
 22162                        "s": 2,
 22163                        "t": 1517562000065791500,
 22164                        "x": 11,
 22165                        "y": 1517562000065408300,
 22166                        "z": 3
 22167                      }
 22168                    ],
 22169                    "results_count": 2,
 22170                    "success": true,
 22171                    "ticker": "AAPL"
 22172                  },
 22173                  "schema": {
 22174                    "allOf": [
 22175                      {
 22176                        "properties": {
 22177                          "db_latency": {
 22178                            "description": "Latency in milliseconds for the query results from the database.",
 22179                            "type": "integer"
 22180                          },
 22181                          "results_count": {
 22182                            "description": "The total number of results for this request.",
 22183                            "type": "integer"
 22184                          },
 22185                          "success": {
 22186                            "description": "Whether or not this query was executed successfully.",
 22187                            "type": "boolean"
 22188                          },
 22189                          "ticker": {
 22190                            "description": "The exchange symbol that this item is traded under.",
 22191                            "type": "string"
 22192                          }
 22193                        },
 22194                        "type": "object"
 22195                      },
 22196                      {
 22197                        "properties": {
 22198                          "results": {
 22199                            "items": {
 22200                              "allOf": [
 22201                                {
 22202                                  "properties": {
 22203                                    "T": {
 22204                                      "description": "The exchange symbol that this item is traded under.",
 22205                                      "type": "string"
 22206                                    },
 22207                                    "f": {
 22208                                      "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
 22209                                      "type": "integer"
 22210                                    },
 22211                                    "q": {
 22212                                      "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).\n",
 22213                                      "format": "int64",
 22214                                      "type": "integer"
 22215                                    },
 22216                                    "t": {
 22217                                      "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 22218                                      "type": "integer"
 22219                                    },
 22220                                    "y": {
 22221                                      "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
 22222                                      "type": "integer"
 22223                                    }
 22224                                  },
 22225                                  "required": [
 22226                                    "T",
 22227                                    "t",
 22228                                    "y",
 22229                                    "f",
 22230                                    "q"
 22231                                  ],
 22232                                  "type": "object"
 22233                                },
 22234                                {
 22235                                  "properties": {
 22236                                    "P": {
 22237                                      "description": "The ask price.",
 22238                                      "format": "double",
 22239                                      "type": "number"
 22240                                    },
 22241                                    "S": {
 22242                                      "description": "The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price.",
 22243                                      "type": "integer"
 22244                                    },
 22245                                    "X": {
 22246                                      "allOf": [
 22247                                        {
 22248                                          "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 22249                                          "type": "integer"
 22250                                        },
 22251                                        {
 22252                                          "description": "Ask Exchange Id"
 22253                                        }
 22254                                      ]
 22255                                    },
 22256                                    "c": {
 22257                                      "description": "A list of condition codes.\n",
 22258                                      "items": {
 22259                                        "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
 22260                                        "type": "integer"
 22261                                      },
 22262                                      "type": "array"
 22263                                    },
 22264                                    "i": {
 22265                                      "description": "The indicators. For more information, see our glossary of [Conditions and\nIndicators](https://polygon.io/glossary/us/stocks/conditions-indicators).\n",
 22266                                      "items": {
 22267                                        "description": "The indicator code.\n",
 22268                                        "type": "integer"
 22269                                      },
 22270                                      "type": "array"
 22271                                    },
 22272                                    "p": {
 22273                                      "description": "The bid price.",
 22274                                      "format": "double",
 22275                                      "type": "number"
 22276                                    },
 22277                                    "s": {
 22278                                      "description": "The bid size. This represents the number of round lot orders at the given bid price. The normal round lot size is 100 shares. A bid size of 2 means there are 200 shares for purchase at the given bid price.",
 22279                                      "type": "integer"
 22280                                    },
 22281                                    "x": {
 22282                                      "allOf": [
 22283                                        {
 22284                                          "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 22285                                          "type": "integer"
 22286                                        },
 22287                                        {
 22288                                          "description": "Bid Exchange Id"
 22289                                        }
 22290                                      ]
 22291                                    },
 22292                                    "z": {
 22293                                      "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ\n",
 22294                                      "type": "integer"
 22295                                    }
 22296                                  },
 22297                                  "required": [
 22298                                    "c",
 22299                                    "i",
 22300                                    "p",
 22301                                    "s",
 22302                                    "x",
 22303                                    "P",
 22304                                    "S",
 22305                                    "X",
 22306                                    "z"
 22307                                  ],
 22308                                  "type": "object"
 22309                                }
 22310                              ]
 22311                            },
 22312                            "type": "array"
 22313                          }
 22314                        },
 22315                        "type": "object"
 22316                      }
 22317                    ]
 22318                  }
 22319                }
 22320              },
 22321              "description": "A list of quotes."
 22322            },
 22323            "default": {
 22324              "description": "Unexpected error"
 22325            }
 22326          },
 22327          "summary": "Quotes (NBBO)",
 22328          "tags": [
 22329            "stocks:quotes"
 22330          ],
 22331          "x-polygon-deprecation": {
 22332            "date": 1654056060000,
 22333            "replaces": {
 22334              "name": "Quotes (NBBO) v3",
 22335              "path": "get_v3_quotes__stockticker"
 22336            }
 22337          },
 22338          "x-polygon-entitlement-data-type": {
 22339            "description": "NBBO data",
 22340            "name": "nbbo"
 22341          },
 22342          "x-polygon-entitlement-market-type": {
 22343            "description": "Stocks data",
 22344            "name": "stocks"
 22345          }
 22346        }
 22347      },
 22348      "/v2/ticks/stocks/trades/{ticker}/{date}": {
 22349        "get": {
 22350          "description": "Get trades for a given ticker symbol on a specified date.\n",
 22351          "parameters": [
 22352            {
 22353              "description": "The ticker symbol we want trades for.",
 22354              "example": "AAPL",
 22355              "in": "path",
 22356              "name": "ticker",
 22357              "required": true,
 22358              "schema": {
 22359                "type": "string"
 22360              }
 22361            },
 22362            {
 22363              "description": "The date/day of the trades to retrieve in the format YYYY-MM-DD.",
 22364              "example": "2020-10-14",
 22365              "in": "path",
 22366              "name": "date",
 22367              "required": true,
 22368              "schema": {
 22369                "format": "date",
 22370                "type": "string"
 22371              }
 22372            },
 22373            {
 22374              "description": "The timestamp offset, used for pagination. This is the offset at which to start the results. Using the `timestamp` of the last result as the offset will give you the next page of results.\n",
 22375              "in": "query",
 22376              "name": "timestamp",
 22377              "schema": {
 22378                "type": "integer"
 22379              }
 22380            },
 22381            {
 22382              "description": "The maximum timestamp allowed in the results.\n",
 22383              "in": "query",
 22384              "name": "timestampLimit",
 22385              "schema": {
 22386                "type": "integer"
 22387              }
 22388            },
 22389            {
 22390              "description": "Reverse the order of the results.\n",
 22391              "example": true,
 22392              "in": "query",
 22393              "name": "reverse",
 22394              "schema": {
 22395                "type": "boolean"
 22396              }
 22397            },
 22398            {
 22399              "description": "Limit the size of the response, max 50000 and default 5000.",
 22400              "example": 10,
 22401              "in": "query",
 22402              "name": "limit",
 22403              "schema": {
 22404                "type": "integer"
 22405              }
 22406            }
 22407          ],
 22408          "responses": {
 22409            "200": {
 22410              "content": {
 22411                "application/json": {
 22412                  "example": {
 22413                    "db_latency": 11,
 22414                    "map": {
 22415                      "I": {
 22416                        "name": "orig_id",
 22417                        "type": "string"
 22418                      },
 22419                      "c": {
 22420                        "name": "conditions",
 22421                        "type": "int"
 22422                      },
 22423                      "e": {
 22424                        "name": "correction",
 22425                        "type": "int"
 22426                      },
 22427                      "f": {
 22428                        "name": "trf_timestamp",
 22429                        "type": "int64"
 22430                      },
 22431                      "i": {
 22432                        "name": "id",
 22433                        "type": "string"
 22434                      },
 22435                      "p": {
 22436                        "name": "price",
 22437                        "type": "float64"
 22438                      },
 22439                      "q": {
 22440                        "name": "sequence_number",
 22441                        "type": "int64"
 22442                      },
 22443                      "r": {
 22444                        "name": "trf_id",
 22445                        "type": "int"
 22446                      },
 22447                      "s": {
 22448                        "name": "size",
 22449                        "type": "int"
 22450                      },
 22451                      "t": {
 22452                        "name": "sip_timestamp",
 22453                        "type": "int64"
 22454                      },
 22455                      "x": {
 22456                        "name": "exchange",
 22457                        "type": "int"
 22458                      },
 22459                      "y": {
 22460                        "name": "participant_timestamp",
 22461                        "type": "int64"
 22462                      },
 22463                      "z": {
 22464                        "name": "tape",
 22465                        "type": "int"
 22466                      }
 22467                    },
 22468                    "results": [
 22469                      {
 22470                        "c": [
 22471                          12,
 22472                          41
 22473                        ],
 22474                        "i": "1",
 22475                        "p": 171.55,
 22476                        "q": 1063,
 22477                        "s": 100,
 22478                        "t": 1517562000016036600,
 22479                        "x": 11,
 22480                        "y": 1517562000015577000,
 22481                        "z": 3
 22482                      },
 22483                      {
 22484                        "c": [
 22485                          12,
 22486                          41
 22487                        ],
 22488                        "i": "2",
 22489                        "p": 171.55,
 22490                        "q": 1064,
 22491                        "s": 100,
 22492                        "t": 1517562000016038100,
 22493                        "x": 11,
 22494                        "y": 1517562000015577600,
 22495                        "z": 3
 22496                      }
 22497                    ],
 22498                    "results_count": 2,
 22499                    "success": true,
 22500                    "ticker": "AAPL"
 22501                  },
 22502                  "schema": {
 22503                    "allOf": [
 22504                      {
 22505                        "properties": {
 22506                          "db_latency": {
 22507                            "description": "Latency in milliseconds for the query results from the database.",
 22508                            "type": "integer"
 22509                          },
 22510                          "results_count": {
 22511                            "description": "The total number of results for this request.",
 22512                            "type": "integer"
 22513                          },
 22514                          "success": {
 22515                            "description": "Whether or not this query was executed successfully.",
 22516                            "type": "boolean"
 22517                          },
 22518                          "ticker": {
 22519                            "description": "The exchange symbol that this item is traded under.",
 22520                            "type": "string"
 22521                          }
 22522                        },
 22523                        "type": "object"
 22524                      },
 22525                      {
 22526                        "properties": {
 22527                          "results": {
 22528                            "items": {
 22529                              "allOf": [
 22530                                {
 22531                                  "properties": {
 22532                                    "T": {
 22533                                      "description": "The exchange symbol that this item is traded under.",
 22534                                      "type": "string"
 22535                                    },
 22536                                    "f": {
 22537                                      "description": "The nanosecond accuracy TRF(Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this message.",
 22538                                      "type": "integer"
 22539                                    },
 22540                                    "q": {
 22541                                      "description": "The sequence number represents the sequence in which message events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).\n",
 22542                                      "format": "int64",
 22543                                      "type": "integer"
 22544                                    },
 22545                                    "t": {
 22546                                      "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this message from the exchange which produced it.",
 22547                                      "type": "integer"
 22548                                    },
 22549                                    "y": {
 22550                                      "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
 22551                                      "type": "integer"
 22552                                    }
 22553                                  },
 22554                                  "required": [
 22555                                    "T",
 22556                                    "t",
 22557                                    "y",
 22558                                    "f",
 22559                                    "q"
 22560                                  ],
 22561                                  "type": "object"
 22562                                },
 22563                                {
 22564                                  "properties": {
 22565                                    "c": {
 22566                                      "description": "A list of condition codes.\n",
 22567                                      "items": {
 22568                                        "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/get_v3_reference_conditions)\nfor a mapping to exchange conditions.\n",
 22569                                        "type": "integer"
 22570                                      },
 22571                                      "type": "array"
 22572                                    },
 22573                                    "e": {
 22574                                      "description": "The trade correction indicator.\n",
 22575                                      "type": "integer"
 22576                                    },
 22577                                    "i": {
 22578                                      "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.\n",
 22579                                      "type": "string"
 22580                                    },
 22581                                    "p": {
 22582                                      "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.\n",
 22583                                      "format": "double",
 22584                                      "type": "number"
 22585                                    },
 22586                                    "r": {
 22587                                      "description": "The ID for the Trade Reporting Facility where the trade took place.\n",
 22588                                      "type": "integer"
 22589                                    },
 22590                                    "s": {
 22591                                      "description": "The size of a trade (also known as volume).\n",
 22592                                      "format": "double",
 22593                                      "type": "number"
 22594                                    },
 22595                                    "x": {
 22596                                      "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 22597                                      "type": "integer"
 22598                                    },
 22599                                    "z": {
 22600                                      "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ\n",
 22601                                      "type": "integer"
 22602                                    }
 22603                                  },
 22604                                  "required": [
 22605                                    "c",
 22606                                    "i",
 22607                                    "p",
 22608                                    "s",
 22609                                    "e",
 22610                                    "x",
 22611                                    "r",
 22612                                    "z"
 22613                                  ],
 22614                                  "type": "object"
 22615                                }
 22616                              ]
 22617                            },
 22618                            "type": "array"
 22619                          }
 22620                        },
 22621                        "type": "object"
 22622                      }
 22623                    ]
 22624                  }
 22625                }
 22626              },
 22627              "description": "A list of trades."
 22628            },
 22629            "default": {
 22630              "description": "Unexpected error"
 22631            }
 22632          },
 22633          "summary": "Trades",
 22634          "tags": [
 22635            "stocks:trades"
 22636          ],
 22637          "x-polygon-deprecation": {
 22638            "date": 1654056060000,
 22639            "replaces": {
 22640              "name": "Trades v3",
 22641              "path": "get_v3_trades__stockticker"
 22642            }
 22643          },
 22644          "x-polygon-entitlement-data-type": {
 22645            "description": "Trade data",
 22646            "name": "trades"
 22647          },
 22648          "x-polygon-entitlement-market-type": {
 22649            "description": "Stocks data",
 22650            "name": "stocks"
 22651          }
 22652        }
 22653      },
 22654      "/v3/quotes/{fxTicker}": {
 22655        "get": {
 22656          "description": "Get BBO quotes for a ticker symbol in a given time range.",
 22657          "operationId": "QuotesFx",
 22658          "parameters": [
 22659            {
 22660              "description": "The ticker symbol to get quotes for.",
 22661              "example": "C:EUR-USD",
 22662              "in": "path",
 22663              "name": "fxTicker",
 22664              "required": true,
 22665              "schema": {
 22666                "type": "string"
 22667              }
 22668            },
 22669            {
 22670              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.",
 22671              "in": "query",
 22672              "name": "timestamp",
 22673              "schema": {
 22674                "type": "string"
 22675              },
 22676              "x-polygon-filter-field": {
 22677                "range": true
 22678              }
 22679            },
 22680            {
 22681              "description": "Range by timestamp.",
 22682              "in": "query",
 22683              "name": "timestamp.gte",
 22684              "schema": {
 22685                "type": "string"
 22686              }
 22687            },
 22688            {
 22689              "description": "Range by timestamp.",
 22690              "in": "query",
 22691              "name": "timestamp.gt",
 22692              "schema": {
 22693                "type": "string"
 22694              }
 22695            },
 22696            {
 22697              "description": "Range by timestamp.",
 22698              "in": "query",
 22699              "name": "timestamp.lte",
 22700              "schema": {
 22701                "type": "string"
 22702              }
 22703            },
 22704            {
 22705              "description": "Range by timestamp.",
 22706              "in": "query",
 22707              "name": "timestamp.lt",
 22708              "schema": {
 22709                "type": "string"
 22710              }
 22711            },
 22712            {
 22713              "description": "Order results based on the `sort` field.",
 22714              "in": "query",
 22715              "name": "order",
 22716              "schema": {
 22717                "default": "desc",
 22718                "enum": [
 22719                  "asc",
 22720                  "desc"
 22721                ],
 22722                "example": "asc",
 22723                "type": "string"
 22724              }
 22725            },
 22726            {
 22727              "description": "Limit the number of results returned, default is 10 and max is 50000.",
 22728              "in": "query",
 22729              "name": "limit",
 22730              "schema": {
 22731                "default": 10,
 22732                "example": 10,
 22733                "maximum": 50000,
 22734                "minimum": 1,
 22735                "type": "integer"
 22736              }
 22737            },
 22738            {
 22739              "description": "Sort field used for ordering.",
 22740              "in": "query",
 22741              "name": "sort",
 22742              "schema": {
 22743                "default": "timestamp",
 22744                "enum": [
 22745                  "timestamp"
 22746                ],
 22747                "example": "timestamp",
 22748                "type": "string"
 22749              }
 22750            }
 22751          ],
 22752          "responses": {
 22753            "200": {
 22754              "content": {
 22755                "application/json": {
 22756                  "example": {
 22757                    "next_url": "https://api.polygon.io/v3/quotes/C:EUR-USD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 22758                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 22759                    "results": [
 22760                      {
 22761                        "ask_exchange": 48,
 22762                        "ask_price": 1.18565,
 22763                        "bid_exchange": 48,
 22764                        "bid_price": 1.18558,
 22765                        "participant_timestamp": 1625097600000000000
 22766                      },
 22767                      {
 22768                        "ask_exchange": 48,
 22769                        "ask_price": 1.18565,
 22770                        "bid_exchange": 48,
 22771                        "bid_price": 1.18559,
 22772                        "participant_timestamp": 1625097600000000000
 22773                      }
 22774                    ],
 22775                    "status": "OK"
 22776                  },
 22777                  "schema": {
 22778                    "properties": {
 22779                      "next_url": {
 22780                        "description": "If present, this value can be used to fetch the next page of data.",
 22781                        "type": "string"
 22782                      },
 22783                      "results": {
 22784                        "items": {
 22785                          "properties": {
 22786                            "ask_exchange": {
 22787                              "description": "The ask exchange ID",
 22788                              "type": "integer"
 22789                            },
 22790                            "ask_price": {
 22791                              "description": "The ask price.",
 22792                              "format": "double",
 22793                              "type": "number"
 22794                            },
 22795                            "bid_exchange": {
 22796                              "description": "The bid exchange ID",
 22797                              "type": "integer"
 22798                            },
 22799                            "bid_price": {
 22800                              "description": "The bid price.",
 22801                              "format": "double",
 22802                              "type": "number"
 22803                            },
 22804                            "participant_timestamp": {
 22805                              "description": "The nanosecond Exchange Unix Timestamp. This is the timestamp of when the quote was generated at the exchange.",
 22806                              "format": "int64",
 22807                              "type": "integer",
 22808                              "x-polygon-go-type": {
 22809                                "name": "INanoseconds",
 22810                                "path": "github.com/polygon-io/ptime"
 22811                              }
 22812                            }
 22813                          },
 22814                          "required": [
 22815                            "participant_timestamp"
 22816                          ],
 22817                          "type": "object"
 22818                        },
 22819                        "type": "array"
 22820                      },
 22821                      "status": {
 22822                        "description": "The status of this request's response.",
 22823                        "type": "string"
 22824                      }
 22825                    },
 22826                    "required": [
 22827                      "status"
 22828                    ],
 22829                    "type": "object"
 22830                  }
 22831                },
 22832                "text/csv": {
 22833                  "example": "ask_exchange,ask_price,bid_exchange,bid_price,participant_timestamp\n48,,1.18565,,48,,1.18558,,1625097600000000000\n48,,1.18565,,48,,1.18559,,1625097600000000000\n",
 22834                  "schema": {
 22835                    "type": "string"
 22836                  }
 22837                }
 22838              },
 22839              "description": "A list of quotes."
 22840            }
 22841          },
 22842          "summary": "Quotes (BBO)",
 22843          "tags": [
 22844            "fx:quotes"
 22845          ],
 22846          "x-polygon-entitlement-data-type": {
 22847            "description": "NBBO data",
 22848            "name": "nbbo"
 22849          },
 22850          "x-polygon-entitlement-market-type": {
 22851            "description": "Forex data",
 22852            "name": "fx"
 22853          },
 22854          "x-polygon-paginate": {
 22855            "limit": {
 22856              "max": 50000
 22857            },
 22858            "order": {
 22859              "default": "desc"
 22860            },
 22861            "sort": {
 22862              "default": "timestamp",
 22863              "enum": [
 22864                "timestamp"
 22865              ]
 22866            }
 22867          },
 22868          "x-polygon-replaces": {
 22869            "date": 1654056060000,
 22870            "replaces": {
 22871              "name": "Historic Forex Ticks",
 22872              "path": "get_v1_historic_forex__from___to___date"
 22873            }
 22874          }
 22875        },
 22876        "x-polygon-ignore": true
 22877      },
 22878      "/v3/quotes/{optionsTicker}": {
 22879        "get": {
 22880          "description": "Get quotes for an options ticker symbol in a given time range.",
 22881          "operationId": "QuotesOptions",
 22882          "parameters": [
 22883            {
 22884              "description": "The ticker symbol to get quotes for.",
 22885              "example": "O:SPY241220P00720000",
 22886              "in": "path",
 22887              "name": "optionsTicker",
 22888              "required": true,
 22889              "schema": {
 22890                "type": "string"
 22891              },
 22892              "x-polygon-go-id": "Ticker"
 22893            },
 22894            {
 22895              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.",
 22896              "in": "query",
 22897              "name": "timestamp",
 22898              "schema": {
 22899                "type": "string"
 22900              },
 22901              "x-polygon-filter-field": {
 22902                "range": true
 22903              }
 22904            },
 22905            {
 22906              "description": "Range by timestamp.",
 22907              "in": "query",
 22908              "name": "timestamp.gte",
 22909              "schema": {
 22910                "type": "string"
 22911              }
 22912            },
 22913            {
 22914              "description": "Range by timestamp.",
 22915              "in": "query",
 22916              "name": "timestamp.gt",
 22917              "schema": {
 22918                "type": "string"
 22919              }
 22920            },
 22921            {
 22922              "description": "Range by timestamp.",
 22923              "in": "query",
 22924              "name": "timestamp.lte",
 22925              "schema": {
 22926                "type": "string"
 22927              }
 22928            },
 22929            {
 22930              "description": "Range by timestamp.",
 22931              "in": "query",
 22932              "name": "timestamp.lt",
 22933              "schema": {
 22934                "type": "string"
 22935              }
 22936            },
 22937            {
 22938              "description": "Order results based on the `sort` field.",
 22939              "in": "query",
 22940              "name": "order",
 22941              "schema": {
 22942                "default": "desc",
 22943                "enum": [
 22944                  "asc",
 22945                  "desc"
 22946                ],
 22947                "example": "asc",
 22948                "type": "string"
 22949              }
 22950            },
 22951            {
 22952              "description": "Limit the number of results returned, default is 10 and max is 50000.",
 22953              "in": "query",
 22954              "name": "limit",
 22955              "schema": {
 22956                "default": 10,
 22957                "example": 10,
 22958                "maximum": 50000,
 22959                "minimum": 1,
 22960                "type": "integer"
 22961              }
 22962            },
 22963            {
 22964              "description": "Sort field used for ordering.",
 22965              "in": "query",
 22966              "name": "sort",
 22967              "schema": {
 22968                "default": "timestamp",
 22969                "enum": [
 22970                  "timestamp"
 22971                ],
 22972                "example": "timestamp",
 22973                "type": "string"
 22974              }
 22975            }
 22976          ],
 22977          "responses": {
 22978            "200": {
 22979              "content": {
 22980                "application/json": {
 22981                  "example": {
 22982                    "next_url": "https://api.polygon.io/v3/quotes/O:SPY241220P00720000?cursor=YXA9NzY5Nzg0NzAxJmFzPSZsaW1pdD0xMCZvcmRlcj1kZXNjJnNvcnQ9dGltZXN0YW1wJnRpbWVzdGFtcC5sdGU9MjAyMi0wMi0xN1QxNyUzQTI1JTNBMTMuMDA5MzU2MDMyWg",
 22983                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 22984                    "results": [
 22985                      {
 22986                        "ask_exchange": 323,
 22987                        "ask_price": 282,
 22988                        "ask_size": 10,
 22989                        "bid_exchange": 316,
 22990                        "bid_price": 277.5,
 22991                        "bid_size": 1,
 22992                        "sequence_number": 789539218,
 22993                        "sip_timestamp": 1645119125346243600
 22994                      },
 22995                      {
 22996                        "ask_exchange": 301,
 22997                        "ask_price": 282,
 22998                        "ask_size": 1,
 22999                        "bid_exchange": 323,
 23000                        "bid_price": 277.5,
 23001                        "bid_size": 10,
 23002                        "sequence_number": 788994206,
 23003                        "sip_timestamp": 1645119118474271000
 23004                      }
 23005                    ],
 23006                    "status": "OK"
 23007                  },
 23008                  "schema": {
 23009                    "properties": {
 23010                      "next_url": {
 23011                        "description": "If present, this value can be used to fetch the next page of data.",
 23012                        "type": "string"
 23013                      },
 23014                      "results": {
 23015                        "items": {
 23016                          "properties": {
 23017                            "ask_exchange": {
 23018                              "description": "The ask exchange ID",
 23019                              "type": "integer"
 23020                            },
 23021                            "ask_price": {
 23022                              "description": "The ask price.",
 23023                              "format": "double",
 23024                              "type": "number"
 23025                            },
 23026                            "ask_size": {
 23027                              "description": "The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price.",
 23028                              "format": "double",
 23029                              "type": "number"
 23030                            },
 23031                            "bid_exchange": {
 23032                              "description": "The bid exchange ID",
 23033                              "type": "integer"
 23034                            },
 23035                            "bid_price": {
 23036                              "description": "The bid price.",
 23037                              "format": "double",
 23038                              "type": "number"
 23039                            },
 23040                            "bid_size": {
 23041                              "description": "The bid size. This represents the number of round lot orders at the given bid price. The normal round lot size is 100 shares. A bid size of 2 means there are 200 shares for purchase at the given bid price.",
 23042                              "format": "double",
 23043                              "type": "number"
 23044                            },
 23045                            "sequence_number": {
 23046                              "description": "The sequence number represents the sequence in which quote events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11).",
 23047                              "format": "int64",
 23048                              "type": "integer"
 23049                            },
 23050                            "sip_timestamp": {
 23051                              "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this quote from the exchange which produced it.",
 23052                              "format": "int64",
 23053                              "type": "integer",
 23054                              "x-polygon-go-type": {
 23055                                "name": "INanoseconds",
 23056                                "path": "github.com/polygon-io/ptime"
 23057                              }
 23058                            }
 23059                          },
 23060                          "required": [
 23061                            "sip_timestamp",
 23062                            "sequence_number"
 23063                          ],
 23064                          "type": "object"
 23065                        },
 23066                        "type": "array"
 23067                      },
 23068                      "status": {
 23069                        "description": "The status of this request's response.",
 23070                        "type": "string"
 23071                      }
 23072                    },
 23073                    "required": [
 23074                      "status"
 23075                    ],
 23076                    "type": "object"
 23077                  }
 23078                },
 23079                "text/csv": {
 23080                  "example": "ask_exchange,ask_price,ask_size,bid_exchange,bid_price,bid_size,sequence_number,sip_timestamp\n323,282,10,316,277.5,1,789539218,1645119125346243600\n301,282,1,323,277.5,10,788994206,1645119118474271000\n",
 23081                  "schema": {
 23082                    "type": "string"
 23083                  }
 23084                }
 23085              },
 23086              "description": "A list of quotes."
 23087            }
 23088          },
 23089          "summary": "Quotes",
 23090          "tags": [
 23091            "options:quotes"
 23092          ],
 23093          "x-polygon-entitlement-data-type": {
 23094            "description": "NBBO data",
 23095            "name": "nbbo"
 23096          },
 23097          "x-polygon-entitlement-market-type": {
 23098            "description": "Options data",
 23099            "name": "options"
 23100          },
 23101          "x-polygon-paginate": {
 23102            "limit": {
 23103              "max": 50000
 23104            },
 23105            "order": {
 23106              "default": "desc"
 23107            },
 23108            "sort": {
 23109              "default": "timestamp",
 23110              "enum": [
 23111                "timestamp"
 23112              ]
 23113            }
 23114          }
 23115        },
 23116        "x-polygon-ignore": true
 23117      },
 23118      "/v3/quotes/{stockTicker}": {
 23119        "get": {
 23120          "description": "Get NBBO quotes for a ticker symbol in a given time range.",
 23121          "operationId": "Quotes",
 23122          "parameters": [
 23123            {
 23124              "description": "The ticker symbol to get quotes for.",
 23125              "example": "AAPL",
 23126              "in": "path",
 23127              "name": "stockTicker",
 23128              "required": true,
 23129              "schema": {
 23130                "type": "string"
 23131              },
 23132              "x-polygon-go-id": "Ticker"
 23133            },
 23134            {
 23135              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.",
 23136              "in": "query",
 23137              "name": "timestamp",
 23138              "schema": {
 23139                "type": "string"
 23140              },
 23141              "x-polygon-filter-field": {
 23142                "range": true
 23143              }
 23144            },
 23145            {
 23146              "description": "Range by timestamp.",
 23147              "in": "query",
 23148              "name": "timestamp.gte",
 23149              "schema": {
 23150                "type": "string"
 23151              }
 23152            },
 23153            {
 23154              "description": "Range by timestamp.",
 23155              "in": "query",
 23156              "name": "timestamp.gt",
 23157              "schema": {
 23158                "type": "string"
 23159              }
 23160            },
 23161            {
 23162              "description": "Range by timestamp.",
 23163              "in": "query",
 23164              "name": "timestamp.lte",
 23165              "schema": {
 23166                "type": "string"
 23167              }
 23168            },
 23169            {
 23170              "description": "Range by timestamp.",
 23171              "in": "query",
 23172              "name": "timestamp.lt",
 23173              "schema": {
 23174                "type": "string"
 23175              }
 23176            },
 23177            {
 23178              "description": "Order results based on the `sort` field.",
 23179              "in": "query",
 23180              "name": "order",
 23181              "schema": {
 23182                "default": "desc",
 23183                "enum": [
 23184                  "asc",
 23185                  "desc"
 23186                ],
 23187                "example": "asc",
 23188                "type": "string"
 23189              }
 23190            },
 23191            {
 23192              "description": "Limit the number of results returned, default is 10 and max is 50000.",
 23193              "in": "query",
 23194              "name": "limit",
 23195              "schema": {
 23196                "default": 10,
 23197                "example": 10,
 23198                "maximum": 50000,
 23199                "minimum": 1,
 23200                "type": "integer"
 23201              }
 23202            },
 23203            {
 23204              "description": "Sort field used for ordering.",
 23205              "in": "query",
 23206              "name": "sort",
 23207              "schema": {
 23208                "default": "timestamp",
 23209                "enum": [
 23210                  "timestamp"
 23211                ],
 23212                "example": "timestamp",
 23213                "type": "string"
 23214              }
 23215            }
 23216          ],
 23217          "responses": {
 23218            "200": {
 23219              "content": {
 23220                "application/json": {
 23221                  "example": {
 23222                    "next_url": "https://api.polygon.io/v3/quotes/AAPL?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 23223                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 23224                    "results": [
 23225                      {
 23226                        "ask_exchange": 0,
 23227                        "ask_price": 0,
 23228                        "ask_size": 0,
 23229                        "bid_exchange": 11,
 23230                        "bid_price": 102.7,
 23231                        "bid_size": 60,
 23232                        "conditions": [
 23233                          1
 23234                        ],
 23235                        "participant_timestamp": 1517562000065321200,
 23236                        "sequence_number": 2060,
 23237                        "sip_timestamp": 1517562000065700400,
 23238                        "tape": 3
 23239                      },
 23240                      {
 23241                        "ask_exchange": 0,
 23242                        "ask_price": 0,
 23243                        "ask_size": 0,
 23244                        "bid_exchange": 11,
 23245                        "bid_price": 170,
 23246                        "bid_size": 2,
 23247                        "conditions": [
 23248                          1
 23249                        ],
 23250                        "participant_timestamp": 1517562000065408300,
 23251                        "sequence_number": 2061,
 23252                        "sip_timestamp": 1517562000065791500,
 23253                        "tape": 3
 23254                      }
 23255                    ],
 23256                    "status": "OK"
 23257                  },
 23258                  "schema": {
 23259                    "properties": {
 23260                      "next_url": {
 23261                        "description": "If present, this value can be used to fetch the next page of data.",
 23262                        "type": "string"
 23263                      },
 23264                      "results": {
 23265                        "items": {
 23266                          "properties": {
 23267                            "ask_exchange": {
 23268                              "description": "The ask exchange ID",
 23269                              "type": "integer"
 23270                            },
 23271                            "ask_price": {
 23272                              "description": "The ask price.",
 23273                              "format": "double",
 23274                              "type": "number"
 23275                            },
 23276                            "ask_size": {
 23277                              "description": "The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price.",
 23278                              "format": "double",
 23279                              "type": "number"
 23280                            },
 23281                            "bid_exchange": {
 23282                              "description": "The bid exchange ID",
 23283                              "type": "integer"
 23284                            },
 23285                            "bid_price": {
 23286                              "description": "The bid price.",
 23287                              "format": "double",
 23288                              "type": "number"
 23289                            },
 23290                            "bid_size": {
 23291                              "description": "The bid size. This represents the number of round lot orders at the given bid price. The normal round lot size is 100 shares. A bid size of 2 means there are 200 shares for purchase at the given bid price.",
 23292                              "format": "double",
 23293                              "type": "number"
 23294                            },
 23295                            "conditions": {
 23296                              "description": "A list of condition codes.",
 23297                              "items": {
 23298                                "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/stocks/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 23299                                "format": "int32",
 23300                                "type": "integer"
 23301                              },
 23302                              "type": "array",
 23303                              "x-polygon-go-type": {
 23304                                "name": "Int32Array"
 23305                              }
 23306                            },
 23307                            "indicators": {
 23308                              "description": "A list of indicator codes.",
 23309                              "items": {
 23310                                "description": "The indicator codes. For more information, see our glossary of [Conditions and\nIndicators](https://polygon.io/glossary/us/stocks/conditions-indicators).",
 23311                                "format": "int32",
 23312                                "type": "integer"
 23313                              },
 23314                              "type": "array",
 23315                              "x-polygon-go-type": {
 23316                                "name": "Int32Array"
 23317                              }
 23318                            },
 23319                            "participant_timestamp": {
 23320                              "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange.",
 23321                              "format": "int64",
 23322                              "type": "integer",
 23323                              "x-polygon-go-type": {
 23324                                "name": "INanoseconds",
 23325                                "path": "github.com/polygon-io/ptime"
 23326                              }
 23327                            },
 23328                            "sequence_number": {
 23329                              "description": "The sequence number represents the sequence in which quote events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11). Values reset after each trading session/day.",
 23330                              "format": "int64",
 23331                              "type": "integer"
 23332                            },
 23333                            "sip_timestamp": {
 23334                              "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this quote from the exchange which produced it.",
 23335                              "format": "int64",
 23336                              "type": "integer",
 23337                              "x-polygon-go-type": {
 23338                                "name": "INanoseconds",
 23339                                "path": "github.com/polygon-io/ptime"
 23340                              }
 23341                            },
 23342                            "tape": {
 23343                              "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ",
 23344                              "format": "int32",
 23345                              "type": "integer"
 23346                            },
 23347                            "trf_timestamp": {
 23348                              "description": "The nanosecond accuracy TRF (Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this quote.",
 23349                              "format": "int64",
 23350                              "type": "integer",
 23351                              "x-polygon-go-type": {
 23352                                "name": "INanoseconds",
 23353                                "path": "github.com/polygon-io/ptime"
 23354                              }
 23355                            }
 23356                          },
 23357                          "required": [
 23358                            "participant_timestamp",
 23359                            "sequence_number",
 23360                            "sip_timestamp"
 23361                          ],
 23362                          "type": "object",
 23363                          "x-polygon-go-type": {
 23364                            "name": "CommonQuote"
 23365                          }
 23366                        },
 23367                        "type": "array"
 23368                      },
 23369                      "status": {
 23370                        "description": "The status of this request's response.",
 23371                        "type": "string"
 23372                      }
 23373                    },
 23374                    "required": [
 23375                      "status"
 23376                    ],
 23377                    "type": "object"
 23378                  }
 23379                },
 23380                "text/csv": {
 23381                  "example": "ask_exchange,ask_price,ask_size,bid_exchange,bid_price,bid_size,conditions,participant_timestamp,sequence_number,sip_timestamp,tape\n0,0,0,11,102.7,60,1,1517562000065321216,2060,1517562000065700260,3\n0,0,0,11,170,2,1,1517562000065408256,2061,1517562000065791515,3\n",
 23382                  "schema": {
 23383                    "type": "string"
 23384                  }
 23385                }
 23386              },
 23387              "description": "A list of quotes."
 23388            }
 23389          },
 23390          "summary": "Quotes (NBBO)",
 23391          "tags": [
 23392            "stocks:quotes"
 23393          ],
 23394          "x-polygon-entitlement-data-type": {
 23395            "description": "NBBO data",
 23396            "name": "nbbo"
 23397          },
 23398          "x-polygon-entitlement-market-type": {
 23399            "description": "Stocks data",
 23400            "name": "stocks"
 23401          },
 23402          "x-polygon-paginate": {
 23403            "limit": {
 23404              "max": 50000
 23405            },
 23406            "order": {
 23407              "default": "desc"
 23408            },
 23409            "sort": {
 23410              "default": "timestamp",
 23411              "enum": [
 23412                "timestamp"
 23413              ]
 23414            }
 23415          },
 23416          "x-polygon-replaces": {
 23417            "date": 1654056060000,
 23418            "replaces": {
 23419              "name": "Quotes (NBBO)",
 23420              "path": "get_v2_ticks_stocks_nbbo__ticker___date"
 23421            }
 23422          }
 23423        }
 23424      },
 23425      "/v3/reference/conditions": {
 23426        "get": {
 23427          "description": "List all conditions that Polygon.io uses.",
 23428          "operationId": "ListConditions",
 23429          "parameters": [
 23430            {
 23431              "description": "Filter for conditions within a given asset class.",
 23432              "in": "query",
 23433              "name": "asset_class",
 23434              "schema": {
 23435                "description": "An identifier for a group of similar financial instruments.",
 23436                "enum": [
 23437                  "stocks",
 23438                  "options",
 23439                  "crypto",
 23440                  "fx"
 23441                ],
 23442                "example": "stocks",
 23443                "type": "string"
 23444              }
 23445            },
 23446            {
 23447              "description": "Filter by data type.",
 23448              "in": "query",
 23449              "name": "data_type",
 23450              "schema": {
 23451                "description": "The type of financial data represented by a data model.",
 23452                "enum": [
 23453                  "trade",
 23454                  "bbo",
 23455                  "nbbo"
 23456                ],
 23457                "example": "trade",
 23458                "type": "string"
 23459              }
 23460            },
 23461            {
 23462              "description": "Filter for conditions with a given ID.",
 23463              "in": "query",
 23464              "name": "id",
 23465              "schema": {
 23466                "description": "An identifier used by Polygon.io for this condition. Unique per data type.",
 23467                "example": 1,
 23468                "type": "integer"
 23469              }
 23470            },
 23471            {
 23472              "description": "Filter by SIP. If the condition contains a mapping for that SIP, the condition will be returned.",
 23473              "in": "query",
 23474              "name": "sip",
 23475              "schema": {
 23476                "description": "One of the SIPs.",
 23477                "enum": [
 23478                  "CTA",
 23479                  "UTP",
 23480                  "OPRA"
 23481                ],
 23482                "example": "CTA",
 23483                "type": "string"
 23484              }
 23485            },
 23486            {
 23487              "description": "Order results based on the `sort` field.",
 23488              "in": "query",
 23489              "name": "order",
 23490              "schema": {
 23491                "enum": [
 23492                  "asc",
 23493                  "desc"
 23494                ],
 23495                "example": "asc",
 23496                "type": "string"
 23497              }
 23498            },
 23499            {
 23500              "description": "Limit the number of results returned, default is 10 and max is 1000.",
 23501              "in": "query",
 23502              "name": "limit",
 23503              "schema": {
 23504                "default": 10,
 23505                "example": 10,
 23506                "maximum": 1000,
 23507                "minimum": 1,
 23508                "type": "integer"
 23509              }
 23510            },
 23511            {
 23512              "description": "Sort field used for ordering.",
 23513              "in": "query",
 23514              "name": "sort",
 23515              "schema": {
 23516                "default": "asset_class",
 23517                "enum": [
 23518                  "asset_class",
 23519                  "id",
 23520                  "type",
 23521                  "name",
 23522                  "data_types",
 23523                  "legacy"
 23524                ],
 23525                "example": "asset_class",
 23526                "type": "string"
 23527              }
 23528            }
 23529          ],
 23530          "responses": {
 23531            "200": {
 23532              "content": {
 23533                "application/json": {
 23534                  "schema": {
 23535                    "example": {
 23536                      "count": 1,
 23537                      "request_id": "31d59dda-80e5-4721-8496-d0d32a654afe",
 23538                      "results": [
 23539                        {
 23540                          "asset_class": "stocks",
 23541                          "data_types": [
 23542                            "trade"
 23543                          ],
 23544                          "id": 2,
 23545                          "name": "Average Price Trade",
 23546                          "sip_mapping": {
 23547                            "CTA": "B",
 23548                            "UTP": "W"
 23549                          },
 23550                          "type": "condition",
 23551                          "update_rules": {
 23552                            "consolidated": {
 23553                              "updates_high_low": false,
 23554                              "updates_open_close": false,
 23555                              "updates_volume": true
 23556                            },
 23557                            "market_center": {
 23558                              "updates_high_low": false,
 23559                              "updates_open_close": false,
 23560                              "updates_volume": true
 23561                            }
 23562                          }
 23563                        }
 23564                      ],
 23565                      "status": "OK"
 23566                    },
 23567                    "properties": {
 23568                      "count": {
 23569                        "description": "The total number of results for this request.",
 23570                        "example": 1,
 23571                        "type": "integer"
 23572                      },
 23573                      "next_url": {
 23574                        "description": "If present, this value can be used to fetch the next page of data.",
 23575                        "type": "string"
 23576                      },
 23577                      "request_id": {
 23578                        "description": "A request ID assigned by the server.",
 23579                        "example": "31d59dda-80e5-4721-8496-d0d32a654afe",
 23580                        "type": "string"
 23581                      },
 23582                      "results": {
 23583                        "description": "An array of conditions that match your query.",
 23584                        "items": {
 23585                          "description": "A condition generally refers to any extra information passed in a trade or a quote. These conditions\nmay or may not affect the behavior of aggregates.",
 23586                          "properties": {
 23587                            "abbreviation": {
 23588                              "description": "A commonly-used abbreviation for this condition.",
 23589                              "type": "string"
 23590                            },
 23591                            "asset_class": {
 23592                              "description": "An identifier for a group of similar financial instruments.",
 23593                              "enum": [
 23594                                "stocks",
 23595                                "options",
 23596                                "crypto",
 23597                                "fx"
 23598                              ],
 23599                              "example": "stocks",
 23600                              "type": "string"
 23601                            },
 23602                            "data_types": {
 23603                              "description": "Data types that this condition applies to.",
 23604                              "items": {
 23605                                "description": "The type of financial data represented by a data model.",
 23606                                "enum": [
 23607                                  "trade",
 23608                                  "bbo",
 23609                                  "nbbo"
 23610                                ],
 23611                                "example": "trade",
 23612                                "type": "string"
 23613                              },
 23614                              "type": "array"
 23615                            },
 23616                            "description": {
 23617                              "description": "A short description of the semantics of this condition.",
 23618                              "type": "string"
 23619                            },
 23620                            "exchange": {
 23621                              "description": "If present, mapping this condition from a Polygon.io code to a SIP symbol depends on this attribute.\nIn other words, data with this condition attached comes exclusively from the given exchange.",
 23622                              "type": "integer"
 23623                            },
 23624                            "id": {
 23625                              "description": "An identifier used by Polygon.io for this condition. Unique per data type.",
 23626                              "example": 1,
 23627                              "type": "integer"
 23628                            },
 23629                            "legacy": {
 23630                              "description": "If true, this condition is from an old version of the SIPs' specs and no longer is used.\nOther conditions may or may not reuse the same symbol as this one.",
 23631                              "type": "boolean"
 23632                            },
 23633                            "name": {
 23634                              "description": "The name of this condition.",
 23635                              "example": "Acquisition",
 23636                              "type": "string"
 23637                            },
 23638                            "sip_mapping": {
 23639                              "description": "A mapping to a symbol for each SIP that has this condition.",
 23640                              "properties": {
 23641                                "CTA": {
 23642                                  "type": "string"
 23643                                },
 23644                                "OPRA": {
 23645                                  "type": "string"
 23646                                },
 23647                                "UTP": {
 23648                                  "type": "string"
 23649                                }
 23650                              },
 23651                              "type": "object"
 23652                            },
 23653                            "type": {
 23654                              "description": "An identifier for a collection of related conditions.",
 23655                              "enum": [
 23656                                "sale_condition",
 23657                                "quote_condition",
 23658                                "sip_generated_flag",
 23659                                "financial_status_indicator",
 23660                                "short_sale_restriction_indicator",
 23661                                "settlement_condition",
 23662                                "market_condition",
 23663                                "trade_thru_exempt"
 23664                              ],
 23665                              "type": "string"
 23666                            },
 23667                            "update_rules": {
 23668                              "description": "A list of aggregation rules.",
 23669                              "properties": {
 23670                                "consolidated": {
 23671                                  "description": "Describes aggregation rules on a consolidated (all exchanges) basis.",
 23672                                  "properties": {
 23673                                    "updates_high_low": {
 23674                                      "description": "Whether or not trades with this condition update the high/low.",
 23675                                      "type": "boolean"
 23676                                    },
 23677                                    "updates_open_close": {
 23678                                      "description": "Whether or not trades with this condition update the open/close.",
 23679                                      "type": "boolean"
 23680                                    },
 23681                                    "updates_volume": {
 23682                                      "description": "Whether or not trades with this condition update the volume.",
 23683                                      "type": "boolean"
 23684                                    }
 23685                                  },
 23686                                  "required": [
 23687                                    "updates_high_low",
 23688                                    "updates_open_close",
 23689                                    "updates_volume"
 23690                                  ],
 23691                                  "type": "object"
 23692                                },
 23693                                "market_center": {
 23694                                  "description": "Describes aggregation rules on a per-market-center basis.",
 23695                                  "properties": {
 23696                                    "updates_high_low": {
 23697                                      "description": "Whether or not trades with this condition update the high/low.",
 23698                                      "type": "boolean"
 23699                                    },
 23700                                    "updates_open_close": {
 23701                                      "description": "Whether or not trades with this condition update the open/close.",
 23702                                      "type": "boolean"
 23703                                    },
 23704                                    "updates_volume": {
 23705                                      "description": "Whether or not trades with this condition update the volume.",
 23706                                      "type": "boolean"
 23707                                    }
 23708                                  },
 23709                                  "required": [
 23710                                    "updates_high_low",
 23711                                    "updates_open_close",
 23712                                    "updates_volume"
 23713                                  ],
 23714                                  "type": "object"
 23715                                }
 23716                              },
 23717                              "required": [
 23718                                "consolidated",
 23719                                "market_center"
 23720                              ],
 23721                              "type": "object"
 23722                            }
 23723                          },
 23724                          "required": [
 23725                            "id",
 23726                            "type",
 23727                            "name",
 23728                            "asset_class",
 23729                            "sip_mapping",
 23730                            "data_types"
 23731                          ],
 23732                          "type": "object"
 23733                        },
 23734                        "type": "array"
 23735                      },
 23736                      "status": {
 23737                        "description": "The status of this request's response.",
 23738                        "example": "OK",
 23739                        "type": "string"
 23740                      }
 23741                    },
 23742                    "required": [
 23743                      "status",
 23744                      "request_id",
 23745                      "count",
 23746                      "results"
 23747                    ],
 23748                    "type": "object"
 23749                  }
 23750                },
 23751                "text/csv": {
 23752                  "example": "id,type,abbreviation,name,description,asset_class,sip_mapping,exchange,consolidated_updates_high_low,consolidated_updates_open_close,consolidated_updates_volume,market_center_updates_high_low,market_center_updates_open_close,market_center_updates_volume,data_types,legacy\n0,regular,,Regular Trade,,crypto,null,0,,,,,,,trade,false\n1,buy_or_sell_side,,Sell Side,The asset was sold at the prevailing best bid price on an exchange.,crypto,null,0,,,,,,,trade,false\n2,buy_or_sell_side,,Buy Side,The asset was bought at the prevailing best ask price on an exchange.,crypto,null,0,,,,,,,trade,false\n",
 23753                  "schema": {
 23754                    "type": "string"
 23755                  }
 23756                }
 23757              },
 23758              "description": "OK"
 23759            },
 23760            "400": {
 23761              "content": {
 23762                "application/json": {
 23763                  "schema": {
 23764                    "properties": {
 23765                      "count": {
 23766                        "description": "The total number of results for this request.",
 23767                        "example": 1,
 23768                        "type": "integer"
 23769                      },
 23770                      "next_url": {
 23771                        "description": "If present, this value can be used to fetch the next page of data.",
 23772                        "type": "string"
 23773                      },
 23774                      "request_id": {
 23775                        "description": "A request ID assigned by the server.",
 23776                        "example": "31d59dda-80e5-4721-8496-d0d32a654afe",
 23777                        "type": "string"
 23778                      },
 23779                      "results": {
 23780                        "description": "An array of conditions that match your query.",
 23781                        "items": {
 23782                          "description": "A condition generally refers to any extra information passed in a trade or a quote. These conditions\nmay or may not affect the behavior of aggregates.",
 23783                          "properties": {
 23784                            "abbreviation": {
 23785                              "description": "A commonly-used abbreviation for this condition.",
 23786                              "type": "string"
 23787                            },
 23788                            "asset_class": {
 23789                              "description": "An identifier for a group of similar financial instruments.",
 23790                              "enum": [
 23791                                "stocks",
 23792                                "options",
 23793                                "crypto",
 23794                                "fx"
 23795                              ],
 23796                              "example": "stocks",
 23797                              "type": "string"
 23798                            },
 23799                            "data_types": {
 23800                              "description": "Data types that this condition applies to.",
 23801                              "items": {
 23802                                "description": "The type of financial data represented by a data model.",
 23803                                "enum": [
 23804                                  "trade",
 23805                                  "bbo",
 23806                                  "nbbo"
 23807                                ],
 23808                                "example": "trade",
 23809                                "type": "string"
 23810                              },
 23811                              "type": "array"
 23812                            },
 23813                            "description": {
 23814                              "description": "A short description of the semantics of this condition.",
 23815                              "type": "string"
 23816                            },
 23817                            "exchange": {
 23818                              "description": "If present, mapping this condition from a Polygon.io code to a SIP symbol depends on this attribute.\nIn other words, data with this condition attached comes exclusively from the given exchange.",
 23819                              "type": "integer"
 23820                            },
 23821                            "id": {
 23822                              "description": "An identifier used by Polygon.io for this condition. Unique per data type.",
 23823                              "example": 1,
 23824                              "type": "integer"
 23825                            },
 23826                            "legacy": {
 23827                              "description": "If true, this condition is from an old version of the SIPs' specs and no longer is used.\nOther conditions may or may not reuse the same symbol as this one.",
 23828                              "type": "boolean"
 23829                            },
 23830                            "name": {
 23831                              "description": "The name of this condition.",
 23832                              "example": "Acquisition",
 23833                              "type": "string"
 23834                            },
 23835                            "sip_mapping": {
 23836                              "description": "A mapping to a symbol for each SIP that has this condition.",
 23837                              "properties": {
 23838                                "CTA": {
 23839                                  "type": "string"
 23840                                },
 23841                                "OPRA": {
 23842                                  "type": "string"
 23843                                },
 23844                                "UTP": {
 23845                                  "type": "string"
 23846                                }
 23847                              },
 23848                              "type": "object"
 23849                            },
 23850                            "type": {
 23851                              "description": "An identifier for a collection of related conditions.",
 23852                              "enum": [
 23853                                "sale_condition",
 23854                                "quote_condition",
 23855                                "sip_generated_flag",
 23856                                "financial_status_indicator",
 23857                                "short_sale_restriction_indicator",
 23858                                "settlement_condition",
 23859                                "market_condition",
 23860                                "trade_thru_exempt"
 23861                              ],
 23862                              "type": "string"
 23863                            },
 23864                            "update_rules": {
 23865                              "description": "A list of aggregation rules.",
 23866                              "properties": {
 23867                                "consolidated": {
 23868                                  "description": "Describes aggregation rules on a consolidated (all exchanges) basis.",
 23869                                  "properties": {
 23870                                    "updates_high_low": {
 23871                                      "description": "Whether or not trades with this condition update the high/low.",
 23872                                      "type": "boolean"
 23873                                    },
 23874                                    "updates_open_close": {
 23875                                      "description": "Whether or not trades with this condition update the open/close.",
 23876                                      "type": "boolean"
 23877                                    },
 23878                                    "updates_volume": {
 23879                                      "description": "Whether or not trades with this condition update the volume.",
 23880                                      "type": "boolean"
 23881                                    }
 23882                                  },
 23883                                  "required": [
 23884                                    "updates_high_low",
 23885                                    "updates_open_close",
 23886                                    "updates_volume"
 23887                                  ],
 23888                                  "type": "object"
 23889                                },
 23890                                "market_center": {
 23891                                  "description": "Describes aggregation rules on a per-market-center basis.",
 23892                                  "properties": {
 23893                                    "updates_high_low": {
 23894                                      "description": "Whether or not trades with this condition update the high/low.",
 23895                                      "type": "boolean"
 23896                                    },
 23897                                    "updates_open_close": {
 23898                                      "description": "Whether or not trades with this condition update the open/close.",
 23899                                      "type": "boolean"
 23900                                    },
 23901                                    "updates_volume": {
 23902                                      "description": "Whether or not trades with this condition update the volume.",
 23903                                      "type": "boolean"
 23904                                    }
 23905                                  },
 23906                                  "required": [
 23907                                    "updates_high_low",
 23908                                    "updates_open_close",
 23909                                    "updates_volume"
 23910                                  ],
 23911                                  "type": "object"
 23912                                }
 23913                              },
 23914                              "required": [
 23915                                "consolidated",
 23916                                "market_center"
 23917                              ],
 23918                              "type": "object"
 23919                            }
 23920                          },
 23921                          "required": [
 23922                            "id",
 23923                            "type",
 23924                            "name",
 23925                            "asset_class",
 23926                            "sip_mapping",
 23927                            "data_types"
 23928                          ],
 23929                          "type": "object"
 23930                        },
 23931                        "type": "array"
 23932                      },
 23933                      "status": {
 23934                        "description": "The status of this request's response.",
 23935                        "example": "OK",
 23936                        "type": "string"
 23937                      }
 23938                    },
 23939                    "required": [
 23940                      "status",
 23941                      "request_id",
 23942                      "count",
 23943                      "results"
 23944                    ],
 23945                    "type": "object"
 23946                  }
 23947                }
 23948              },
 23949              "description": "a query parameter was malformed"
 23950            },
 23951            "default": {
 23952              "content": {
 23953                "application/json": {
 23954                  "schema": {
 23955                    "properties": {
 23956                      "count": {
 23957                        "description": "The total number of results for this request.",
 23958                        "example": 1,
 23959                        "type": "integer"
 23960                      },
 23961                      "next_url": {
 23962                        "description": "If present, this value can be used to fetch the next page of data.",
 23963                        "type": "string"
 23964                      },
 23965                      "request_id": {
 23966                        "description": "A request ID assigned by the server.",
 23967                        "example": "31d59dda-80e5-4721-8496-d0d32a654afe",
 23968                        "type": "string"
 23969                      },
 23970                      "results": {
 23971                        "description": "An array of conditions that match your query.",
 23972                        "items": {
 23973                          "description": "A condition generally refers to any extra information passed in a trade or a quote. These conditions\nmay or may not affect the behavior of aggregates.",
 23974                          "properties": {
 23975                            "abbreviation": {
 23976                              "description": "A commonly-used abbreviation for this condition.",
 23977                              "type": "string"
 23978                            },
 23979                            "asset_class": {
 23980                              "description": "An identifier for a group of similar financial instruments.",
 23981                              "enum": [
 23982                                "stocks",
 23983                                "options",
 23984                                "crypto",
 23985                                "fx"
 23986                              ],
 23987                              "example": "stocks",
 23988                              "type": "string"
 23989                            },
 23990                            "data_types": {
 23991                              "description": "Data types that this condition applies to.",
 23992                              "items": {
 23993                                "description": "The type of financial data represented by a data model.",
 23994                                "enum": [
 23995                                  "trade",
 23996                                  "bbo",
 23997                                  "nbbo"
 23998                                ],
 23999                                "example": "trade",
 24000                                "type": "string"
 24001                              },
 24002                              "type": "array"
 24003                            },
 24004                            "description": {
 24005                              "description": "A short description of the semantics of this condition.",
 24006                              "type": "string"
 24007                            },
 24008                            "exchange": {
 24009                              "description": "If present, mapping this condition from a Polygon.io code to a SIP symbol depends on this attribute.\nIn other words, data with this condition attached comes exclusively from the given exchange.",
 24010                              "type": "integer"
 24011                            },
 24012                            "id": {
 24013                              "description": "An identifier used by Polygon.io for this condition. Unique per data type.",
 24014                              "example": 1,
 24015                              "type": "integer"
 24016                            },
 24017                            "legacy": {
 24018                              "description": "If true, this condition is from an old version of the SIPs' specs and no longer is used.\nOther conditions may or may not reuse the same symbol as this one.",
 24019                              "type": "boolean"
 24020                            },
 24021                            "name": {
 24022                              "description": "The name of this condition.",
 24023                              "example": "Acquisition",
 24024                              "type": "string"
 24025                            },
 24026                            "sip_mapping": {
 24027                              "description": "A mapping to a symbol for each SIP that has this condition.",
 24028                              "properties": {
 24029                                "CTA": {
 24030                                  "type": "string"
 24031                                },
 24032                                "OPRA": {
 24033                                  "type": "string"
 24034                                },
 24035                                "UTP": {
 24036                                  "type": "string"
 24037                                }
 24038                              },
 24039                              "type": "object"
 24040                            },
 24041                            "type": {
 24042                              "description": "An identifier for a collection of related conditions.",
 24043                              "enum": [
 24044                                "sale_condition",
 24045                                "quote_condition",
 24046                                "sip_generated_flag",
 24047                                "financial_status_indicator",
 24048                                "short_sale_restriction_indicator",
 24049                                "settlement_condition",
 24050                                "market_condition",
 24051                                "trade_thru_exempt"
 24052                              ],
 24053                              "type": "string"
 24054                            },
 24055                            "update_rules": {
 24056                              "description": "A list of aggregation rules.",
 24057                              "properties": {
 24058                                "consolidated": {
 24059                                  "description": "Describes aggregation rules on a consolidated (all exchanges) basis.",
 24060                                  "properties": {
 24061                                    "updates_high_low": {
 24062                                      "description": "Whether or not trades with this condition update the high/low.",
 24063                                      "type": "boolean"
 24064                                    },
 24065                                    "updates_open_close": {
 24066                                      "description": "Whether or not trades with this condition update the open/close.",
 24067                                      "type": "boolean"
 24068                                    },
 24069                                    "updates_volume": {
 24070                                      "description": "Whether or not trades with this condition update the volume.",
 24071                                      "type": "boolean"
 24072                                    }
 24073                                  },
 24074                                  "required": [
 24075                                    "updates_high_low",
 24076                                    "updates_open_close",
 24077                                    "updates_volume"
 24078                                  ],
 24079                                  "type": "object"
 24080                                },
 24081                                "market_center": {
 24082                                  "description": "Describes aggregation rules on a per-market-center basis.",
 24083                                  "properties": {
 24084                                    "updates_high_low": {
 24085                                      "description": "Whether or not trades with this condition update the high/low.",
 24086                                      "type": "boolean"
 24087                                    },
 24088                                    "updates_open_close": {
 24089                                      "description": "Whether or not trades with this condition update the open/close.",
 24090                                      "type": "boolean"
 24091                                    },
 24092                                    "updates_volume": {
 24093                                      "description": "Whether or not trades with this condition update the volume.",
 24094                                      "type": "boolean"
 24095                                    }
 24096                                  },
 24097                                  "required": [
 24098                                    "updates_high_low",
 24099                                    "updates_open_close",
 24100                                    "updates_volume"
 24101                                  ],
 24102                                  "type": "object"
 24103                                }
 24104                              },
 24105                              "required": [
 24106                                "consolidated",
 24107                                "market_center"
 24108                              ],
 24109                              "type": "object"
 24110                            }
 24111                          },
 24112                          "required": [
 24113                            "id",
 24114                            "type",
 24115                            "name",
 24116                            "asset_class",
 24117                            "sip_mapping",
 24118                            "data_types"
 24119                          ],
 24120                          "type": "object"
 24121                        },
 24122                        "type": "array"
 24123                      },
 24124                      "status": {
 24125                        "description": "The status of this request's response.",
 24126                        "example": "OK",
 24127                        "type": "string"
 24128                      }
 24129                    },
 24130                    "required": [
 24131                      "status",
 24132                      "request_id",
 24133                      "count",
 24134                      "results"
 24135                    ],
 24136                    "type": "object"
 24137                  }
 24138                }
 24139              },
 24140              "description": "an unknown error occurred"
 24141            }
 24142          },
 24143          "summary": "Conditions",
 24144          "tags": [
 24145            "reference:conditions"
 24146          ],
 24147          "x-polygon-entitlement-data-type": {
 24148            "description": "Reference data",
 24149            "name": "reference"
 24150          },
 24151          "x-polygon-paginate": {
 24152            "limit": {
 24153              "default": 10,
 24154              "max": 1000
 24155            },
 24156            "sort": {
 24157              "default": "asset_class",
 24158              "enum": [
 24159                "asset_class",
 24160                "id",
 24161                "type",
 24162                "name",
 24163                "data_types",
 24164                "legacy"
 24165              ]
 24166            }
 24167          }
 24168        }
 24169      },
 24170      "/v3/reference/dividends": {
 24171        "get": {
 24172          "description": "Get a list of historical cash dividends, including the ticker symbol,\ndeclaration date, ex-dividend date, record date, pay date, frequency,\nand amount.",
 24173          "operationId": "ListDividends",
 24174          "parameters": [
 24175            {
 24176              "description": "Return the dividends that contain this ticker.",
 24177              "in": "query",
 24178              "name": "ticker",
 24179              "schema": {
 24180                "type": "string"
 24181              },
 24182              "x-polygon-filter-field": {
 24183                "range": true,
 24184                "type": "string"
 24185              }
 24186            },
 24187            {
 24188              "description": "Query by ex-dividend date with the format YYYY-MM-DD.",
 24189              "in": "query",
 24190              "name": "ex_dividend_date",
 24191              "schema": {
 24192                "format": "date",
 24193                "type": "string"
 24194              },
 24195              "x-polygon-filter-field": {
 24196                "range": true,
 24197                "type": "string"
 24198              }
 24199            },
 24200            {
 24201              "description": "Query by record date with the format YYYY-MM-DD.",
 24202              "in": "query",
 24203              "name": "record_date",
 24204              "schema": {
 24205                "format": "date",
 24206                "type": "string"
 24207              },
 24208              "x-polygon-filter-field": {
 24209                "range": true,
 24210                "type": "string"
 24211              }
 24212            },
 24213            {
 24214              "description": "Query by declaration date with the format YYYY-MM-DD.",
 24215              "in": "query",
 24216              "name": "declaration_date",
 24217              "schema": {
 24218                "format": "date",
 24219                "type": "string"
 24220              },
 24221              "x-polygon-filter-field": {
 24222                "range": true,
 24223                "type": "string"
 24224              }
 24225            },
 24226            {
 24227              "description": "Query by pay date with the format YYYY-MM-DD.",
 24228              "in": "query",
 24229              "name": "pay_date",
 24230              "schema": {
 24231                "format": "date",
 24232                "type": "string"
 24233              },
 24234              "x-polygon-filter-field": {
 24235                "range": true,
 24236                "type": "string"
 24237              }
 24238            },
 24239            {
 24240              "description": "Query by the number of times per year the dividend is paid out.  Possible values are 0 (one-time), 1 (annually), 2 (bi-annually), 4 (quarterly), and 12 (monthly).",
 24241              "in": "query",
 24242              "name": "frequency",
 24243              "schema": {
 24244                "enum": [
 24245                  0,
 24246                  1,
 24247                  2,
 24248                  4,
 24249                  12
 24250                ],
 24251                "type": "integer"
 24252              }
 24253            },
 24254            {
 24255              "description": "Query by the cash amount of the dividend.",
 24256              "in": "query",
 24257              "name": "cash_amount",
 24258              "schema": {
 24259                "type": "number"
 24260              },
 24261              "x-polygon-filter-field": {
 24262                "range": true,
 24263                "type": "number"
 24264              }
 24265            },
 24266            {
 24267              "description": "Query by the type of dividend. Dividends that have been paid and/or are expected to be paid on consistent schedules are denoted as CD.\nSpecial Cash dividends that have been paid that are infrequent or unusual, and/or can not be expected to occur in the future are denoted as SC.",
 24268              "in": "query",
 24269              "name": "dividend_type",
 24270              "schema": {
 24271                "description": "The type of dividend. Dividends that have been paid and/or are expected to be paid on consistent schedules are denoted as CD.\nSpecial Cash dividends that have been paid that are infrequent or unusual, and/or can not be expected to occur in the future are denoted as SC.\nLong-Term and Short-Term capital gain distributions are denoted as LT and ST, respectively.",
 24272                "enum": [
 24273                  "CD",
 24274                  "SC",
 24275                  "LT",
 24276                  "ST"
 24277                ],
 24278                "type": "string",
 24279                "x-polygon-go-field-tags": {
 24280                  "tags": [
 24281                    {
 24282                      "key": "binding",
 24283                      "value": "required"
 24284                    }
 24285                  ]
 24286                }
 24287              }
 24288            },
 24289            {
 24290              "description": "Range by ticker.",
 24291              "in": "query",
 24292              "name": "ticker.gte",
 24293              "schema": {
 24294                "type": "string"
 24295              }
 24296            },
 24297            {
 24298              "description": "Range by ticker.",
 24299              "in": "query",
 24300              "name": "ticker.gt",
 24301              "schema": {
 24302                "type": "string"
 24303              }
 24304            },
 24305            {
 24306              "description": "Range by ticker.",
 24307              "in": "query",
 24308              "name": "ticker.lte",
 24309              "schema": {
 24310                "type": "string"
 24311              }
 24312            },
 24313            {
 24314              "description": "Range by ticker.",
 24315              "in": "query",
 24316              "name": "ticker.lt",
 24317              "schema": {
 24318                "type": "string"
 24319              }
 24320            },
 24321            {
 24322              "description": "Range by ex_dividend_date.",
 24323              "in": "query",
 24324              "name": "ex_dividend_date.gte",
 24325              "schema": {
 24326                "format": "date",
 24327                "type": "string"
 24328              }
 24329            },
 24330            {
 24331              "description": "Range by ex_dividend_date.",
 24332              "in": "query",
 24333              "name": "ex_dividend_date.gt",
 24334              "schema": {
 24335                "format": "date",
 24336                "type": "string"
 24337              }
 24338            },
 24339            {
 24340              "description": "Range by ex_dividend_date.",
 24341              "in": "query",
 24342              "name": "ex_dividend_date.lte",
 24343              "schema": {
 24344                "format": "date",
 24345                "type": "string"
 24346              }
 24347            },
 24348            {
 24349              "description": "Range by ex_dividend_date.",
 24350              "in": "query",
 24351              "name": "ex_dividend_date.lt",
 24352              "schema": {
 24353                "format": "date",
 24354                "type": "string"
 24355              }
 24356            },
 24357            {
 24358              "description": "Range by record_date.",
 24359              "in": "query",
 24360              "name": "record_date.gte",
 24361              "schema": {
 24362                "format": "date",
 24363                "type": "string"
 24364              }
 24365            },
 24366            {
 24367              "description": "Range by record_date.",
 24368              "in": "query",
 24369              "name": "record_date.gt",
 24370              "schema": {
 24371                "format": "date",
 24372                "type": "string"
 24373              }
 24374            },
 24375            {
 24376              "description": "Range by record_date.",
 24377              "in": "query",
 24378              "name": "record_date.lte",
 24379              "schema": {
 24380                "format": "date",
 24381                "type": "string"
 24382              }
 24383            },
 24384            {
 24385              "description": "Range by record_date.",
 24386              "in": "query",
 24387              "name": "record_date.lt",
 24388              "schema": {
 24389                "format": "date",
 24390                "type": "string"
 24391              }
 24392            },
 24393            {
 24394              "description": "Range by declaration_date.",
 24395              "in": "query",
 24396              "name": "declaration_date.gte",
 24397              "schema": {
 24398                "format": "date",
 24399                "type": "string"
 24400              }
 24401            },
 24402            {
 24403              "description": "Range by declaration_date.",
 24404              "in": "query",
 24405              "name": "declaration_date.gt",
 24406              "schema": {
 24407                "format": "date",
 24408                "type": "string"
 24409              }
 24410            },
 24411            {
 24412              "description": "Range by declaration_date.",
 24413              "in": "query",
 24414              "name": "declaration_date.lte",
 24415              "schema": {
 24416                "format": "date",
 24417                "type": "string"
 24418              }
 24419            },
 24420            {
 24421              "description": "Range by declaration_date.",
 24422              "in": "query",
 24423              "name": "declaration_date.lt",
 24424              "schema": {
 24425                "format": "date",
 24426                "type": "string"
 24427              }
 24428            },
 24429            {
 24430              "description": "Range by pay_date.",
 24431              "in": "query",
 24432              "name": "pay_date.gte",
 24433              "schema": {
 24434                "format": "date",
 24435                "type": "string"
 24436              }
 24437            },
 24438            {
 24439              "description": "Range by pay_date.",
 24440              "in": "query",
 24441              "name": "pay_date.gt",
 24442              "schema": {
 24443                "format": "date",
 24444                "type": "string"
 24445              }
 24446            },
 24447            {
 24448              "description": "Range by pay_date.",
 24449              "in": "query",
 24450              "name": "pay_date.lte",
 24451              "schema": {
 24452                "format": "date",
 24453                "type": "string"
 24454              }
 24455            },
 24456            {
 24457              "description": "Range by pay_date.",
 24458              "in": "query",
 24459              "name": "pay_date.lt",
 24460              "schema": {
 24461                "format": "date",
 24462                "type": "string"
 24463              }
 24464            },
 24465            {
 24466              "description": "Range by cash_amount.",
 24467              "in": "query",
 24468              "name": "cash_amount.gte",
 24469              "schema": {
 24470                "type": "number"
 24471              }
 24472            },
 24473            {
 24474              "description": "Range by cash_amount.",
 24475              "in": "query",
 24476              "name": "cash_amount.gt",
 24477              "schema": {
 24478                "type": "number"
 24479              }
 24480            },
 24481            {
 24482              "description": "Range by cash_amount.",
 24483              "in": "query",
 24484              "name": "cash_amount.lte",
 24485              "schema": {
 24486                "type": "number"
 24487              }
 24488            },
 24489            {
 24490              "description": "Range by cash_amount.",
 24491              "in": "query",
 24492              "name": "cash_amount.lt",
 24493              "schema": {
 24494                "type": "number"
 24495              }
 24496            },
 24497            {
 24498              "description": "Order results based on the `sort` field.",
 24499              "in": "query",
 24500              "name": "order",
 24501              "schema": {
 24502                "enum": [
 24503                  "asc",
 24504                  "desc"
 24505                ],
 24506                "example": "asc",
 24507                "type": "string"
 24508              }
 24509            },
 24510            {
 24511              "description": "Limit the number of results returned, default is 10 and max is 1000.",
 24512              "in": "query",
 24513              "name": "limit",
 24514              "schema": {
 24515                "default": 10,
 24516                "example": 10,
 24517                "maximum": 1000,
 24518                "minimum": 1,
 24519                "type": "integer"
 24520              }
 24521            },
 24522            {
 24523              "description": "Sort field used for ordering.",
 24524              "in": "query",
 24525              "name": "sort",
 24526              "schema": {
 24527                "default": "ex_dividend_date",
 24528                "enum": [
 24529                  "ex_dividend_date",
 24530                  "pay_date",
 24531                  "declaration_date",
 24532                  "record_date",
 24533                  "cash_amount",
 24534                  "ticker"
 24535                ],
 24536                "example": "ex_dividend_date",
 24537                "type": "string"
 24538              }
 24539            }
 24540          ],
 24541          "responses": {
 24542            "200": {
 24543              "content": {
 24544                "application/json": {
 24545                  "schema": {
 24546                    "description": "A list of dividends.",
 24547                    "example": {
 24548                      "next_url": "https://api.polygon.io/v3/reference/dividends/AAPL?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 24549                      "results": [
 24550                        {
 24551                          "cash_amount": 0.22,
 24552                          "declaration_date": "2021-10-28",
 24553                          "dividend_type": "CD",
 24554                          "ex_dividend_date": "2021-11-05",
 24555                          "frequency": 4,
 24556                          "pay_date": "2021-11-11",
 24557                          "record_date": "2021-11-08",
 24558                          "ticker": "AAPL"
 24559                        },
 24560                        {
 24561                          "cash_amount": 0.22,
 24562                          "declaration_date": "2021-07-27",
 24563                          "dividend_type": "CD",
 24564                          "ex_dividend_date": "2021-08-06",
 24565                          "frequency": 4,
 24566                          "pay_date": "2021-08-12",
 24567                          "record_date": "2021-08-09",
 24568                          "ticker": "AAPL"
 24569                        }
 24570                      ],
 24571                      "status": "OK"
 24572                    },
 24573                    "properties": {
 24574                      "next_url": {
 24575                        "description": "If present, this value can be used to fetch the next page of data.",
 24576                        "type": "string"
 24577                      },
 24578                      "request_id": {
 24579                        "type": "string"
 24580                      },
 24581                      "results": {
 24582                        "items": {
 24583                          "properties": {
 24584                            "cash_amount": {
 24585                              "description": "The cash amount of the dividend per share owned.",
 24586                              "type": "number",
 24587                              "x-polygon-go-field-tags": {
 24588                                "tags": [
 24589                                  {
 24590                                    "key": "binding",
 24591                                    "value": "required"
 24592                                  }
 24593                                ]
 24594                              }
 24595                            },
 24596                            "currency": {
 24597                              "description": "The currency in which the dividend is paid.",
 24598                              "type": "string",
 24599                              "x-polygon-go-field-tags": {
 24600                                "tags": [
 24601                                  {
 24602                                    "key": "binding",
 24603                                    "value": "required"
 24604                                  }
 24605                                ]
 24606                              }
 24607                            },
 24608                            "declaration_date": {
 24609                              "description": "The date that the dividend was announced.",
 24610                              "type": "string"
 24611                            },
 24612                            "dividend_type": {
 24613                              "description": "The type of dividend. Dividends that have been paid and/or are expected to be paid on consistent schedules are denoted as CD.\nSpecial Cash dividends that have been paid that are infrequent or unusual, and/or can not be expected to occur in the future are denoted as SC.\nLong-Term and Short-Term capital gain distributions are denoted as LT and ST, respectively.",
 24614                              "enum": [
 24615                                "CD",
 24616                                "SC",
 24617                                "LT",
 24618                                "ST"
 24619                              ],
 24620                              "type": "string",
 24621                              "x-polygon-go-field-tags": {
 24622                                "tags": [
 24623                                  {
 24624                                    "key": "binding",
 24625                                    "value": "required"
 24626                                  }
 24627                                ]
 24628                              }
 24629                            },
 24630                            "ex_dividend_date": {
 24631                              "description": "The date that the stock first trades without the dividend, determined by the exchange.",
 24632                              "type": "string",
 24633                              "x-polygon-go-field-tags": {
 24634                                "tags": [
 24635                                  {
 24636                                    "key": "binding",
 24637                                    "value": "required"
 24638                                  }
 24639                                ]
 24640                              }
 24641                            },
 24642                            "frequency": {
 24643                              "description": "The number of times per year the dividend is paid out.  Possible values are 0 (one-time), 1 (annually), 2 (bi-annually), 4 (quarterly), and 12 (monthly).",
 24644                              "type": "integer",
 24645                              "x-polygon-go-field-tags": {
 24646                                "tags": [
 24647                                  {
 24648                                    "key": "binding",
 24649                                    "value": "required"
 24650                                  }
 24651                                ]
 24652                              }
 24653                            },
 24654                            "pay_date": {
 24655                              "description": "The date that the dividend is paid out.",
 24656                              "type": "string"
 24657                            },
 24658                            "record_date": {
 24659                              "description": "The date that the stock must be held to receive the dividend, set by the company.",
 24660                              "type": "string"
 24661                            },
 24662                            "ticker": {
 24663                              "description": "The ticker symbol of the dividend.",
 24664                              "type": "string",
 24665                              "x-polygon-go-field-tags": {
 24666                                "tags": [
 24667                                  {
 24668                                    "key": "binding",
 24669                                    "value": "required"
 24670                                  }
 24671                                ]
 24672                              }
 24673                            }
 24674                          },
 24675                          "required": [
 24676                            "ticker",
 24677                            "ex_dividend_date",
 24678                            "frequency",
 24679                            "cash_amount",
 24680                            "dividend_type"
 24681                          ],
 24682                          "type": "object",
 24683                          "x-polygon-go-struct-tags": {
 24684                            "tags": [
 24685                              "db"
 24686                            ]
 24687                          }
 24688                        },
 24689                        "type": "array"
 24690                      },
 24691                      "status": {
 24692                        "type": "string"
 24693                      }
 24694                    },
 24695                    "required": [
 24696                      "request_id"
 24697                    ],
 24698                    "type": "object"
 24699                  }
 24700                },
 24701                "text/csv": {
 24702                  "schema": {
 24703                    "example": "ticker,declaration_date,ex_dividend_date,record_date,pay_date,frequency,cash_amount,dividend_type\nAAPL,2021-10-28,2021-11-05,2021-11-08,2021-11-11,4,0.22,CD\nAAPL,2021-07-27,2021-08-06,2021-08-09,2021-08-12,4,0.22,CD\n",
 24704                    "type": "string"
 24705                  }
 24706                }
 24707              },
 24708              "description": "OK"
 24709            }
 24710          },
 24711          "summary": "Dividends v3",
 24712          "tags": [
 24713            "reference:dividends"
 24714          ],
 24715          "x-polygon-entitlement-data-type": {
 24716            "description": "Reference data",
 24717            "name": "reference"
 24718          },
 24719          "x-polygon-paginate": {
 24720            "limit": {
 24721              "default": 10,
 24722              "max": 1000
 24723            },
 24724            "sort": {
 24725              "default": "ex_dividend_date",
 24726              "enum": [
 24727                "ex_dividend_date",
 24728                "pay_date",
 24729                "declaration_date",
 24730                "record_date",
 24731                "cash_amount",
 24732                "ticker"
 24733              ]
 24734            }
 24735          }
 24736        }
 24737      },
 24738      "/v3/reference/exchanges": {
 24739        "get": {
 24740          "description": "List all exchanges that Polygon.io knows about.",
 24741          "operationId": "ListExchanges",
 24742          "parameters": [
 24743            {
 24744              "description": "Filter by asset class.",
 24745              "in": "query",
 24746              "name": "asset_class",
 24747              "schema": {
 24748                "description": "An identifier for a group of similar financial instruments.",
 24749                "enum": [
 24750                  "stocks",
 24751                  "options",
 24752                  "crypto",
 24753                  "fx"
 24754                ],
 24755                "example": "stocks",
 24756                "type": "string"
 24757              }
 24758            },
 24759            {
 24760              "description": "Filter by locale.",
 24761              "in": "query",
 24762              "name": "locale",
 24763              "schema": {
 24764                "description": "An identifier for a geographical location.",
 24765                "enum": [
 24766                  "us",
 24767                  "global"
 24768                ],
 24769                "example": "us",
 24770                "type": "string"
 24771              }
 24772            }
 24773          ],
 24774          "responses": {
 24775            "200": {
 24776              "content": {
 24777                "application/json": {
 24778                  "schema": {
 24779                    "properties": {
 24780                      "count": {
 24781                        "description": "The total number of results for this request.",
 24782                        "example": 1,
 24783                        "type": "integer"
 24784                      },
 24785                      "request_id": {
 24786                        "description": "A request ID assigned by the server.",
 24787                        "example": "31d59dda-80e5-4721-8496-d0d32a654afe",
 24788                        "type": "string"
 24789                      },
 24790                      "results": {
 24791                        "items": {
 24792                          "description": "An entity that reports trades.",
 24793                          "properties": {
 24794                            "acronym": {
 24795                              "description": "A commonly used abbreviation for this exchange.",
 24796                              "example": "AMEX",
 24797                              "type": "string"
 24798                            },
 24799                            "asset_class": {
 24800                              "description": "An identifier for a group of similar financial instruments.",
 24801                              "enum": [
 24802                                "stocks",
 24803                                "options",
 24804                                "crypto",
 24805                                "fx"
 24806                              ],
 24807                              "example": "stocks",
 24808                              "type": "string"
 24809                            },
 24810                            "id": {
 24811                              "description": "A unique identifier used by Polygon.io for this exchange.",
 24812                              "example": 1,
 24813                              "type": "integer"
 24814                            },
 24815                            "locale": {
 24816                              "description": "An identifier for a geographical location.",
 24817                              "enum": [
 24818                                "us",
 24819                                "global"
 24820                              ],
 24821                              "example": "us",
 24822                              "type": "string"
 24823                            },
 24824                            "mic": {
 24825                              "description": "The Market Identifer Code of this exchange (see ISO 10383).",
 24826                              "example": "XASE",
 24827                              "type": "string"
 24828                            },
 24829                            "name": {
 24830                              "description": "Name of this exchange.",
 24831                              "example": "NYSE American, LLC",
 24832                              "type": "string"
 24833                            },
 24834                            "operating_mic": {
 24835                              "description": "The MIC of the entity that operates this exchange.",
 24836                              "example": "XNYS",
 24837                              "type": "string"
 24838                            },
 24839                            "participant_id": {
 24840                              "description": "The ID used by SIP's to represent this exchange.",
 24841                              "example": "A",
 24842                              "type": "string"
 24843                            },
 24844                            "type": {
 24845                              "description": "Represents the type of exchange.",
 24846                              "enum": [
 24847                                "exchange",
 24848                                "TRF",
 24849                                "SIP"
 24850                              ],
 24851                              "example": "exchange",
 24852                              "type": "string"
 24853                            },
 24854                            "url": {
 24855                              "description": "A link to this exchange's website, if one exists.",
 24856                              "example": "https://www.nyse.com/markets/nyse-american",
 24857                              "type": "string"
 24858                            }
 24859                          },
 24860                          "required": [
 24861                            "id",
 24862                            "type",
 24863                            "asset_class",
 24864                            "locale",
 24865                            "name"
 24866                          ],
 24867                          "type": "object"
 24868                        },
 24869                        "type": "array"
 24870                      },
 24871                      "status": {
 24872                        "description": "The status of this request's response.",
 24873                        "example": "OK",
 24874                        "type": "string"
 24875                      }
 24876                    },
 24877                    "required": [
 24878                      "status",
 24879                      "request_id"
 24880                    ],
 24881                    "type": "object"
 24882                  }
 24883                },
 24884                "text/csv": {
 24885                  "example": "id,type,asset_class,locale,name,acronym,mic,operating_mic,participant_id,url\n1,exchange,stocks,us,\"NYSE American, LLC\",AMEX,XASE,XNYS,65,https://www.nyse.com/markets/nyse-american\n2,exchange,stocks,us,\"Nasdaq OMX BX, Inc.\",,XBOS,XNAS,66,https://www.nasdaq.com/solutions/nasdaq-bx-stock-market\n3,exchange,stocks,us,\"NYSE National, Inc.\",NSX,XCIS,XNYS,67,https://www.nyse.com/markets/nyse-national\n",
 24886                  "schema": {
 24887                    "type": "string"
 24888                  }
 24889                }
 24890              },
 24891              "description": "OK"
 24892            },
 24893            "400": {
 24894              "content": {
 24895                "application/json": {
 24896                  "schema": {
 24897                    "properties": {
 24898                      "count": {
 24899                        "description": "The total number of results for this request.",
 24900                        "example": 1,
 24901                        "type": "integer"
 24902                      },
 24903                      "request_id": {
 24904                        "description": "A request ID assigned by the server.",
 24905                        "example": "31d59dda-80e5-4721-8496-d0d32a654afe",
 24906                        "type": "string"
 24907                      },
 24908                      "status": {
 24909                        "description": "The status of this request's response.",
 24910                        "example": "OK",
 24911                        "type": "string"
 24912                      }
 24913                    },
 24914                    "required": [
 24915                      "status",
 24916                      "request_id"
 24917                    ],
 24918                    "type": "object"
 24919                  }
 24920                }
 24921              },
 24922              "description": "a query parameter was malformed"
 24923            },
 24924            "default": {
 24925              "content": {
 24926                "application/json": {
 24927                  "schema": {
 24928                    "properties": {
 24929                      "count": {
 24930                        "description": "The total number of results for this request.",
 24931                        "example": 1,
 24932                        "type": "integer"
 24933                      },
 24934                      "request_id": {
 24935                        "description": "A request ID assigned by the server.",
 24936                        "example": "31d59dda-80e5-4721-8496-d0d32a654afe",
 24937                        "type": "string"
 24938                      },
 24939                      "status": {
 24940                        "description": "The status of this request's response.",
 24941                        "example": "OK",
 24942                        "type": "string"
 24943                      }
 24944                    },
 24945                    "required": [
 24946                      "status",
 24947                      "request_id"
 24948                    ],
 24949                    "type": "object"
 24950                  }
 24951                }
 24952              },
 24953              "description": "an unknown error occurred"
 24954            }
 24955          },
 24956          "summary": "Exchanges",
 24957          "tags": [
 24958            "reference:exchanges"
 24959          ],
 24960          "x-polygon-entitlement-data-type": {
 24961            "description": "Reference data",
 24962            "name": "reference"
 24963          }
 24964        }
 24965      },
 24966      "/v3/reference/options/contracts": {
 24967        "get": {
 24968          "description": "Query for historical options contracts. This provides both active and expired options contracts.",
 24969          "operationId": "ListOptionsContracts",
 24970          "parameters": [
 24971            {
 24972              "description": "This parameter has been deprecated. To search by specific options ticker, use the Options Contract endpoint [here](https://polygon.io/docs/options/get_v3_reference_options_contracts__options_ticker).",
 24973              "in": "query",
 24974              "name": "ticker",
 24975              "schema": {
 24976                "type": "string"
 24977              }
 24978            },
 24979            {
 24980              "description": "Query for contracts relating to an underlying stock ticker.",
 24981              "in": "query",
 24982              "name": "underlying_ticker",
 24983              "schema": {
 24984                "type": "string"
 24985              },
 24986              "x-polygon-filter-field": {
 24987                "range": true,
 24988                "type": "string"
 24989              }
 24990            },
 24991            {
 24992              "description": "Query by the type of contract.",
 24993              "in": "query",
 24994              "name": "contract_type",
 24995              "schema": {
 24996                "enum": [
 24997                  "call",
 24998                  "put"
 24999                ],
 25000                "type": "string"
 25001              }
 25002            },
 25003            {
 25004              "description": "Query by contract expiration with date format YYYY-MM-DD.",
 25005              "in": "query",
 25006              "name": "expiration_date",
 25007              "schema": {
 25008                "type": "string"
 25009              },
 25010              "x-polygon-filter-field": {
 25011                "range": true
 25012              }
 25013            },
 25014            {
 25015              "description": "Specify a point in time for contracts as of this date with format YYYY-MM-DD. Defaults to today's date.",
 25016              "in": "query",
 25017              "name": "as_of",
 25018              "schema": {
 25019                "type": "string"
 25020              }
 25021            },
 25022            {
 25023              "description": "Query by strike price of a contract.",
 25024              "in": "query",
 25025              "name": "strike_price",
 25026              "schema": {
 25027                "type": "number"
 25028              },
 25029              "x-polygon-filter-field": {
 25030                "range": true,
 25031                "type": "number"
 25032              }
 25033            },
 25034            {
 25035              "description": "Query for expired contracts. Default is false.",
 25036              "in": "query",
 25037              "name": "expired",
 25038              "schema": {
 25039                "type": "boolean"
 25040              }
 25041            },
 25042            {
 25043              "description": "Range by underlying_ticker.",
 25044              "in": "query",
 25045              "name": "underlying_ticker.gte",
 25046              "schema": {
 25047                "type": "string"
 25048              }
 25049            },
 25050            {
 25051              "description": "Range by underlying_ticker.",
 25052              "in": "query",
 25053              "name": "underlying_ticker.gt",
 25054              "schema": {
 25055                "type": "string"
 25056              }
 25057            },
 25058            {
 25059              "description": "Range by underlying_ticker.",
 25060              "in": "query",
 25061              "name": "underlying_ticker.lte",
 25062              "schema": {
 25063                "type": "string"
 25064              }
 25065            },
 25066            {
 25067              "description": "Range by underlying_ticker.",
 25068              "in": "query",
 25069              "name": "underlying_ticker.lt",
 25070              "schema": {
 25071                "type": "string"
 25072              }
 25073            },
 25074            {
 25075              "description": "Range by expiration_date.",
 25076              "in": "query",
 25077              "name": "expiration_date.gte",
 25078              "schema": {
 25079                "type": "string"
 25080              }
 25081            },
 25082            {
 25083              "description": "Range by expiration_date.",
 25084              "in": "query",
 25085              "name": "expiration_date.gt",
 25086              "schema": {
 25087                "type": "string"
 25088              }
 25089            },
 25090            {
 25091              "description": "Range by expiration_date.",
 25092              "in": "query",
 25093              "name": "expiration_date.lte",
 25094              "schema": {
 25095                "type": "string"
 25096              }
 25097            },
 25098            {
 25099              "description": "Range by expiration_date.",
 25100              "in": "query",
 25101              "name": "expiration_date.lt",
 25102              "schema": {
 25103                "type": "string"
 25104              }
 25105            },
 25106            {
 25107              "description": "Range by strike_price.",
 25108              "in": "query",
 25109              "name": "strike_price.gte",
 25110              "schema": {
 25111                "type": "number"
 25112              }
 25113            },
 25114            {
 25115              "description": "Range by strike_price.",
 25116              "in": "query",
 25117              "name": "strike_price.gt",
 25118              "schema": {
 25119                "type": "number"
 25120              }
 25121            },
 25122            {
 25123              "description": "Range by strike_price.",
 25124              "in": "query",
 25125              "name": "strike_price.lte",
 25126              "schema": {
 25127                "type": "number"
 25128              }
 25129            },
 25130            {
 25131              "description": "Range by strike_price.",
 25132              "in": "query",
 25133              "name": "strike_price.lt",
 25134              "schema": {
 25135                "type": "number"
 25136              }
 25137            },
 25138            {
 25139              "description": "Order results based on the `sort` field.",
 25140              "in": "query",
 25141              "name": "order",
 25142              "schema": {
 25143                "enum": [
 25144                  "asc",
 25145                  "desc"
 25146                ],
 25147                "example": "asc",
 25148                "type": "string"
 25149              }
 25150            },
 25151            {
 25152              "description": "Limit the number of results returned, default is 10 and max is 1000.",
 25153              "in": "query",
 25154              "name": "limit",
 25155              "schema": {
 25156                "default": 10,
 25157                "example": 10,
 25158                "maximum": 1000,
 25159                "minimum": 1,
 25160                "type": "integer"
 25161              }
 25162            },
 25163            {
 25164              "description": "Sort field used for ordering.",
 25165              "in": "query",
 25166              "name": "sort",
 25167              "schema": {
 25168                "default": "ticker",
 25169                "enum": [
 25170                  "ticker",
 25171                  "underlying_ticker",
 25172                  "expiration_date",
 25173                  "strike_price"
 25174                ],
 25175                "example": "ticker",
 25176                "type": "string"
 25177              }
 25178            }
 25179          ],
 25180          "responses": {
 25181            "200": {
 25182              "content": {
 25183                "application/json": {
 25184                  "example": {
 25185                    "request_id": "603902c0-a5a5-406f-bd08-f030f92418fa",
 25186                    "results": [
 25187                      {
 25188                        "cfi": "OCASPS",
 25189                        "contract_type": "call",
 25190                        "exercise_style": "american",
 25191                        "expiration_date": "2021-11-19",
 25192                        "primary_exchange": "BATO",
 25193                        "shares_per_contract": 100,
 25194                        "strike_price": 85,
 25195                        "ticker": "O:AAPL211119C00085000",
 25196                        "underlying_ticker": "AAPL"
 25197                      },
 25198                      {
 25199                        "additional_underlyings": [
 25200                          {
 25201                            "amount": 44,
 25202                            "type": "equity",
 25203                            "underlying": "VMW"
 25204                          },
 25205                          {
 25206                            "amount": 6.53,
 25207                            "type": "currency",
 25208                            "underlying": "USD"
 25209                          }
 25210                        ],
 25211                        "cfi": "OCASPS",
 25212                        "contract_type": "call",
 25213                        "exercise_style": "american",
 25214                        "expiration_date": "2021-11-19",
 25215                        "primary_exchange": "BATO",
 25216                        "shares_per_contract": 100,
 25217                        "strike_price": 90,
 25218                        "ticker": "O:AAPL211119C00090000",
 25219                        "underlying_ticker": "AAPL"
 25220                      }
 25221                    ],
 25222                    "status": "OK"
 25223                  },
 25224                  "schema": {
 25225                    "properties": {
 25226                      "next_url": {
 25227                        "description": "If present, this value can be used to fetch the next page of data.",
 25228                        "type": "string"
 25229                      },
 25230                      "request_id": {
 25231                        "type": "string"
 25232                      },
 25233                      "results": {
 25234                        "items": {
 25235                          "properties": {
 25236                            "additional_underlyings": {
 25237                              "description": "If an option contract has additional underlyings or deliverables associated with it, they will appear here.\nSee \u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"https://www.optionseducation.org/referencelibrary/faq/splits-mergers-spinoffs-bankruptcies\"\u003ehere\u003c/a\u003e for some examples of what might cause a contract to have additional underlyings.",
 25238                              "items": {
 25239                                "properties": {
 25240                                  "amount": {
 25241                                    "description": "The number of shares per contract of the additional underlying, or the cash-in-lieu amount of the currency.",
 25242                                    "type": "number"
 25243                                  },
 25244                                  "type": {
 25245                                    "description": "The type of the additional underlying asset, either equity or currency.",
 25246                                    "type": "string"
 25247                                  },
 25248                                  "underlying": {
 25249                                    "description": "The name of the additional underlying asset.",
 25250                                    "type": "string"
 25251                                  }
 25252                                },
 25253                                "type": "object",
 25254                                "x-polygon-go-type": {
 25255                                  "name": "AdditionalUnderlying"
 25256                                }
 25257                              },
 25258                              "type": "array",
 25259                              "x-polygon-go-type": {
 25260                                "name": "AdditionalUnderlyings"
 25261                              }
 25262                            },
 25263                            "cfi": {
 25264                              "description": "The 6 letter CFI code of the contract (defined in \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/ISO_10962\"\u003eISO 10962\u003c/a\u003e)",
 25265                              "type": "string"
 25266                            },
 25267                            "contract_type": {
 25268                              "description": "The type of contract. Can be \"put\", \"call\", or in some rare cases, \"other\".",
 25269                              "type": "string"
 25270                            },
 25271                            "correction": {
 25272                              "description": "The correction number for this option contract.",
 25273                              "type": "integer"
 25274                            },
 25275                            "exercise_style": {
 25276                              "description": "The exercise style of this contract. See \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/Option_style\"\u003ethis link\u003c/a\u003e for more details on exercise styles.",
 25277                              "enum": [
 25278                                "american",
 25279                                "european",
 25280                                "bermudan"
 25281                              ],
 25282                              "type": "string"
 25283                            },
 25284                            "expiration_date": {
 25285                              "description": "The contract's expiration date in YYYY-MM-DD format.",
 25286                              "type": "string",
 25287                              "x-polygon-go-type": {
 25288                                "name": "IDaysPolygonDateString",
 25289                                "path": "github.com/polygon-io/ptime"
 25290                              }
 25291                            },
 25292                            "primary_exchange": {
 25293                              "description": "The MIC code of the primary exchange that this contract is listed on.",
 25294                              "type": "string"
 25295                            },
 25296                            "shares_per_contract": {
 25297                              "description": "The number of shares per contract for this contract.",
 25298                              "type": "number"
 25299                            },
 25300                            "strike_price": {
 25301                              "description": "The strike price of the option contract.",
 25302                              "type": "number"
 25303                            },
 25304                            "ticker": {
 25305                              "description": "The ticker for the option contract.",
 25306                              "type": "string"
 25307                            },
 25308                            "underlying_ticker": {
 25309                              "description": "The underlying ticker that the option contract relates to.",
 25310                              "type": "string"
 25311                            }
 25312                          },
 25313                          "type": "object",
 25314                          "x-polygon-go-type": {
 25315                            "name": "OptionsContract"
 25316                          }
 25317                        },
 25318                        "type": "array"
 25319                      },
 25320                      "status": {
 25321                        "type": "string"
 25322                      }
 25323                    },
 25324                    "type": "object"
 25325                  }
 25326                },
 25327                "text/csv": {
 25328                  "schema": {
 25329                    "example": "cfi,contract_type,exercise_style,expiration_date,primary_exchange,shares_per_contract,strike_price,ticker,underlying_ticker,additional_underlyings_json\nOCASPS,call,american,2021-11-19,BATO,100,85,O:AAPL211119C00085000,AAPL,\nOCASPS,call,american,2021-11-19,BATO,100,90,O:AAPL211119C00090000,AAPL,\"[{'type': 'equity', 'underlying': 'VMW', 'amount': 44}, {'type': 'currency', 'underlying': 'USD', 'amount': 6.53}]\"\n",
 25330                    "type": "string"
 25331                  }
 25332                }
 25333              },
 25334              "description": "A list of options contracts"
 25335            }
 25336          },
 25337          "summary": "Options Contracts",
 25338          "tags": [
 25339            "reference:options:contracts:list"
 25340          ],
 25341          "x-polygon-entitlement-data-type": {
 25342            "description": "Reference data",
 25343            "name": "reference"
 25344          },
 25345          "x-polygon-paginate": {
 25346            "limit": {
 25347              "default": 10,
 25348              "max": 1000
 25349            },
 25350            "sort": {
 25351              "default": "ticker",
 25352              "enum": [
 25353                "ticker",
 25354                "underlying_ticker",
 25355                "expiration_date",
 25356                "strike_price"
 25357              ]
 25358            }
 25359          }
 25360        }
 25361      },
 25362      "/v3/reference/options/contracts/{options_ticker}": {
 25363        "get": {
 25364          "description": "Get an options contract",
 25365          "operationId": "GetOptionsContract",
 25366          "parameters": [
 25367            {
 25368              "description": "Query for a contract by options ticker. You can learn more about the structure of options tickers [here](https://polygon.io/blog/how-to-read-a-stock-options-ticker/).",
 25369              "example": "O:EVRI240119C00002500",
 25370              "in": "path",
 25371              "name": "options_ticker",
 25372              "required": true,
 25373              "schema": {
 25374                "type": "string"
 25375              }
 25376            },
 25377            {
 25378              "description": "Specify a point in time for the contract as of this date with format YYYY-MM-DD. Defaults to today's date.",
 25379              "in": "query",
 25380              "name": "as_of",
 25381              "schema": {
 25382                "type": "string"
 25383              }
 25384            }
 25385          ],
 25386          "responses": {
 25387            "200": {
 25388              "content": {
 25389                "application/json": {
 25390                  "example": {
 25391                    "request_id": "603902c0-a5a5-406f-bd08-f030f92418fa",
 25392                    "results": {
 25393                      "additional_underlyings": [
 25394                        {
 25395                          "amount": 44,
 25396                          "type": "equity",
 25397                          "underlying": "VMW"
 25398                        },
 25399                        {
 25400                          "amount": 6.53,
 25401                          "type": "currency",
 25402                          "underlying": "USD"
 25403                        }
 25404                      ],
 25405                      "cfi": "OCASPS",
 25406                      "contract_type": "call",
 25407                      "exercise_style": "american",
 25408                      "expiration_date": "2021-11-19",
 25409                      "primary_exchange": "BATO",
 25410                      "shares_per_contract": 100,
 25411                      "strike_price": 85,
 25412                      "ticker": "O:AAPL211119C00085000",
 25413                      "underlying_ticker": "AAPL"
 25414                    },
 25415                    "status": "OK"
 25416                  },
 25417                  "schema": {
 25418                    "properties": {
 25419                      "request_id": {
 25420                        "type": "string"
 25421                      },
 25422                      "results": {
 25423                        "properties": {
 25424                          "additional_underlyings": {
 25425                            "description": "If an option contract has additional underlyings or deliverables associated with it, they will appear here.\nSee \u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"https://www.optionseducation.org/referencelibrary/faq/splits-mergers-spinoffs-bankruptcies\"\u003ehere\u003c/a\u003e for some examples of what might cause a contract to have additional underlyings.",
 25426                            "items": {
 25427                              "properties": {
 25428                                "amount": {
 25429                                  "description": "The number of shares per contract of the additional underlying, or the cash-in-lieu amount of the currency.",
 25430                                  "type": "number"
 25431                                },
 25432                                "type": {
 25433                                  "description": "The type of the additional underlying asset, either equity or currency.",
 25434                                  "type": "string"
 25435                                },
 25436                                "underlying": {
 25437                                  "description": "The name of the additional underlying asset.",
 25438                                  "type": "string"
 25439                                }
 25440                              },
 25441                              "type": "object",
 25442                              "x-polygon-go-type": {
 25443                                "name": "AdditionalUnderlying"
 25444                              }
 25445                            },
 25446                            "type": "array",
 25447                            "x-polygon-go-type": {
 25448                              "name": "AdditionalUnderlyings"
 25449                            }
 25450                          },
 25451                          "cfi": {
 25452                            "description": "The 6 letter CFI code of the contract (defined in \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/ISO_10962\"\u003eISO 10962\u003c/a\u003e)",
 25453                            "type": "string"
 25454                          },
 25455                          "contract_type": {
 25456                            "description": "The type of contract. Can be \"put\", \"call\", or in some rare cases, \"other\".",
 25457                            "type": "string"
 25458                          },
 25459                          "correction": {
 25460                            "description": "The correction number for this option contract.",
 25461                            "type": "integer"
 25462                          },
 25463                          "exercise_style": {
 25464                            "description": "The exercise style of this contract. See \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/Option_style\"\u003ethis link\u003c/a\u003e for more details on exercise styles.",
 25465                            "enum": [
 25466                              "american",
 25467                              "european",
 25468                              "bermudan"
 25469                            ],
 25470                            "type": "string"
 25471                          },
 25472                          "expiration_date": {
 25473                            "description": "The contract's expiration date in YYYY-MM-DD format.",
 25474                            "type": "string",
 25475                            "x-polygon-go-type": {
 25476                              "name": "IDaysPolygonDateString",
 25477                              "path": "github.com/polygon-io/ptime"
 25478                            }
 25479                          },
 25480                          "primary_exchange": {
 25481                            "description": "The MIC code of the primary exchange that this contract is listed on.",
 25482                            "type": "string"
 25483                          },
 25484                          "shares_per_contract": {
 25485                            "description": "The number of shares per contract for this contract.",
 25486                            "type": "number"
 25487                          },
 25488                          "strike_price": {
 25489                            "description": "The strike price of the option contract.",
 25490                            "type": "number"
 25491                          },
 25492                          "ticker": {
 25493                            "description": "The ticker for the option contract.",
 25494                            "type": "string"
 25495                          },
 25496                          "underlying_ticker": {
 25497                            "description": "The underlying ticker that the option contract relates to.",
 25498                            "type": "string"
 25499                          }
 25500                        },
 25501                        "type": "object",
 25502                        "x-polygon-go-type": {
 25503                          "name": "OptionsContract"
 25504                        }
 25505                      },
 25506                      "status": {
 25507                        "type": "string"
 25508                      }
 25509                    },
 25510                    "type": "object"
 25511                  }
 25512                },
 25513                "text/csv": {
 25514                  "schema": {
 25515                    "example": "cfi,contract_type,exercise_style,expiration_date,primary_exchange,shares_per_contract,strike_price,ticker,underlying_ticker,additional_underlyings_json\nOCASPS,call,american,2021-11-19,BATO,100,90,O:AAPL211119C00090000,AAPL,\"[{'type': 'equity', 'underlying': 'VMW', 'amount': 44}, {'type': 'currency', 'underlying': 'USD', 'amount': 6.53}]\"\n",
 25516                    "type": "string"
 25517                  }
 25518                }
 25519              },
 25520              "description": "A specific options contract"
 25521            }
 25522          },
 25523          "summary": "Options Contract",
 25524          "tags": [
 25525            "reference:options:contract"
 25526          ],
 25527          "x-polygon-entitlement-data-type": {
 25528            "description": "Reference data",
 25529            "name": "reference"
 25530          }
 25531        }
 25532      },
 25533      "/v3/reference/splits": {
 25534        "get": {
 25535          "description": "Get a list of historical stock splits, including the ticker symbol, the execution date, and the factors of the split ratio.",
 25536          "operationId": "ListStockSplits",
 25537          "parameters": [
 25538            {
 25539              "description": "Return the stock splits that contain this ticker.",
 25540              "in": "query",
 25541              "name": "ticker",
 25542              "schema": {
 25543                "type": "string"
 25544              },
 25545              "x-polygon-filter-field": {
 25546                "range": true,
 25547                "type": "string"
 25548              }
 25549            },
 25550            {
 25551              "description": "Query by execution date with the format YYYY-MM-DD.",
 25552              "in": "query",
 25553              "name": "execution_date",
 25554              "schema": {
 25555                "format": "date",
 25556                "type": "string"
 25557              },
 25558              "x-polygon-filter-field": {
 25559                "range": true,
 25560                "type": "string"
 25561              }
 25562            },
 25563            {
 25564              "description": "Query for reverse stock splits. A split ratio where split_from is greater than split_to represents a reverse split. By default this filter is not used.",
 25565              "in": "query",
 25566              "name": "reverse_split",
 25567              "schema": {
 25568                "nullable": true,
 25569                "type": "boolean"
 25570              }
 25571            },
 25572            {
 25573              "description": "Search by ticker.",
 25574              "in": "query",
 25575              "name": "ticker.gte",
 25576              "schema": {
 25577                "type": "string"
 25578              }
 25579            },
 25580            {
 25581              "description": "Search by ticker.",
 25582              "in": "query",
 25583              "name": "ticker.gt",
 25584              "schema": {
 25585                "type": "string"
 25586              }
 25587            },
 25588            {
 25589              "description": "Search by ticker.",
 25590              "in": "query",
 25591              "name": "ticker.lte",
 25592              "schema": {
 25593                "type": "string"
 25594              }
 25595            },
 25596            {
 25597              "description": "Search by ticker.",
 25598              "in": "query",
 25599              "name": "ticker.lt",
 25600              "schema": {
 25601                "type": "string"
 25602              }
 25603            },
 25604            {
 25605              "description": "Search by execution_date.",
 25606              "in": "query",
 25607              "name": "execution_date.gte",
 25608              "schema": {
 25609                "format": "date",
 25610                "type": "string"
 25611              }
 25612            },
 25613            {
 25614              "description": "Search by execution_date.",
 25615              "in": "query",
 25616              "name": "execution_date.gt",
 25617              "schema": {
 25618                "format": "date",
 25619                "type": "string"
 25620              }
 25621            },
 25622            {
 25623              "description": "Search by execution_date.",
 25624              "in": "query",
 25625              "name": "execution_date.lte",
 25626              "schema": {
 25627                "format": "date",
 25628                "type": "string"
 25629              }
 25630            },
 25631            {
 25632              "description": "Search by execution_date.",
 25633              "in": "query",
 25634              "name": "execution_date.lt",
 25635              "schema": {
 25636                "format": "date",
 25637                "type": "string"
 25638              }
 25639            },
 25640            {
 25641              "description": "Order results based on the `sort` field.",
 25642              "in": "query",
 25643              "name": "order",
 25644              "schema": {
 25645                "enum": [
 25646                  "asc",
 25647                  "desc"
 25648                ],
 25649                "example": "asc",
 25650                "type": "string"
 25651              }
 25652            },
 25653            {
 25654              "description": "Limit the number of results returned, default is 10 and max is 1000.",
 25655              "in": "query",
 25656              "name": "limit",
 25657              "schema": {
 25658                "default": 10,
 25659                "example": 10,
 25660                "maximum": 1000,
 25661                "minimum": 1,
 25662                "type": "integer"
 25663              }
 25664            },
 25665            {
 25666              "description": "Sort field used for ordering.",
 25667              "in": "query",
 25668              "name": "sort",
 25669              "schema": {
 25670                "default": "execution_date",
 25671                "enum": [
 25672                  "execution_date",
 25673                  "ticker"
 25674                ],
 25675                "example": "execution_date",
 25676                "type": "string"
 25677              }
 25678            }
 25679          ],
 25680          "responses": {
 25681            "200": {
 25682              "content": {
 25683                "application/json": {
 25684                  "example": {
 25685                    "next_url": "https://api.polygon.io/v3/splits/AAPL?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 25686                    "results": [
 25687                      {
 25688                        "execution_date": "2020-08-31",
 25689                        "split_from": 1,
 25690                        "split_to": 4,
 25691                        "ticker": "AAPL"
 25692                      },
 25693                      {
 25694                        "execution_date": "2005-02-28",
 25695                        "split_from": 1,
 25696                        "split_to": 2,
 25697                        "ticker": "AAPL"
 25698                      }
 25699                    ],
 25700                    "status": "OK"
 25701                  },
 25702                  "schema": {
 25703                    "properties": {
 25704                      "next_url": {
 25705                        "description": "If present, this value can be used to fetch the next page of data.",
 25706                        "type": "string"
 25707                      },
 25708                      "request_id": {
 25709                        "type": "string"
 25710                      },
 25711                      "results": {
 25712                        "items": {
 25713                          "properties": {
 25714                            "execution_date": {
 25715                              "description": "The execution date of the stock split. On this date the stock split was applied.",
 25716                              "type": "string"
 25717                            },
 25718                            "split_from": {
 25719                              "description": "The second number in the split ratio.\n\nFor example: In a 2-for-1 split, split_from would be 1.",
 25720                              "format": "float",
 25721                              "type": "number"
 25722                            },
 25723                            "split_to": {
 25724                              "description": "The first number in the split ratio.\n\nFor example: In a 2-for-1 split, split_to would be 2.",
 25725                              "format": "float",
 25726                              "type": "number"
 25727                            },
 25728                            "ticker": {
 25729                              "description": "The ticker symbol of the stock split.",
 25730                              "type": "string"
 25731                            }
 25732                          },
 25733                          "required": [
 25734                            "split_from",
 25735                            "split_to"
 25736                          ],
 25737                          "type": "object"
 25738                        },
 25739                        "type": "array"
 25740                      },
 25741                      "status": {
 25742                        "description": "The status of this request's response.",
 25743                        "type": "string"
 25744                      }
 25745                    },
 25746                    "type": "object"
 25747                  }
 25748                },
 25749                "text/csv": {
 25750                  "example": "ticker,execution_date,split_from,split_to\nAAPL,2020-08-31,1.0,4.0\nAAPL,2005-02-28,1.0,2.0\n",
 25751                  "schema": {
 25752                    "type": "string"
 25753                  }
 25754                }
 25755              },
 25756              "description": "A list of stock splits."
 25757            }
 25758          },
 25759          "summary": "Stock Splits v3",
 25760          "tags": [
 25761            "reference:stocks"
 25762          ],
 25763          "x-polygon-entitlement-data-type": {
 25764            "description": "Reference data",
 25765            "name": "reference"
 25766          },
 25767          "x-polygon-paginate": {
 25768            "limit": {
 25769              "default": 10,
 25770              "max": 1000
 25771            },
 25772            "sort": {
 25773              "default": "execution_date",
 25774              "enum": [
 25775                "execution_date",
 25776                "ticker"
 25777              ]
 25778            }
 25779          }
 25780        }
 25781      },
 25782      "/v3/reference/tickers": {
 25783        "get": {
 25784          "description": "Query all ticker symbols which are supported by Polygon.io. This API currently includes Stocks/Equities, Indices, Forex, and Crypto.",
 25785          "operationId": "ListTickers",
 25786          "parameters": [
 25787            {
 25788              "description": "Specify a ticker symbol.\nDefaults to empty string which queries all tickers.",
 25789              "in": "query",
 25790              "name": "ticker",
 25791              "schema": {
 25792                "type": "string"
 25793              },
 25794              "x-polygon-filter-field": {
 25795                "range": true
 25796              }
 25797            },
 25798            {
 25799              "description": "Specify the type of the tickers. Find the types that we support via our [Ticker Types API](https://polygon.io/docs/stocks/get_v3_reference_tickers_types).\nDefaults to empty string which queries all types.",
 25800              "in": "query",
 25801              "name": "type",
 25802              "schema": {
 25803                "enum": [
 25804                  "CS",
 25805                  "ADRC",
 25806                  "ADRP",
 25807                  "ADRR",
 25808                  "UNIT",
 25809                  "RIGHT",
 25810                  "PFD",
 25811                  "FUND",
 25812                  "SP",
 25813                  "WARRANT",
 25814                  "INDEX",
 25815                  "ETF",
 25816                  "ETN",
 25817                  "OS",
 25818                  "GDR",
 25819                  "OTHER",
 25820                  "NYRS",
 25821                  "AGEN",
 25822                  "EQLK",
 25823                  "BOND",
 25824                  "ADRW",
 25825                  "BASKET",
 25826                  "LT"
 25827                ],
 25828                "type": "string"
 25829              }
 25830            },
 25831            {
 25832              "description": "Filter by market type. By default all markets are included.",
 25833              "in": "query",
 25834              "name": "market",
 25835              "schema": {
 25836                "enum": [
 25837                  "stocks",
 25838                  "crypto",
 25839                  "fx",
 25840                  "otc",
 25841                  "indices"
 25842                ],
 25843                "type": "string"
 25844              }
 25845            },
 25846            {
 25847              "description": "Specify the primary exchange of the asset in the ISO code format. Find more information about the ISO codes [at the ISO org website](https://www.iso20022.org/market-identifier-codes).\nDefaults to empty string which queries all exchanges.",
 25848              "in": "query",
 25849              "name": "exchange",
 25850              "schema": {
 25851                "type": "string"
 25852              }
 25853            },
 25854            {
 25855              "description": "Specify the CUSIP code of the asset you want to search for. Find more information about CUSIP codes [at their website](https://www.cusip.com/identifiers.html#/CUSIP).\nDefaults to empty string which queries all CUSIPs.\n\nNote: Although you can query by CUSIP, due to legal reasons we do not return the CUSIP in the response.",
 25856              "in": "query",
 25857              "name": "cusip",
 25858              "schema": {
 25859                "type": "string"
 25860              }
 25861            },
 25862            {
 25863              "description": "Specify the CIK of the asset you want to search for. Find more information about CIK codes [at their website](https://www.sec.gov/edgar/searchedgar/cik.htm).\nDefaults to empty string which queries all CIKs.",
 25864              "in": "query",
 25865              "name": "cik",
 25866              "schema": {
 25867                "type": "string"
 25868              }
 25869            },
 25870            {
 25871              "description": "Specify a point in time to retrieve tickers available on that date.\nDefaults to the most recent available date.",
 25872              "in": "query",
 25873              "name": "date",
 25874              "schema": {
 25875                "format": "date",
 25876                "type": "string"
 25877              }
 25878            },
 25879            {
 25880              "description": "Search for terms within the ticker and/or company name.",
 25881              "in": "query",
 25882              "name": "search",
 25883              "schema": {
 25884                "type": "string"
 25885              }
 25886            },
 25887            {
 25888              "description": "Specify if the tickers returned should be actively traded on the queried date. Default is true.",
 25889              "example": true,
 25890              "in": "query",
 25891              "name": "active",
 25892              "schema": {
 25893                "type": "boolean"
 25894              }
 25895            },
 25896            {
 25897              "description": "Range by ticker.",
 25898              "in": "query",
 25899              "name": "ticker.gte",
 25900              "schema": {
 25901                "type": "string"
 25902              }
 25903            },
 25904            {
 25905              "description": "Range by ticker.",
 25906              "in": "query",
 25907              "name": "ticker.gt",
 25908              "schema": {
 25909                "type": "string"
 25910              }
 25911            },
 25912            {
 25913              "description": "Range by ticker.",
 25914              "in": "query",
 25915              "name": "ticker.lte",
 25916              "schema": {
 25917                "type": "string"
 25918              }
 25919            },
 25920            {
 25921              "description": "Range by ticker.",
 25922              "in": "query",
 25923              "name": "ticker.lt",
 25924              "schema": {
 25925                "type": "string"
 25926              }
 25927            },
 25928            {
 25929              "description": "Order results based on the `sort` field.",
 25930              "in": "query",
 25931              "name": "order",
 25932              "schema": {
 25933                "enum": [
 25934                  "asc",
 25935                  "desc"
 25936                ],
 25937                "example": "asc",
 25938                "type": "string"
 25939              }
 25940            },
 25941            {
 25942              "description": "Limit the number of results returned, default is 100 and max is 1000.",
 25943              "in": "query",
 25944              "name": "limit",
 25945              "schema": {
 25946                "default": 100,
 25947                "example": 100,
 25948                "maximum": 1000,
 25949                "minimum": 1,
 25950                "type": "integer"
 25951              }
 25952            },
 25953            {
 25954              "description": "Sort field used for ordering.",
 25955              "in": "query",
 25956              "name": "sort",
 25957              "schema": {
 25958                "default": "ticker",
 25959                "enum": [
 25960                  "ticker",
 25961                  "name",
 25962                  "market",
 25963                  "locale",
 25964                  "primary_exchange",
 25965                  "type",
 25966                  "currency_symbol",
 25967                  "currency_name",
 25968                  "base_currency_symbol",
 25969                  "base_currency_name",
 25970                  "cik",
 25971                  "composite_figi",
 25972                  "share_class_figi",
 25973                  "last_updated_utc",
 25974                  "delisted_utc"
 25975                ],
 25976                "example": "ticker",
 25977                "type": "string"
 25978              }
 25979            }
 25980          ],
 25981          "responses": {
 25982            "200": {
 25983              "content": {
 25984                "application/json": {
 25985                  "example": {
 25986                    "count": 1,
 25987                    "next_url": "https://api.polygon.io/v3/reference/tickers?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 25988                    "request_id": "e70013d92930de90e089dc8fa098888e",
 25989                    "results": [
 25990                      {
 25991                        "active": true,
 25992                        "cik": "0001090872",
 25993                        "composite_figi": "BBG000BWQYZ5",
 25994                        "currency_name": "usd",
 25995                        "last_updated_utc": "2021-04-25T00:00:00Z",
 25996                        "locale": "us",
 25997                        "market": "stocks",
 25998                        "name": "Agilent Technologies Inc.",
 25999                        "primary_exchange": "XNYS",
 26000                        "share_class_figi": "BBG001SCTQY4",
 26001                        "ticker": "A",
 26002                        "type": "CS"
 26003                      }
 26004                    ],
 26005                    "status": "OK"
 26006                  },
 26007                  "schema": {
 26008                    "properties": {
 26009                      "count": {
 26010                        "description": "The total number of results for this request.",
 26011                        "type": "integer"
 26012                      },
 26013                      "next_url": {
 26014                        "description": "If present, this value can be used to fetch the next page of data.",
 26015                        "type": "string"
 26016                      },
 26017                      "request_id": {
 26018                        "description": "A request id assigned by the server.",
 26019                        "type": "string"
 26020                      },
 26021                      "results": {
 26022                        "description": "An array of tickers that match your query.\n\nNote: Although you can query by CUSIP, due to legal reasons we do not return the CUSIP in the response.",
 26023                        "items": {
 26024                          "properties": {
 26025                            "active": {
 26026                              "description": "Whether or not the asset is actively traded. False means the asset has been delisted.",
 26027                              "type": "boolean"
 26028                            },
 26029                            "cik": {
 26030                              "description": "The CIK number for this ticker. Find more information [here](https://en.wikipedia.org/wiki/Central_Index_Key).",
 26031                              "type": "string"
 26032                            },
 26033                            "composite_figi": {
 26034                              "description": "The composite OpenFIGI number for this ticker. Find more information [here](https://www.openfigi.com/about/figi)",
 26035                              "type": "string"
 26036                            },
 26037                            "currency_name": {
 26038                              "description": "The name of the currency that this asset is traded with.",
 26039                              "type": "string"
 26040                            },
 26041                            "delisted_utc": {
 26042                              "description": "The last date that the asset was traded.",
 26043                              "format": "date-time",
 26044                              "type": "string"
 26045                            },
 26046                            "last_updated_utc": {
 26047                              "description": "The information is accurate up to this time.",
 26048                              "format": "date-time",
 26049                              "type": "string"
 26050                            },
 26051                            "locale": {
 26052                              "description": "The locale of the asset.",
 26053                              "enum": [
 26054                                "us",
 26055                                "global"
 26056                              ],
 26057                              "type": "string"
 26058                            },
 26059                            "market": {
 26060                              "description": "The market type of the asset.",
 26061                              "enum": [
 26062                                "stocks",
 26063                                "crypto",
 26064                                "fx",
 26065                                "otc",
 26066                                "indices"
 26067                              ],
 26068                              "type": "string"
 26069                            },
 26070                            "name": {
 26071                              "description": "The name of the asset. For stocks/equities this will be the companies registered name. For crypto/fx this will be the name of the currency or coin pair.",
 26072                              "type": "string"
 26073                            },
 26074                            "primary_exchange": {
 26075                              "description": "The ISO code of the primary listing exchange for this asset.",
 26076                              "type": "string"
 26077                            },
 26078                            "share_class_figi": {
 26079                              "description": "The share Class OpenFIGI number for this ticker. Find more information [here](https://www.openfigi.com/about/figi)",
 26080                              "type": "string"
 26081                            },
 26082                            "ticker": {
 26083                              "description": "The exchange symbol that this item is traded under.",
 26084                              "type": "string"
 26085                            },
 26086                            "type": {
 26087                              "description": "The type of the asset. Find the types that we support via our [Ticker Types API](https://polygon.io/docs/stocks/get_v3_reference_tickers_types).",
 26088                              "type": "string"
 26089                            }
 26090                          },
 26091                          "required": [
 26092                            "ticker",
 26093                            "name",
 26094                            "market",
 26095                            "locale"
 26096                          ],
 26097                          "type": "object",
 26098                          "x-polygon-go-type": {
 26099                            "name": "ReferenceTicker",
 26100                            "path": "github.com/polygon-io/go-lib-models/v2/globals"
 26101                          }
 26102                        },
 26103                        "type": "array"
 26104                      },
 26105                      "status": {
 26106                        "description": "The status of this request's response.",
 26107                        "type": "string"
 26108                      }
 26109                    },
 26110                    "type": "object"
 26111                  }
 26112                },
 26113                "text/csv": {
 26114                  "example": "ticker,name,market,locale,primary_exchange,type,active,currency_name,cik,composite_figi,share_class_figi,last_updated_utc\nA,Agilent Technologies Inc.,stocks,us,XNYS,CS,true,usd,0001090872,BBG000BWQYZ5,BBG001SCTQY4,2021-04-25T00:00:00Z\n",
 26115                  "schema": {
 26116                    "type": "string"
 26117                  }
 26118                }
 26119              },
 26120              "description": "Reference Tickers."
 26121            },
 26122            "401": {
 26123              "description": "Unauthorized - Check our API Key and account status"
 26124            }
 26125          },
 26126          "summary": "Tickers",
 26127          "tags": [
 26128            "reference:tickers:list"
 26129          ],
 26130          "x-polygon-entitlement-data-type": {
 26131            "description": "Reference data",
 26132            "name": "reference"
 26133          },
 26134          "x-polygon-paginate": {
 26135            "limit": {
 26136              "default": 100,
 26137              "max": 1000
 26138            },
 26139            "sort": {
 26140              "default": "ticker",
 26141              "enum": [
 26142                "ticker",
 26143                "name",
 26144                "market",
 26145                "locale",
 26146                "primary_exchange",
 26147                "type",
 26148                "currency_symbol",
 26149                "currency_name",
 26150                "base_currency_symbol",
 26151                "base_currency_name",
 26152                "cik",
 26153                "composite_figi",
 26154                "share_class_figi",
 26155                "last_updated_utc",
 26156                "delisted_utc"
 26157              ]
 26158            }
 26159          }
 26160        }
 26161      },
 26162      "/v3/reference/tickers/types": {
 26163        "get": {
 26164          "description": "List all ticker types that Polygon.io has.",
 26165          "operationId": "ListTickerTypes",
 26166          "parameters": [
 26167            {
 26168              "description": "Filter by asset class.",
 26169              "in": "query",
 26170              "name": "asset_class",
 26171              "schema": {
 26172                "description": "An identifier for a group of similar financial instruments.",
 26173                "enum": [
 26174                  "stocks",
 26175                  "options",
 26176                  "crypto",
 26177                  "fx",
 26178                  "indices"
 26179                ],
 26180                "example": "stocks",
 26181                "type": "string"
 26182              }
 26183            },
 26184            {
 26185              "description": "Filter by locale.",
 26186              "in": "query",
 26187              "name": "locale",
 26188              "schema": {
 26189                "description": "An identifier for a geographical location.",
 26190                "enum": [
 26191                  "us",
 26192                  "global"
 26193                ],
 26194                "example": "us",
 26195                "type": "string"
 26196              }
 26197            }
 26198          ],
 26199          "responses": {
 26200            "200": {
 26201              "content": {
 26202                "application/json": {
 26203                  "schema": {
 26204                    "properties": {
 26205                      "count": {
 26206                        "description": "The total number of results for this request.",
 26207                        "example": 1,
 26208                        "type": "integer"
 26209                      },
 26210                      "request_id": {
 26211                        "description": "A request ID assigned by the server.",
 26212                        "example": "31d59dda-80e5-4721-8496-d0d32a654afe",
 26213                        "type": "string"
 26214                      },
 26215                      "results": {
 26216                        "items": {
 26217                          "description": "Describes the type of financial instrument represented by a ticker.",
 26218                          "properties": {
 26219                            "asset_class": {
 26220                              "description": "An identifier for a group of similar financial instruments.",
 26221                              "enum": [
 26222                                "stocks",
 26223                                "options",
 26224                                "crypto",
 26225                                "fx",
 26226                                "indices"
 26227                              ],
 26228                              "example": "stocks",
 26229                              "type": "string"
 26230                            },
 26231                            "code": {
 26232                              "description": "A code used by Polygon.io to refer to this ticker type.",
 26233                              "example": "CS",
 26234                              "type": "string"
 26235                            },
 26236                            "description": {
 26237                              "description": "A short description of this ticker type.",
 26238                              "example": "Common Stock",
 26239                              "type": "string"
 26240                            },
 26241                            "locale": {
 26242                              "description": "An identifier for a geographical location.",
 26243                              "enum": [
 26244                                "us",
 26245                                "global"
 26246                              ],
 26247                              "example": "us",
 26248                              "type": "string"
 26249                            }
 26250                          },
 26251                          "required": [
 26252                            "code",
 26253                            "description",
 26254                            "asset_class",
 26255                            "locale"
 26256                          ],
 26257                          "type": "object"
 26258                        },
 26259                        "type": "array"
 26260                      },
 26261                      "status": {
 26262                        "description": "The status of this request's response.",
 26263                        "example": "OK",
 26264                        "type": "string"
 26265                      }
 26266                    },
 26267                    "required": [
 26268                      "status",
 26269                      "request_id"
 26270                    ],
 26271                    "type": "object"
 26272                  }
 26273                },
 26274                "text/csv": {
 26275                  "example": "code,description,asset_class,locale\nCS,Common Stock,stocks,us\nPFD,Preferred Stock,stocks,us\n",
 26276                  "schema": {
 26277                    "type": "string"
 26278                  }
 26279                }
 26280              },
 26281              "description": "OK"
 26282            },
 26283            "400": {
 26284              "content": {
 26285                "application/json": {
 26286                  "schema": {
 26287                    "properties": {
 26288                      "count": {
 26289                        "description": "The total number of results for this request.",
 26290                        "example": 1,
 26291                        "type": "integer"
 26292                      },
 26293                      "request_id": {
 26294                        "description": "A request ID assigned by the server.",
 26295                        "example": "31d59dda-80e5-4721-8496-d0d32a654afe",
 26296                        "type": "string"
 26297                      },
 26298                      "status": {
 26299                        "description": "The status of this request's response.",
 26300                        "example": "OK",
 26301                        "type": "string"
 26302                      }
 26303                    },
 26304                    "required": [
 26305                      "status",
 26306                      "request_id"
 26307                    ],
 26308                    "type": "object"
 26309                  }
 26310                }
 26311              },
 26312              "description": "a query parameter was malformed"
 26313            },
 26314            "default": {
 26315              "content": {
 26316                "application/json": {
 26317                  "schema": {
 26318                    "properties": {
 26319                      "count": {
 26320                        "description": "The total number of results for this request.",
 26321                        "example": 1,
 26322                        "type": "integer"
 26323                      },
 26324                      "request_id": {
 26325                        "description": "A request ID assigned by the server.",
 26326                        "example": "31d59dda-80e5-4721-8496-d0d32a654afe",
 26327                        "type": "string"
 26328                      },
 26329                      "status": {
 26330                        "description": "The status of this request's response.",
 26331                        "example": "OK",
 26332                        "type": "string"
 26333                      }
 26334                    },
 26335                    "required": [
 26336                      "status",
 26337                      "request_id"
 26338                    ],
 26339                    "type": "object"
 26340                  }
 26341                }
 26342              },
 26343              "description": "an unknown error occurred"
 26344            }
 26345          },
 26346          "summary": "Ticker Types",
 26347          "tags": [
 26348            "reference:tickers:types"
 26349          ],
 26350          "x-polygon-entitlement-data-type": {
 26351            "description": "Reference data",
 26352            "name": "reference"
 26353          }
 26354        }
 26355      },
 26356      "/v3/reference/tickers/{ticker}": {
 26357        "get": {
 26358          "description": "Get a single ticker supported by Polygon.io. This response will have detailed information about the ticker and the company behind it.",
 26359          "operationId": "GetTicker",
 26360          "parameters": [
 26361            {
 26362              "description": "The ticker symbol of the asset.",
 26363              "example": "AAPL",
 26364              "in": "path",
 26365              "name": "ticker",
 26366              "required": true,
 26367              "schema": {
 26368                "type": "string"
 26369              }
 26370            },
 26371            {
 26372              "description": "Specify a point in time to get information about the ticker available on that date.\nWhen retrieving information from SEC filings, we compare this date with the period of report date on the SEC filing.\n\nFor example, consider an SEC filing submitted by AAPL on 2019-07-31, with a period of report date ending on 2019-06-29.\nThat means that the filing was submitted on 2019-07-31, but the filing was created based on information from 2019-06-29.\nIf you were to query for AAPL details on 2019-06-29, the ticker details would include information from the SEC filing.\n\nDefaults to the most recent available date.",
 26373              "in": "query",
 26374              "name": "date",
 26375              "schema": {
 26376                "format": "date",
 26377                "type": "string"
 26378              }
 26379            }
 26380          ],
 26381          "responses": {
 26382            "200": {
 26383              "content": {
 26384                "application/json": {
 26385                  "example": {
 26386                    "request_id": "31d59dda-80e5-4721-8496-d0d32a654afe",
 26387                    "results": {
 26388                      "active": true,
 26389                      "address": {
 26390                        "address1": "One Apple Park Way",
 26391                        "city": "Cupertino",
 26392                        "postal_code": "95014",
 26393                        "state": "CA"
 26394                      },
 26395                      "branding": {
 26396                        "icon_url": "https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2022-01-10_icon.png",
 26397                        "logo_url": "https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2022-01-10_logo.svg"
 26398                      },
 26399                      "cik": "0000320193",
 26400                      "composite_figi": "BBG000B9XRY4",
 26401                      "currency_name": "usd",
 26402                      "description": "Apple designs a wide variety of consumer electronic devices, including smartphones (iPhone), tablets (iPad), PCs (Mac), smartwatches (Apple Watch), AirPods, and TV boxes (Apple TV), among others. The iPhone makes up the majority of Apple's total revenue. In addition, Apple offers its customers a variety of services such as Apple Music, iCloud, Apple Care, Apple TV+, Apple Arcade, Apple Card, and Apple Pay, among others. Apple's products run internally developed software and semiconductors, and the firm is well known for its integration of hardware, software and services. Apple's products are distributed online as well as through company-owned stores and third-party retailers. The company generates roughly 40% of its revenue from the Americas, with the remainder earned internationally.",
 26403                      "homepage_url": "https://www.apple.com",
 26404                      "list_date": "1980-12-12",
 26405                      "locale": "us",
 26406                      "market": "stocks",
 26407                      "market_cap": 2771126040150,
 26408                      "name": "Apple Inc.",
 26409                      "phone_number": "(408) 996-1010",
 26410                      "primary_exchange": "XNAS",
 26411                      "round_lot": 100,
 26412                      "share_class_figi": "BBG001S5N8V8",
 26413                      "share_class_shares_outstanding": 16406400000,
 26414                      "sic_code": "3571",
 26415                      "sic_description": "ELECTRONIC COMPUTERS",
 26416                      "ticker": "AAPL",
 26417                      "ticker_root": "AAPL",
 26418                      "total_employees": 154000,
 26419                      "type": "CS",
 26420                      "weighted_shares_outstanding": 16334371000
 26421                    },
 26422                    "status": "OK"
 26423                  },
 26424                  "schema": {
 26425                    "properties": {
 26426                      "count": {
 26427                        "description": "The total number of results for this request.",
 26428                        "type": "integer"
 26429                      },
 26430                      "request_id": {
 26431                        "description": "A request id assigned by the server.",
 26432                        "type": "string"
 26433                      },
 26434                      "results": {
 26435                        "description": "Ticker with details.",
 26436                        "properties": {
 26437                          "active": {
 26438                            "description": "Whether or not the asset is actively traded. False means the asset has been delisted.",
 26439                            "type": "boolean"
 26440                          },
 26441                          "address": {
 26442                            "properties": {
 26443                              "address1": {
 26444                                "description": "The first line of the company's headquarters address.",
 26445                                "type": "string"
 26446                              },
 26447                              "city": {
 26448                                "description": "The city of the company's headquarters address.",
 26449                                "type": "string"
 26450                              },
 26451                              "postal_code": {
 26452                                "description": "The postal code of the company's headquarters address.",
 26453                                "type": "string"
 26454                              },
 26455                              "state": {
 26456                                "description": "The state of the company's headquarters address.",
 26457                                "type": "string"
 26458                              }
 26459                            },
 26460                            "type": "object"
 26461                          },
 26462                          "branding": {
 26463                            "properties": {
 26464                              "icon_url": {
 26465                                "description": "A link to this ticker's company's icon. Icon's are generally smaller, square images that represent the company at a glance.\nNote that you must provide an API key when accessing this URL. See the \"Authentication\" section at the top of this page for more details.",
 26466                                "type": "string"
 26467                              },
 26468                              "logo_url": {
 26469                                "description": "A link to this ticker's company's logo.\nNote that you must provide an API key when accessing this URL. See the \"Authentication\" section at the top of this page for more details.",
 26470                                "type": "string"
 26471                              }
 26472                            },
 26473                            "type": "object"
 26474                          },
 26475                          "cik": {
 26476                            "description": "The CIK number for this ticker. Find more information [here](https://en.wikipedia.org/wiki/Central_Index_Key).",
 26477                            "type": "string"
 26478                          },
 26479                          "composite_figi": {
 26480                            "description": "The composite OpenFIGI number for this ticker. Find more information [here](https://www.openfigi.com/about/figi)",
 26481                            "type": "string"
 26482                          },
 26483                          "currency_name": {
 26484                            "description": "The name of the currency that this asset is traded with.",
 26485                            "type": "string"
 26486                          },
 26487                          "delisted_utc": {
 26488                            "description": "The last date that the asset was traded.",
 26489                            "format": "date-time",
 26490                            "type": "string"
 26491                          },
 26492                          "description": {
 26493                            "description": "A description of the company and what they do/offer.",
 26494                            "type": "string"
 26495                          },
 26496                          "homepage_url": {
 26497                            "description": "The URL of the company's website homepage.",
 26498                            "type": "string"
 26499                          },
 26500                          "list_date": {
 26501                            "description": "The date that the symbol was first publicly listed in the format YYYY-MM-DD.",
 26502                            "type": "string"
 26503                          },
 26504                          "locale": {
 26505                            "description": "The locale of the asset.",
 26506                            "enum": [
 26507                              "us",
 26508                              "global"
 26509                            ],
 26510                            "type": "string"
 26511                          },
 26512                          "market": {
 26513                            "description": "The market type of the asset.",
 26514                            "enum": [
 26515                              "stocks",
 26516                              "crypto",
 26517                              "fx",
 26518                              "otc",
 26519                              "indices"
 26520                            ],
 26521                            "type": "string"
 26522                          },
 26523                          "market_cap": {
 26524                            "description": "The most recent close price of the ticker multiplied by weighted outstanding shares.",
 26525                            "format": "double",
 26526                            "type": "number"
 26527                          },
 26528                          "name": {
 26529                            "description": "The name of the asset. For stocks/equities this will be the companies registered name. For crypto/fx this will be the name of the currency or coin pair.",
 26530                            "type": "string"
 26531                          },
 26532                          "phone_number": {
 26533                            "description": "The phone number for the company behind this ticker.",
 26534                            "type": "string"
 26535                          },
 26536                          "primary_exchange": {
 26537                            "description": "The ISO code of the primary listing exchange for this asset.",
 26538                            "type": "string"
 26539                          },
 26540                          "round_lot": {
 26541                            "description": "Round lot size of this security.",
 26542                            "format": "double",
 26543                            "type": "number"
 26544                          },
 26545                          "share_class_figi": {
 26546                            "description": "The share Class OpenFIGI number for this ticker. Find more information [here](https://www.openfigi.com/about/figi)",
 26547                            "type": "string"
 26548                          },
 26549                          "share_class_shares_outstanding": {
 26550                            "description": "The recorded number of outstanding shares for this particular share class.",
 26551                            "format": "double",
 26552                            "type": "number"
 26553                          },
 26554                          "sic_code": {
 26555                            "description": "The standard industrial classification code for this ticker.  For a list of SIC Codes, see the SEC's \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://www.sec.gov/info/edgar/siccodes.htm\"\u003eSIC Code List\u003c/a\u003e.",
 26556                            "type": "string"
 26557                          },
 26558                          "sic_description": {
 26559                            "description": "A description of this ticker's SIC code.",
 26560                            "type": "string"
 26561                          },
 26562                          "ticker": {
 26563                            "description": "The exchange symbol that this item is traded under.",
 26564                            "type": "string"
 26565                          },
 26566                          "ticker_root": {
 26567                            "description": "The root of a specified ticker. For example, the root of BRK.A is BRK.",
 26568                            "type": "string"
 26569                          },
 26570                          "ticker_suffix": {
 26571                            "description": "The suffix of a specified ticker. For example, the suffix of BRK.A is A.",
 26572                            "type": "string"
 26573                          },
 26574                          "total_employees": {
 26575                            "description": "The approximate number of employees for the company.",
 26576                            "type": "number"
 26577                          },
 26578                          "type": {
 26579                            "description": "The type of the asset. Find the types that we support via our [Ticker Types API](https://polygon.io/docs/stocks/get_v3_reference_tickers_types).",
 26580                            "type": "string"
 26581                          },
 26582                          "weighted_shares_outstanding": {
 26583                            "description": "The shares outstanding calculated assuming all shares of other share classes are converted to this share class.",
 26584                            "format": "double",
 26585                            "type": "number"
 26586                          }
 26587                        },
 26588                        "required": [
 26589                          "ticker",
 26590                          "name",
 26591                          "market",
 26592                          "locale",
 26593                          "active",
 26594                          "currency_name"
 26595                        ],
 26596                        "type": "object",
 26597                        "x-polygon-go-type": {
 26598                          "name": "ReferenceTicker",
 26599                          "path": "github.com/polygon-io/go-lib-models/v2/globals"
 26600                        }
 26601                      },
 26602                      "status": {
 26603                        "description": "The status of this request's response.",
 26604                        "type": "string"
 26605                      }
 26606                    },
 26607                    "type": "object"
 26608                  }
 26609                },
 26610                "text/csv": {
 26611                  "example": "ticker,name,market,locale,primary_exchange,type,active,currency_name,cik,composite_figi,share_class_figi,share_class_shares_outstanding,weighted_shares_outstanding,round_lot,market_cap,phone_number,address1,city,state,postal_code,sic_code,sic_description,ticker_root,total_employees,list_date,homepage_url,description,branding/logo_url,branding/icon_url\nAAPL,Apple Inc.,stocks,us,XNAS,CS,true,usd,0000320193,BBG000B9XRY4,BBG001S5N8V8,16406400000,16334371000,100,2771126040150,(408) 996-1010,One Apple Park Way,Cupertino,CA,95014,3571,ELECTRONIC COMPUTERS,AAPL,154000,1980-12-12,https://www.apple.com,\"Apple designs a wide variety of consumer electronic devices, including smartphones (iPhone), tablets (iPad), PCs (Mac), smartwatches (Apple Watch), AirPods, and TV boxes (Apple TV), among others. The iPhone makes up the majority of Apple's total revenue. In addition, Apple offers its customers a variety of services such as Apple Music, iCloud, Apple Care, Apple TV+, Apple Arcade, Apple Card, and Apple Pay, among others. Apple's products run internally developed software and semiconductors, and the firm is well known for its integration of hardware, software and services. Apple's products are distributed online as well as through company-owned stores and third-party retailers. The company generates roughly 40% of its revenue from the Americas, with the remainder earned internationally.\",https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2022-01-10_logo.svg,https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2022-01-10_icon.png\n",
 26612                  "schema": {
 26613                    "type": "string"
 26614                  }
 26615                }
 26616              },
 26617              "description": "Reference Tickers."
 26618            },
 26619            "401": {
 26620              "description": "Unauthorized - Check our API Key and account status"
 26621            }
 26622          },
 26623          "summary": "Ticker Details v3",
 26624          "tags": [
 26625            "reference:tickers:get"
 26626          ],
 26627          "x-polygon-entitlement-data-type": {
 26628            "description": "Reference data",
 26629            "name": "reference"
 26630          }
 26631        }
 26632      },
 26633      "/v3/snapshot": {
 26634        "get": {
 26635          "description": "Get snapshots for assets of all types",
 26636          "operationId": "Snapshots",
 26637          "parameters": [
 26638            {
 26639              "in": "query",
 26640              "name": "ticker",
 26641              "schema": {
 26642                "type": "string"
 26643              },
 26644              "x-polygon-filter-field": {
 26645                "anyOf": {
 26646                  "description": "Comma separated list of tickers, up to a maximum of 250. If no tickers are passed then all results will be returned in a paginated manner.\n\nWarning: The maximum number of characters allowed in a URL are subject to your technology stack.\n",
 26647                  "enabled": true,
 26648                  "example": "NCLH,O:SPY250321C00380000,C:EURUSD,X:BTCUSD,I:SPX"
 26649                },
 26650                "range": true,
 26651                "type": "string"
 26652              }
 26653            },
 26654            {
 26655              "description": "Query by the type of asset.",
 26656              "in": "query",
 26657              "name": "type",
 26658              "schema": {
 26659                "enum": [
 26660                  "stocks",
 26661                  "options",
 26662                  "crypto",
 26663                  "fx",
 26664                  "indices"
 26665                ],
 26666                "type": "string"
 26667              }
 26668            },
 26669            {
 26670              "description": "Range by ticker.",
 26671              "in": "query",
 26672              "name": "ticker.gte",
 26673              "schema": {
 26674                "type": "string"
 26675              }
 26676            },
 26677            {
 26678              "description": "Range by ticker.",
 26679              "in": "query",
 26680              "name": "ticker.gt",
 26681              "schema": {
 26682                "type": "string"
 26683              }
 26684            },
 26685            {
 26686              "description": "Range by ticker.",
 26687              "in": "query",
 26688              "name": "ticker.lte",
 26689              "schema": {
 26690                "type": "string"
 26691              }
 26692            },
 26693            {
 26694              "description": "Range by ticker.",
 26695              "in": "query",
 26696              "name": "ticker.lt",
 26697              "schema": {
 26698                "type": "string"
 26699              }
 26700            },
 26701            {
 26702              "description": "Comma separated list of tickers, up to a maximum of 250. If no tickers are passed then all results will be returned in a paginated manner.\n\nWarning: The maximum number of characters allowed in a URL are subject to your technology stack.\n",
 26703              "example": "NCLH,O:SPY250321C00380000,C:EURUSD,X:BTCUSD,I:SPX",
 26704              "in": "query",
 26705              "name": "ticker.any_of",
 26706              "schema": {
 26707                "type": "string"
 26708              }
 26709            },
 26710            {
 26711              "description": "Order results based on the `sort` field.",
 26712              "in": "query",
 26713              "name": "order",
 26714              "schema": {
 26715                "enum": [
 26716                  "asc",
 26717                  "desc"
 26718                ],
 26719                "example": "asc",
 26720                "type": "string"
 26721              }
 26722            },
 26723            {
 26724              "description": "Limit the number of results returned, default is 10 and max is 250.",
 26725              "in": "query",
 26726              "name": "limit",
 26727              "schema": {
 26728                "default": 10,
 26729                "example": 10,
 26730                "maximum": 250,
 26731                "minimum": 1,
 26732                "type": "integer"
 26733              }
 26734            },
 26735            {
 26736              "description": "Sort field used for ordering.",
 26737              "in": "query",
 26738              "name": "sort",
 26739              "schema": {
 26740                "default": "ticker",
 26741                "enum": [
 26742                  "ticker"
 26743                ],
 26744                "example": "ticker",
 26745                "type": "string"
 26746              }
 26747            }
 26748          ],
 26749          "responses": {
 26750            "200": {
 26751              "content": {
 26752                "application/json": {
 26753                  "example": {
 26754                    "request_id": "abc123",
 26755                    "results": [
 26756                      {
 26757                        "break_even_price": 171.075,
 26758                        "details": {
 26759                          "contract_type": "call",
 26760                          "exercise_style": "american",
 26761                          "expiration_date": "2022-10-14",
 26762                          "shares_per_contract": 100,
 26763                          "strike_price": 5,
 26764                          "underlying_ticker": "NCLH"
 26765                        },
 26766                        "fmv": 0.05,
 26767                        "greeks": {
 26768                          "delta": 0.5520187372272933,
 26769                          "gamma": 0.00706756515659829,
 26770                          "theta": -0.018532772783847958,
 26771                          "vega": 0.7274811132998142
 26772                        },
 26773                        "implied_volatility": 0.3048997097864957,
 26774                        "last_quote": {
 26775                          "ask": 21.25,
 26776                          "ask_exchange": 12,
 26777                          "ask_size": 110,
 26778                          "bid": 20.9,
 26779                          "bid_exchange": 10,
 26780                          "bid_size": 172,
 26781                          "last_updated": 1636573458756383500,
 26782                          "midpoint": 21.075,
 26783                          "timeframe": "REAL-TIME"
 26784                        },
 26785                        "last_trade": {
 26786                          "conditions": [
 26787                            209
 26788                          ],
 26789                          "exchange": 316,
 26790                          "price": 0.05,
 26791                          "sip_timestamp": 1675280958783136800,
 26792                          "size": 2,
 26793                          "timeframe": "REAL-TIME"
 26794                        },
 26795                        "market_status": "closed",
 26796                        "name": "NCLH $5 Call",
 26797                        "open_interest": 8921,
 26798                        "session": {
 26799                          "change": -0.05,
 26800                          "change_percent": -1.07,
 26801                          "close": 6.65,
 26802                          "early_trading_change": -0.01,
 26803                          "early_trading_change_percent": -0.03,
 26804                          "high": 7.01,
 26805                          "late_trading_change": -0.4,
 26806                          "late_trading_change_percent": -0.02,
 26807                          "low": 5.42,
 26808                          "open": 6.7,
 26809                          "previous_close": 6.71,
 26810                          "volume": 67
 26811                        },
 26812                        "ticker": "O:NCLH221014C00005000",
 26813                        "type": "options",
 26814                        "underlying_asset": {
 26815                          "change_to_break_even": 23.123999999999995,
 26816                          "last_updated": 1636573459862384600,
 26817                          "price": 147.951,
 26818                          "ticker": "AAPL",
 26819                          "timeframe": "REAL-TIME"
 26820                        }
 26821                      },
 26822                      {
 26823                        "fmv": 0.05,
 26824                        "last_quote": {
 26825                          "ask": 21.25,
 26826                          "ask_exchange": 300,
 26827                          "ask_size": 110,
 26828                          "bid": 20.9,
 26829                          "bid_exchange": 323,
 26830                          "bid_size": 172,
 26831                          "last_updated": 1636573458756383500,
 26832                          "timeframe": "REAL-TIME"
 26833                        },
 26834                        "last_trade": {
 26835                          "conditions": [
 26836                            209
 26837                          ],
 26838                          "exchange": 316,
 26839                          "id": "4064",
 26840                          "last_updated": 1675280958783136800,
 26841                          "price": 0.05,
 26842                          "size": 2,
 26843                          "timeframe": "REAL-TIME"
 26844                        },
 26845                        "market_status": "closed",
 26846                        "name": "Apple Inc.",
 26847                        "session": {
 26848                          "change": -1.05,
 26849                          "change_percent": -4.67,
 26850                          "close": 21.4,
 26851                          "early_trading_change": -0.39,
 26852                          "early_trading_change_percent": -0.07,
 26853                          "high": 22.49,
 26854                          "late_trading_change": 1.2,
 26855                          "late_trading_change_percent": 3.92,
 26856                          "low": 21.35,
 26857                          "open": 22.49,
 26858                          "previous_close": 22.45,
 26859                          "volume": 37
 26860                        },
 26861                        "ticker": "AAPL",
 26862                        "type": "stocks"
 26863                      },
 26864                      {
 26865                        "error": "NOT_FOUND",
 26866                        "message": "Ticker not found.",
 26867                        "ticker": "TSLAAPL"
 26868                      }
 26869                    ],
 26870                    "status": "OK"
 26871                  },
 26872                  "schema": {
 26873                    "properties": {
 26874                      "next_url": {
 26875                        "description": "If present, this value can be used to fetch the next page of data.",
 26876                        "type": "string"
 26877                      },
 26878                      "request_id": {
 26879                        "type": "string"
 26880                      },
 26881                      "results": {
 26882                        "items": {
 26883                          "properties": {
 26884                            "break_even_price": {
 26885                              "description": "The price of the underlying asset for the contract to break even. For a call, this value is (strike price + premium paid). For a put, this value is (strike price - premium paid).",
 26886                              "format": "double",
 26887                              "type": "number"
 26888                            },
 26889                            "details": {
 26890                              "description": "The details for this contract.",
 26891                              "properties": {
 26892                                "contract_type": {
 26893                                  "description": "The type of contract. Can be \"put\", \"call\", or in some rare cases, \"other\".",
 26894                                  "enum": [
 26895                                    "put",
 26896                                    "call",
 26897                                    "other"
 26898                                  ],
 26899                                  "type": "string"
 26900                                },
 26901                                "exercise_style": {
 26902                                  "description": "The exercise style of this contract. See \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/Option_style\"\u003ethis link\u003c/a\u003e for more details on exercise styles.",
 26903                                  "enum": [
 26904                                    "american",
 26905                                    "european",
 26906                                    "bermudan"
 26907                                  ],
 26908                                  "type": "string"
 26909                                },
 26910                                "expiration_date": {
 26911                                  "description": "The contract's expiration date in YYYY-MM-DD format.",
 26912                                  "format": "date",
 26913                                  "type": "string",
 26914                                  "x-polygon-go-type": {
 26915                                    "name": "IDaysPolygonDateString",
 26916                                    "path": "github.com/polygon-io/ptime"
 26917                                  }
 26918                                },
 26919                                "shares_per_contract": {
 26920                                  "description": "The number of shares per contract for this contract.",
 26921                                  "type": "number"
 26922                                },
 26923                                "strike_price": {
 26924                                  "description": "The strike price of the option contract.",
 26925                                  "format": "double",
 26926                                  "type": "number"
 26927                                }
 26928                              },
 26929                              "required": [
 26930                                "contract_type",
 26931                                "exercise_style",
 26932                                "expiration_date",
 26933                                "shares_per_contract",
 26934                                "strike_price"
 26935                              ],
 26936                              "type": "object"
 26937                            },
 26938                            "error": {
 26939                              "description": "The error while looking for this ticker.",
 26940                              "type": "string"
 26941                            },
 26942                            "fmv": {
 26943                              "description": "Fair market value is only available on Business plans. It's it our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security.\nFor more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 26944                              "type": "number"
 26945                            },
 26946                            "greeks": {
 26947                              "description": "The greeks for this contract.\nThere are certain circumstances where greeks will not be returned, such as options contracts that are deep in the money.\nSee this \u003ca href=\"https://polygon.io/blog/greeks-and-implied-volatility/#testing\"\nalt=\"link\"\u003earticle\u003c/a\u003e for more information.",
 26948                              "properties": {
 26949                                "delta": {
 26950                                  "description": "The change in the option's price per $0.01 increment in the price of the underlying asset.",
 26951                                  "format": "double",
 26952                                  "type": "number"
 26953                                },
 26954                                "gamma": {
 26955                                  "description": "The change in delta per $0.01 change in the price of the underlying asset.",
 26956                                  "format": "double",
 26957                                  "type": "number"
 26958                                },
 26959                                "theta": {
 26960                                  "description": "The change in the option's price per day.",
 26961                                  "format": "double",
 26962                                  "type": "number"
 26963                                },
 26964                                "vega": {
 26965                                  "description": "The change in the option's price per 1% increment in volatility.",
 26966                                  "format": "double",
 26967                                  "type": "number"
 26968                                }
 26969                              },
 26970                              "required": [
 26971                                "delta",
 26972                                "gamma",
 26973                                "theta",
 26974                                "vega"
 26975                              ],
 26976                              "type": "object",
 26977                              "x-polygon-go-type": {
 26978                                "name": "Greeks"
 26979                              }
 26980                            },
 26981                            "implied_volatility": {
 26982                              "description": "The market's forecast for the volatility of the underlying asset, based on this option's current price.",
 26983                              "format": "double",
 26984                              "type": "number"
 26985                            },
 26986                            "last_quote": {
 26987                              "description": "The most recent quote for this contract. This is only returned if your current plan includes quotes.",
 26988                              "properties": {
 26989                                "ask": {
 26990                                  "description": "The ask price.",
 26991                                  "format": "double",
 26992                                  "type": "number"
 26993                                },
 26994                                "ask_exchange": {
 26995                                  "description": "The ask side exchange ID. See \u003ca href=\"https://polygon.io/docs/options/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 26996                                  "type": "integer"
 26997                                },
 26998                                "ask_size": {
 26999                                  "description": "The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price.",
 27000                                  "format": "double",
 27001                                  "type": "number"
 27002                                },
 27003                                "bid": {
 27004                                  "description": "The bid price.",
 27005                                  "format": "double",
 27006                                  "type": "number"
 27007                                },
 27008                                "bid_exchange": {
 27009                                  "description": "The bid side exchange ID. See \u003ca href=\"https://polygon.io/docs/options/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 27010                                  "type": "integer"
 27011                                },
 27012                                "bid_size": {
 27013                                  "description": "The bid size. This represents the number of round lot orders at the given bid price. The normal round lot size is 100 shares. A bid size of 2 means there are 200 shares for purchase at the given bid price.",
 27014                                  "format": "double",
 27015                                  "type": "number"
 27016                                },
 27017                                "last_updated": {
 27018                                  "description": "The nanosecond timestamp of when this information was updated.",
 27019                                  "format": "int64",
 27020                                  "type": "integer",
 27021                                  "x-polygon-go-type": {
 27022                                    "name": "INanoseconds",
 27023                                    "path": "github.com/polygon-io/ptime"
 27024                                  }
 27025                                },
 27026                                "midpoint": {
 27027                                  "description": "The average of the bid and ask price.",
 27028                                  "format": "double",
 27029                                  "type": "number"
 27030                                },
 27031                                "timeframe": {
 27032                                  "description": "The time relevance of the data.",
 27033                                  "enum": [
 27034                                    "DELAYED",
 27035                                    "REAL-TIME"
 27036                                  ],
 27037                                  "type": "string"
 27038                                }
 27039                              },
 27040                              "required": [
 27041                                "last_updated",
 27042                                "timeframe",
 27043                                "ask",
 27044                                "bid",
 27045                                "last_updated",
 27046                                "timeframe"
 27047                              ],
 27048                              "type": "object",
 27049                              "x-polygon-go-type": {
 27050                                "name": "SnapshotLastQuote"
 27051                              }
 27052                            },
 27053                            "last_trade": {
 27054                              "description": "The most recent quote for this contract. This is only returned if your current plan includes trades.",
 27055                              "properties": {
 27056                                "conditions": {
 27057                                  "description": "A list of condition codes.",
 27058                                  "items": {
 27059                                    "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/stocks/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 27060                                    "format": "int32",
 27061                                    "type": "integer"
 27062                                  },
 27063                                  "type": "array"
 27064                                },
 27065                                "exchange": {
 27066                                  "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 27067                                  "type": "integer"
 27068                                },
 27069                                "id": {
 27070                                  "description": "The Trade ID which uniquely identifies a trade. These are unique per combination of ticker, exchange, and TRF. For example: A trade for AAPL executed on NYSE and a trade for AAPL executed on NASDAQ could potentially have the same Trade ID.",
 27071                                  "type": "string"
 27072                                },
 27073                                "last_updated": {
 27074                                  "description": "The nanosecond timestamp of when this information was updated.",
 27075                                  "format": "int64",
 27076                                  "type": "integer",
 27077                                  "x-polygon-go-type": {
 27078                                    "name": "INanoseconds",
 27079                                    "path": "github.com/polygon-io/ptime"
 27080                                  }
 27081                                },
 27082                                "participant_timestamp": {
 27083                                  "description": "The nanosecond Exchange Unix Timestamp. This is the timestamp of when the trade was generated at the exchange.",
 27084                                  "format": "int64",
 27085                                  "type": "integer",
 27086                                  "x-polygon-go-type": {
 27087                                    "name": "INanoseconds",
 27088                                    "path": "github.com/polygon-io/ptime"
 27089                                  }
 27090                                },
 27091                                "price": {
 27092                                  "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.",
 27093                                  "format": "double",
 27094                                  "type": "number"
 27095                                },
 27096                                "sip_timestamp": {
 27097                                  "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this trade from the exchange which produced it.",
 27098                                  "format": "int64",
 27099                                  "type": "integer"
 27100                                },
 27101                                "size": {
 27102                                  "description": "The size of a trade (also known as volume).",
 27103                                  "format": "int32",
 27104                                  "type": "integer"
 27105                                },
 27106                                "timeframe": {
 27107                                  "description": "The time relevance of the data.",
 27108                                  "enum": [
 27109                                    "DELAYED",
 27110                                    "REAL-TIME"
 27111                                  ],
 27112                                  "type": "string"
 27113                                }
 27114                              },
 27115                              "required": [
 27116                                "last_updated",
 27117                                "timeframe",
 27118                                "participant_timestamp",
 27119                                "price",
 27120                                "size"
 27121                              ],
 27122                              "type": "object",
 27123                              "x-polygon-go-type": {
 27124                                "name": "SnapshotLastTrade"
 27125                              }
 27126                            },
 27127                            "market_status": {
 27128                              "description": "The market status for the market that trades this ticker. Possible values for stocks, options, crypto, and forex snapshots are open, closed, early_trading, or late_trading.\nPossible values for indices snapshots are regular_trading, closed, early_trading, and late_trading.",
 27129                              "type": "string"
 27130                            },
 27131                            "message": {
 27132                              "description": "The error message while looking for this ticker.",
 27133                              "type": "string"
 27134                            },
 27135                            "name": {
 27136                              "description": "The name of this contract.",
 27137                              "type": "string"
 27138                            },
 27139                            "open_interest": {
 27140                              "description": "The quantity of this contract held at the end of the last trading day.",
 27141                              "format": "double",
 27142                              "type": "number"
 27143                            },
 27144                            "session": {
 27145                              "properties": {
 27146                                "change": {
 27147                                  "description": "The value of the price change for the asset from the previous trading day.",
 27148                                  "format": "double",
 27149                                  "type": "number"
 27150                                },
 27151                                "change_percent": {
 27152                                  "description": "The percent of the price change for the asset from the previous trading day.",
 27153                                  "format": "double",
 27154                                  "type": "number"
 27155                                },
 27156                                "close": {
 27157                                  "description": "The closing price of the asset for the day.",
 27158                                  "format": "double",
 27159                                  "type": "number"
 27160                                },
 27161                                "early_trading_change": {
 27162                                  "description": "Today's early trading change amount, difference between price and previous close if in early trading hours, otherwise difference between last price during early trading and previous close.",
 27163                                  "format": "double",
 27164                                  "type": "number"
 27165                                },
 27166                                "early_trading_change_percent": {
 27167                                  "description": "Today's early trading change as a percentage.",
 27168                                  "format": "double",
 27169                                  "type": "number"
 27170                                },
 27171                                "high": {
 27172                                  "description": "The highest price of the asset for the day.",
 27173                                  "format": "double",
 27174                                  "type": "number"
 27175                                },
 27176                                "late_trading_change": {
 27177                                  "description": "Today's late trading change amount, difference between price and today's close if in late trading hours, otherwise difference between last price during late trading and today's close.",
 27178                                  "format": "double",
 27179                                  "type": "number"
 27180                                },
 27181                                "late_trading_change_percent": {
 27182                                  "description": "Today's late trading change as a percentage.",
 27183                                  "format": "double",
 27184                                  "type": "number"
 27185                                },
 27186                                "low": {
 27187                                  "description": "The lowest price of the asset for the day.",
 27188                                  "format": "double",
 27189                                  "type": "number"
 27190                                },
 27191                                "open": {
 27192                                  "description": "The open price of the asset for the day.",
 27193                                  "format": "double",
 27194                                  "type": "number"
 27195                                },
 27196                                "previous_close": {
 27197                                  "description": "The closing price of the asset for the previous trading day.",
 27198                                  "format": "double",
 27199                                  "type": "number"
 27200                                },
 27201                                "price": {
 27202                                  "description": "The price of the most recent trade or bid price for this asset.",
 27203                                  "format": "double",
 27204                                  "type": "number"
 27205                                },
 27206                                "volume": {
 27207                                  "description": "The trading volume for the asset for the day.",
 27208                                  "format": "double",
 27209                                  "type": "number"
 27210                                }
 27211                              },
 27212                              "required": [
 27213                                "change",
 27214                                "change_percent",
 27215                                "close",
 27216                                "high",
 27217                                "low",
 27218                                "open",
 27219                                "previous_close"
 27220                              ],
 27221                              "type": "object",
 27222                              "x-polygon-go-type": {
 27223                                "name": "Session"
 27224                              }
 27225                            },
 27226                            "ticker": {
 27227                              "description": "The ticker symbol for the asset.",
 27228                              "type": "string"
 27229                            },
 27230                            "type": {
 27231                              "description": "The asset class for this ticker.",
 27232                              "enum": [
 27233                                "stocks",
 27234                                "options",
 27235                                "fx",
 27236                                "crypto",
 27237                                "indices"
 27238                              ],
 27239                              "type": "string"
 27240                            },
 27241                            "underlying_asset": {
 27242                              "description": "Information on the underlying stock for this options contract.  The market data returned depends on your current stocks plan.",
 27243                              "properties": {
 27244                                "change_to_break_even": {
 27245                                  "description": "The change in price for the contract to break even.",
 27246                                  "format": "double",
 27247                                  "type": "number"
 27248                                },
 27249                                "last_updated": {
 27250                                  "description": "The nanosecond timestamp of when this information was updated.",
 27251                                  "format": "int64",
 27252                                  "type": "integer",
 27253                                  "x-polygon-go-type": {
 27254                                    "name": "INanoseconds",
 27255                                    "path": "github.com/polygon-io/ptime"
 27256                                  }
 27257                                },
 27258                                "price": {
 27259                                  "description": "The price of the trade. This is the actual dollar value per whole share of this trade. A trade of 100 shares with a price of $2.00 would be worth a total dollar value of $200.00.",
 27260                                  "format": "double",
 27261                                  "type": "number"
 27262                                },
 27263                                "ticker": {
 27264                                  "description": "The ticker symbol for the contract's underlying asset.",
 27265                                  "type": "string"
 27266                                },
 27267                                "timeframe": {
 27268                                  "description": "The time relevance of the data.",
 27269                                  "enum": [
 27270                                    "DELAYED",
 27271                                    "REAL-TIME"
 27272                                  ],
 27273                                  "type": "string"
 27274                                },
 27275                                "value": {
 27276                                  "description": "The value of the underlying index.",
 27277                                  "format": "double",
 27278                                  "type": "number"
 27279                                }
 27280                              },
 27281                              "required": [
 27282                                "last_updated",
 27283                                "timeframe",
 27284                                "ticker",
 27285                                "change_to_break_even"
 27286                              ],
 27287                              "type": "object",
 27288                              "x-polygon-go-type": {
 27289                                "name": "UnderlyingAsset"
 27290                              }
 27291                            },
 27292                            "value": {
 27293                              "description": "Value of Index.",
 27294                              "type": "number"
 27295                            }
 27296                          },
 27297                          "required": [
 27298                            "ticker"
 27299                          ],
 27300                          "type": "object",
 27301                          "x-polygon-go-type": {
 27302                            "name": "SnapshotResponseModel"
 27303                          }
 27304                        },
 27305                        "type": "array"
 27306                      },
 27307                      "status": {
 27308                        "description": "The status of this request's response.",
 27309                        "type": "string"
 27310                      }
 27311                    },
 27312                    "required": [
 27313                      "status",
 27314                      "request_id"
 27315                    ],
 27316                    "type": "object"
 27317                  }
 27318                }
 27319              },
 27320              "description": "Snapshots for the ticker list"
 27321            }
 27322          },
 27323          "summary": "Universal Snapshot",
 27324          "x-polygon-entitlement-allowed-timeframes": [
 27325            {
 27326              "description": "Real Time Data",
 27327              "name": "realtime"
 27328            },
 27329            {
 27330              "description": "15 minute delayed data",
 27331              "name": "delayed"
 27332            }
 27333          ],
 27334          "x-polygon-entitlement-data-type": {
 27335            "description": "Snapshot data",
 27336            "name": "snapshots"
 27337          },
 27338          "x-polygon-entitlement-market-type": {
 27339            "description": "All asset classes",
 27340            "name": "universal"
 27341          },
 27342          "x-polygon-paginate": {
 27343            "limit": {
 27344              "default": 10,
 27345              "max": 250,
 27346              "min": 1
 27347            },
 27348            "sort": {
 27349              "default": "ticker",
 27350              "enum": [
 27351                "ticker"
 27352              ]
 27353            }
 27354          }
 27355        }
 27356      },
 27357      "/v3/snapshot/indices": {
 27358        "get": {
 27359          "description": "Get a Snapshot of indices data for said tickers",
 27360          "operationId": "IndicesSnapshot",
 27361          "parameters": [
 27362            {
 27363              "description": "Comma separated list of tickers, up to a maximum of 250. If no tickers are passed then all results will be returned in a paginated manner.\n\nWarning: The maximum number of characters allowed in a URL are subject to your technology stack.",
 27364              "example": "I:DJI",
 27365              "in": "query",
 27366              "name": "ticker.any_of",
 27367              "schema": {
 27368                "type": "string"
 27369              }
 27370            },
 27371            {
 27372              "description": "Search a range of tickers lexicographically.",
 27373              "in": "query",
 27374              "name": "ticker",
 27375              "schema": {
 27376                "type": "string"
 27377              },
 27378              "x-polygon-filter-field": {
 27379                "range": true,
 27380                "type": "string"
 27381              }
 27382            },
 27383            {
 27384              "description": "Range by ticker.",
 27385              "in": "query",
 27386              "name": "ticker.gte",
 27387              "schema": {
 27388                "type": "string"
 27389              }
 27390            },
 27391            {
 27392              "description": "Range by ticker.",
 27393              "in": "query",
 27394              "name": "ticker.gt",
 27395              "schema": {
 27396                "type": "string"
 27397              }
 27398            },
 27399            {
 27400              "description": "Range by ticker.",
 27401              "in": "query",
 27402              "name": "ticker.lte",
 27403              "schema": {
 27404                "type": "string"
 27405              }
 27406            },
 27407            {
 27408              "description": "Range by ticker.",
 27409              "in": "query",
 27410              "name": "ticker.lt",
 27411              "schema": {
 27412                "type": "string"
 27413              }
 27414            },
 27415            {
 27416              "description": "Order results based on the `sort` field.",
 27417              "in": "query",
 27418              "name": "order",
 27419              "schema": {
 27420                "enum": [
 27421                  "asc",
 27422                  "desc"
 27423                ],
 27424                "example": "asc",
 27425                "type": "string"
 27426              }
 27427            },
 27428            {
 27429              "description": "Limit the number of results returned, default is 10 and max is 250.",
 27430              "in": "query",
 27431              "name": "limit",
 27432              "schema": {
 27433                "default": 10,
 27434                "example": 10,
 27435                "maximum": 250,
 27436                "minimum": 1,
 27437                "type": "integer"
 27438              }
 27439            },
 27440            {
 27441              "description": "Sort field used for ordering.",
 27442              "in": "query",
 27443              "name": "sort",
 27444              "schema": {
 27445                "default": "ticker",
 27446                "enum": [
 27447                  "ticker"
 27448                ],
 27449                "example": "ticker",
 27450                "type": "string"
 27451              }
 27452            }
 27453          ],
 27454          "responses": {
 27455            "200": {
 27456              "content": {
 27457                "application/json": {
 27458                  "example": {
 27459                    "request_id": "6a7e466379af0a71039d60cc78e72282",
 27460                    "results": [
 27461                      {
 27462                        "last_updated": 1679597116344223500,
 27463                        "market_status": "closed",
 27464                        "name": "Dow Jones Industrial Average",
 27465                        "session": {
 27466                          "change": -50.01,
 27467                          "change_percent": -1.45,
 27468                          "close": 3822.39,
 27469                          "high": 3834.41,
 27470                          "low": 38217.11,
 27471                          "open": 3827.38,
 27472                          "previous_close": 3812.19
 27473                        },
 27474                        "ticker": "I:DJI",
 27475                        "timeframe": "REAL-TIME",
 27476                        "type": "indices",
 27477                        "value": 3822.39
 27478                      },
 27479                      {
 27480                        "error": "NOT_FOUND",
 27481                        "message": "Ticker not found.",
 27482                        "ticker": "APx"
 27483                      },
 27484                      {
 27485                        "error": "NOT_ENTITLED",
 27486                        "message": "Not entitled to this ticker.",
 27487                        "ticker": "APy"
 27488                      }
 27489                    ],
 27490                    "status": "OK"
 27491                  },
 27492                  "schema": {
 27493                    "properties": {
 27494                      "next_url": {
 27495                        "description": "If present, this value can be used to fetch the next page of data.",
 27496                        "type": "string"
 27497                      },
 27498                      "request_id": {
 27499                        "type": "string"
 27500                      },
 27501                      "results": {
 27502                        "items": {
 27503                          "properties": {
 27504                            "error": {
 27505                              "description": "The error while looking for this ticker.",
 27506                              "type": "string"
 27507                            },
 27508                            "last_updated": {
 27509                              "description": "The nanosecond timestamp of when this information was updated.",
 27510                              "format": "int64",
 27511                              "type": "integer",
 27512                              "x-polygon-go-type": {
 27513                                "name": "INanoseconds",
 27514                                "path": "github.com/polygon-io/ptime"
 27515                              }
 27516                            },
 27517                            "market_status": {
 27518                              "description": "The market status for the market that trades this ticker.",
 27519                              "type": "string"
 27520                            },
 27521                            "message": {
 27522                              "description": "The error message while looking for this ticker.",
 27523                              "type": "string"
 27524                            },
 27525                            "name": {
 27526                              "description": "Name of Index.",
 27527                              "type": "string"
 27528                            },
 27529                            "session": {
 27530                              "properties": {
 27531                                "change": {
 27532                                  "description": "The value of the change for the index from the previous trading day.",
 27533                                  "format": "double",
 27534                                  "type": "number"
 27535                                },
 27536                                "change_percent": {
 27537                                  "description": "The percent of the change for the index from the previous trading day.",
 27538                                  "format": "double",
 27539                                  "type": "number"
 27540                                },
 27541                                "close": {
 27542                                  "description": "The closing value for the index of the day.",
 27543                                  "format": "double",
 27544                                  "type": "number"
 27545                                },
 27546                                "high": {
 27547                                  "description": "The highest value for the index of the day.",
 27548                                  "format": "double",
 27549                                  "type": "number"
 27550                                },
 27551                                "low": {
 27552                                  "description": "The lowest value for the index of the day.",
 27553                                  "format": "double",
 27554                                  "type": "number"
 27555                                },
 27556                                "open": {
 27557                                  "description": "The open value for the index of the day.",
 27558                                  "format": "double",
 27559                                  "type": "number"
 27560                                },
 27561                                "previous_close": {
 27562                                  "description": "The closing value for the index of previous trading day.",
 27563                                  "format": "double",
 27564                                  "type": "number"
 27565                                }
 27566                              },
 27567                              "type": "object",
 27568                              "x-polygon-go-type": {
 27569                                "name": "IndicesSession"
 27570                              }
 27571                            },
 27572                            "ticker": {
 27573                              "description": "Ticker of asset queried.",
 27574                              "type": "string"
 27575                            },
 27576                            "timeframe": {
 27577                              "description": "The time relevance of the data.",
 27578                              "enum": [
 27579                                "DELAYED",
 27580                                "REAL-TIME"
 27581                              ],
 27582                              "type": "string"
 27583                            },
 27584                            "type": {
 27585                              "description": "The indices market.",
 27586                              "enum": [
 27587                                "indices"
 27588                              ],
 27589                              "type": "string"
 27590                            },
 27591                            "value": {
 27592                              "description": "Value of Index.",
 27593                              "type": "number"
 27594                            }
 27595                          },
 27596                          "required": [
 27597                            "ticker",
 27598                            "timeframe",
 27599                            "last_updated"
 27600                          ],
 27601                          "type": "object",
 27602                          "x-polygon-go-type": {
 27603                            "name": "IndicesResult"
 27604                          }
 27605                        },
 27606                        "type": "array"
 27607                      },
 27608                      "status": {
 27609                        "description": "The status of this request's response.",
 27610                        "type": "string"
 27611                      }
 27612                    },
 27613                    "required": [
 27614                      "status",
 27615                      "request_id"
 27616                    ],
 27617                    "type": "object"
 27618                  }
 27619                }
 27620              },
 27621              "description": "Snapshots for indices data of the underlying ticker"
 27622            }
 27623          },
 27624          "summary": "Indices Snapshot",
 27625          "tags": [
 27626            "indices:snapshot"
 27627          ],
 27628          "x-polygon-entitlement-allowed-timeframes": [
 27629            {
 27630              "description": "Real Time Data",
 27631              "name": "realtime"
 27632            },
 27633            {
 27634              "description": "15 minute delayed data",
 27635              "name": "delayed"
 27636            }
 27637          ],
 27638          "x-polygon-entitlement-data-type": {
 27639            "description": "Aggregate data",
 27640            "name": "aggregates"
 27641          },
 27642          "x-polygon-entitlement-market-type": {
 27643            "description": "Indices data",
 27644            "name": "indices"
 27645          },
 27646          "x-polygon-paginate": {
 27647            "limit": {
 27648              "default": 10,
 27649              "max": 250
 27650            },
 27651            "sort": {
 27652              "default": "ticker",
 27653              "enum": [
 27654                "ticker"
 27655              ]
 27656            }
 27657          }
 27658        }
 27659      },
 27660      "/v3/snapshot/options/{underlyingAsset}": {
 27661        "get": {
 27662          "description": "Get the snapshot of all options contracts for an underlying ticker.",
 27663          "operationId": "OptionsChain",
 27664          "parameters": [
 27665            {
 27666              "description": "The underlying ticker symbol of the option contract.",
 27667              "example": "EVRI",
 27668              "in": "path",
 27669              "name": "underlyingAsset",
 27670              "required": true,
 27671              "schema": {
 27672                "type": "string"
 27673              }
 27674            },
 27675            {
 27676              "description": "Query by strike price of a contract.",
 27677              "in": "query",
 27678              "name": "strike_price",
 27679              "schema": {
 27680                "type": "number"
 27681              },
 27682              "x-polygon-filter-field": {
 27683                "range": true,
 27684                "type": "number"
 27685              }
 27686            },
 27687            {
 27688              "description": "Query by contract expiration with date format YYYY-MM-DD.",
 27689              "in": "query",
 27690              "name": "expiration_date",
 27691              "schema": {
 27692                "type": "string"
 27693              },
 27694              "x-polygon-filter-field": {
 27695                "range": true
 27696              }
 27697            },
 27698            {
 27699              "description": "Query by the type of contract.",
 27700              "in": "query",
 27701              "name": "contract_type",
 27702              "schema": {
 27703                "enum": [
 27704                  "call",
 27705                  "put"
 27706                ],
 27707                "type": "string"
 27708              }
 27709            },
 27710            {
 27711              "description": "Range by strike_price.",
 27712              "in": "query",
 27713              "name": "strike_price.gte",
 27714              "schema": {
 27715                "type": "number"
 27716              }
 27717            },
 27718            {
 27719              "description": "Range by strike_price.",
 27720              "in": "query",
 27721              "name": "strike_price.gt",
 27722              "schema": {
 27723                "type": "number"
 27724              }
 27725            },
 27726            {
 27727              "description": "Range by strike_price.",
 27728              "in": "query",
 27729              "name": "strike_price.lte",
 27730              "schema": {
 27731                "type": "number"
 27732              }
 27733            },
 27734            {
 27735              "description": "Range by strike_price.",
 27736              "in": "query",
 27737              "name": "strike_price.lt",
 27738              "schema": {
 27739                "type": "number"
 27740              }
 27741            },
 27742            {
 27743              "description": "Range by expiration_date.",
 27744              "in": "query",
 27745              "name": "expiration_date.gte",
 27746              "schema": {
 27747                "type": "string"
 27748              }
 27749            },
 27750            {
 27751              "description": "Range by expiration_date.",
 27752              "in": "query",
 27753              "name": "expiration_date.gt",
 27754              "schema": {
 27755                "type": "string"
 27756              }
 27757            },
 27758            {
 27759              "description": "Range by expiration_date.",
 27760              "in": "query",
 27761              "name": "expiration_date.lte",
 27762              "schema": {
 27763                "type": "string"
 27764              }
 27765            },
 27766            {
 27767              "description": "Range by expiration_date.",
 27768              "in": "query",
 27769              "name": "expiration_date.lt",
 27770              "schema": {
 27771                "type": "string"
 27772              }
 27773            },
 27774            {
 27775              "description": "Order results based on the `sort` field.",
 27776              "in": "query",
 27777              "name": "order",
 27778              "schema": {
 27779                "enum": [
 27780                  "asc",
 27781                  "desc"
 27782                ],
 27783                "example": "asc",
 27784                "type": "string"
 27785              }
 27786            },
 27787            {
 27788              "description": "Limit the number of results returned, default is 10 and max is 250.",
 27789              "in": "query",
 27790              "name": "limit",
 27791              "schema": {
 27792                "default": 10,
 27793                "example": 10,
 27794                "maximum": 250,
 27795                "minimum": 1,
 27796                "type": "integer"
 27797              }
 27798            },
 27799            {
 27800              "description": "Sort field used for ordering.",
 27801              "in": "query",
 27802              "name": "sort",
 27803              "schema": {
 27804                "default": "ticker",
 27805                "enum": [
 27806                  "ticker",
 27807                  "expiration_date",
 27808                  "strike_price"
 27809                ],
 27810                "example": "ticker",
 27811                "type": "string"
 27812              }
 27813            }
 27814          ],
 27815          "responses": {
 27816            "200": {
 27817              "content": {
 27818                "application/json": {
 27819                  "example": {
 27820                    "request_id": "6a7e466379af0a71039d60cc78e72282",
 27821                    "results": [
 27822                      {
 27823                        "break_even_price": 151.2,
 27824                        "day": {
 27825                          "change": 4.5,
 27826                          "change_percent": 6.76,
 27827                          "close": 120.73,
 27828                          "high": 120.81,
 27829                          "last_updated": 1605195918507251700,
 27830                          "low": 118.9,
 27831                          "open": 119.32,
 27832                          "previous_close": 119.12,
 27833                          "volume": 868,
 27834                          "vwap": 119.31
 27835                        },
 27836                        "details": {
 27837                          "contract_type": "call",
 27838                          "exercise_style": "american",
 27839                          "expiration_date": "2022-01-21",
 27840                          "shares_per_contract": 100,
 27841                          "strike_price": 150,
 27842                          "ticker": "O:AAPL211022C000150000"
 27843                        },
 27844                        "fmv": 0.05,
 27845                        "greeks": {
 27846                          "delta": 1,
 27847                          "gamma": 0,
 27848                          "theta": 0.00229,
 27849                          "vega": 0
 27850                        },
 27851                        "implied_volatility": 5,
 27852                        "last_quote": {
 27853                          "ask": 120.3,
 27854                          "ask_size": 4,
 27855                          "bid": 120.28,
 27856                          "bid_size": 8,
 27857                          "last_updated": 1605195918507251700,
 27858                          "midpoint": 120.29
 27859                        },
 27860                        "last_trade": {
 27861                          "conditions": [
 27862                            209
 27863                          ],
 27864                          "exchange": 316,
 27865                          "price": 0.05,
 27866                          "sip_timestamp": 1675280958783136800,
 27867                          "size": 2,
 27868                          "timeframe": "REAL-TIME"
 27869                        },
 27870                        "open_interest": 1543,
 27871                        "underlying_asset": {
 27872                          "change_to_break_even": 4.2,
 27873                          "last_updated": 1605195918507251700,
 27874                          "price": 147,
 27875                          "ticker": "AAPL",
 27876                          "timeframe": "DELAYED"
 27877                        }
 27878                      }
 27879                    ],
 27880                    "status": "OK"
 27881                  },
 27882                  "schema": {
 27883                    "properties": {
 27884                      "next_url": {
 27885                        "description": "If present, this value can be used to fetch the next page of data.",
 27886                        "type": "string"
 27887                      },
 27888                      "request_id": {
 27889                        "type": "string"
 27890                      },
 27891                      "results": {
 27892                        "items": {
 27893                          "properties": {
 27894                            "break_even_price": {
 27895                              "description": "The price of the underlying asset for the contract to break even. For a call, this value is (strike price + premium paid). For a put, this value is (strike price - premium paid).",
 27896                              "format": "double",
 27897                              "type": "number"
 27898                            },
 27899                            "day": {
 27900                              "description": "The most recent daily bar for this contract.",
 27901                              "properties": {
 27902                                "change": {
 27903                                  "description": "The value of the price change for the contract from the previous trading day.",
 27904                                  "format": "double",
 27905                                  "type": "number"
 27906                                },
 27907                                "change_percent": {
 27908                                  "description": "The percent of the price change for the contract from the previous trading day.",
 27909                                  "format": "double",
 27910                                  "type": "number"
 27911                                },
 27912                                "close": {
 27913                                  "description": "The closing price for the contract of the day.",
 27914                                  "format": "double",
 27915                                  "type": "number"
 27916                                },
 27917                                "high": {
 27918                                  "description": "The highest price for the contract of the day.",
 27919                                  "format": "double",
 27920                                  "type": "number"
 27921                                },
 27922                                "last_updated": {
 27923                                  "description": "The nanosecond timestamp of when this information was updated.",
 27924                                  "format": "int64",
 27925                                  "type": "integer",
 27926                                  "x-polygon-go-type": {
 27927                                    "name": "INanoseconds",
 27928                                    "path": "github.com/polygon-io/ptime"
 27929                                  }
 27930                                },
 27931                                "low": {
 27932                                  "description": "The lowest price for the contract of the day.",
 27933                                  "format": "double",
 27934                                  "type": "number"
 27935                                },
 27936                                "open": {
 27937                                  "description": "The open price for the contract of the day.",
 27938                                  "format": "double",
 27939                                  "type": "number"
 27940                                },
 27941                                "previous_close": {
 27942                                  "description": "The closing price for the contract of previous trading day.",
 27943                                  "format": "double",
 27944                                  "type": "number"
 27945                                },
 27946                                "volume": {
 27947                                  "description": "The trading volume for the contract of the day.",
 27948                                  "format": "double",
 27949                                  "type": "number"
 27950                                },
 27951                                "vwap": {
 27952                                  "description": "The trading volume weighted average price for the contract of the day.",
 27953                                  "format": "double",
 27954                                  "type": "number",
 27955                                  "x-polygon-go-id": "VWAP"
 27956                                }
 27957                              },
 27958                              "required": [
 27959                                "last_updated",
 27960                                "open",
 27961                                "high",
 27962                                "low",
 27963                                "close",
 27964                                "previous_close",
 27965                                "volume",
 27966                                "vwap",
 27967                                "change_percent",
 27968                                "change"
 27969                              ],
 27970                              "type": "object",
 27971                              "x-polygon-go-type": {
 27972                                "name": "Day"
 27973                              }
 27974                            },
 27975                            "details": {
 27976                              "description": "The details for this contract.",
 27977                              "properties": {
 27978                                "contract_type": {
 27979                                  "description": "The type of contract. Can be \"put\", \"call\", or in some rare cases, \"other\".",
 27980                                  "enum": [
 27981                                    "put",
 27982                                    "call",
 27983                                    "other"
 27984                                  ],
 27985                                  "type": "string"
 27986                                },
 27987                                "exercise_style": {
 27988                                  "description": "The exercise style of this contract. See \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/Option_style\"\u003ethis link\u003c/a\u003e for more details on exercise styles.",
 27989                                  "enum": [
 27990                                    "american",
 27991                                    "european",
 27992                                    "bermudan"
 27993                                  ],
 27994                                  "type": "string"
 27995                                },
 27996                                "expiration_date": {
 27997                                  "description": "The contract's expiration date in YYYY-MM-DD format.",
 27998                                  "format": "date",
 27999                                  "type": "string",
 28000                                  "x-polygon-go-type": {
 28001                                    "name": "IDaysPolygonDateString",
 28002                                    "path": "github.com/polygon-io/ptime"
 28003                                  }
 28004                                },
 28005                                "shares_per_contract": {
 28006                                  "description": "The number of shares per contract for this contract.",
 28007                                  "type": "number"
 28008                                },
 28009                                "strike_price": {
 28010                                  "description": "The strike price of the option contract.",
 28011                                  "format": "double",
 28012                                  "type": "number"
 28013                                },
 28014                                "ticker": {
 28015                                  "description": "The ticker symbol for the asset.",
 28016                                  "type": "string"
 28017                                }
 28018                              },
 28019                              "required": [
 28020                                "ticker",
 28021                                "contract_type",
 28022                                "exercise_style",
 28023                                "expiration_date",
 28024                                "shares_per_contract",
 28025                                "strike_price"
 28026                              ],
 28027                              "type": "object",
 28028                              "x-polygon-go-type": {
 28029                                "name": "Details"
 28030                              }
 28031                            },
 28032                            "fmv": {
 28033                              "description": "Fair market value is only available on Business plans. It's it our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security.\nFor more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 28034                              "type": "number"
 28035                            },
 28036                            "greeks": {
 28037                              "description": "The greeks for this contract.\nThere are certain circumstances where greeks will not be returned, such as options contracts that are deep in the money.\nSee this \u003ca href=\"https://polygon.io/blog/greeks-and-implied-volatility/#testing\"\nalt=\"link\"\u003earticle\u003c/a\u003e for more information.",
 28038                              "properties": {
 28039                                "delta": {
 28040                                  "description": "The change in the option's price per $0.01 increment in the price of the underlying asset.",
 28041                                  "format": "double",
 28042                                  "type": "number"
 28043                                },
 28044                                "gamma": {
 28045                                  "description": "The change in delta per $0.01 change in the price of the underlying asset.",
 28046                                  "format": "double",
 28047                                  "type": "number"
 28048                                },
 28049                                "theta": {
 28050                                  "description": "The change in the option's price per day.",
 28051                                  "format": "double",
 28052                                  "type": "number"
 28053                                },
 28054                                "vega": {
 28055                                  "description": "The change in the option's price per 1% increment in volatility.",
 28056                                  "format": "double",
 28057                                  "type": "number"
 28058                                }
 28059                              },
 28060                              "required": [
 28061                                "delta",
 28062                                "gamma",
 28063                                "theta",
 28064                                "vega"
 28065                              ],
 28066                              "type": "object",
 28067                              "x-polygon-go-type": {
 28068                                "name": "Greeks"
 28069                              }
 28070                            },
 28071                            "implied_volatility": {
 28072                              "description": "The market's forecast for the volatility of the underlying asset, based on this option's current price.",
 28073                              "format": "double",
 28074                              "type": "number"
 28075                            },
 28076                            "last_quote": {
 28077                              "description": "The most recent quote for this contract. This is only returned if your current plan includes quotes.",
 28078                              "properties": {
 28079                                "ask": {
 28080                                  "description": "The ask price.",
 28081                                  "format": "double",
 28082                                  "type": "number"
 28083                                },
 28084                                "ask_exchange": {
 28085                                  "description": "The ask side exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 28086                                  "format": "int32",
 28087                                  "type": "number"
 28088                                },
 28089                                "ask_size": {
 28090                                  "description": "The ask size.",
 28091                                  "format": "double",
 28092                                  "type": "number"
 28093                                },
 28094                                "bid": {
 28095                                  "description": "The bid price.",
 28096                                  "format": "double",
 28097                                  "type": "number"
 28098                                },
 28099                                "bid_exchange": {
 28100                                  "description": "The bid side exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 28101                                  "format": "int32",
 28102                                  "type": "number"
 28103                                },
 28104                                "bid_size": {
 28105                                  "description": "The bid size.",
 28106                                  "format": "double",
 28107                                  "type": "number"
 28108                                },
 28109                                "last_updated": {
 28110                                  "description": "The nanosecond timestamp of when this information was updated.",
 28111                                  "format": "int64",
 28112                                  "type": "integer",
 28113                                  "x-polygon-go-type": {
 28114                                    "name": "INanoseconds",
 28115                                    "path": "github.com/polygon-io/ptime"
 28116                                  }
 28117                                },
 28118                                "midpoint": {
 28119                                  "description": "The average of the bid and ask price.",
 28120                                  "format": "double",
 28121                                  "type": "number"
 28122                                },
 28123                                "timeframe": {
 28124                                  "description": "The time relevance of the data.",
 28125                                  "enum": [
 28126                                    "DELAYED",
 28127                                    "REAL-TIME"
 28128                                  ],
 28129                                  "type": "string"
 28130                                }
 28131                              },
 28132                              "required": [
 28133                                "last_updated",
 28134                                "timeframe",
 28135                                "ask",
 28136                                "ask_size",
 28137                                "bid_size",
 28138                                "bid",
 28139                                "midpoint"
 28140                              ],
 28141                              "type": "object",
 28142                              "x-polygon-go-type": {
 28143                                "name": "LastQuote"
 28144                              }
 28145                            },
 28146                            "last_trade": {
 28147                              "description": "The most recent trade for this contract. This is only returned if your current plan includes trades.",
 28148                              "properties": {
 28149                                "conditions": {
 28150                                  "description": "A list of condition codes.",
 28151                                  "items": {
 28152                                    "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/options/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 28153                                    "format": "int32",
 28154                                    "type": "integer"
 28155                                  },
 28156                                  "type": "array"
 28157                                },
 28158                                "exchange": {
 28159                                  "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/options/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 28160                                  "type": "integer"
 28161                                },
 28162                                "price": {
 28163                                  "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.",
 28164                                  "format": "double",
 28165                                  "type": "number"
 28166                                },
 28167                                "sip_timestamp": {
 28168                                  "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this trade from the exchange which produced it.",
 28169                                  "format": "int64",
 28170                                  "type": "integer"
 28171                                },
 28172                                "size": {
 28173                                  "description": "The size of a trade (also known as volume).",
 28174                                  "format": "int32",
 28175                                  "type": "integer"
 28176                                },
 28177                                "timeframe": {
 28178                                  "description": "The time relevance of the data.",
 28179                                  "enum": [
 28180                                    "DELAYED",
 28181                                    "REAL-TIME"
 28182                                  ],
 28183                                  "type": "string"
 28184                                }
 28185                              },
 28186                              "required": [
 28187                                "timeframe",
 28188                                "exchange",
 28189                                "price",
 28190                                "sip_timestamp",
 28191                                "size"
 28192                              ],
 28193                              "type": "object",
 28194                              "x-polygon-go-type": {
 28195                                "name": "OptionsLastTrade"
 28196                              }
 28197                            },
 28198                            "open_interest": {
 28199                              "description": "The quantity of this contract held at the end of the last trading day.",
 28200                              "format": "double",
 28201                              "type": "number"
 28202                            },
 28203                            "underlying_asset": {
 28204                              "description": "Information on the underlying stock for this options contract.  The market data returned depends on your current stocks plan.",
 28205                              "properties": {
 28206                                "change_to_break_even": {
 28207                                  "description": "The change in price for the contract to break even.",
 28208                                  "format": "double",
 28209                                  "type": "number"
 28210                                },
 28211                                "last_updated": {
 28212                                  "description": "The nanosecond timestamp of when this information was updated.",
 28213                                  "format": "int64",
 28214                                  "type": "integer",
 28215                                  "x-polygon-go-type": {
 28216                                    "name": "INanoseconds",
 28217                                    "path": "github.com/polygon-io/ptime"
 28218                                  }
 28219                                },
 28220                                "price": {
 28221                                  "description": "The price of the trade. This is the actual dollar value per whole share of this trade. A trade of 100 shares with a price of $2.00 would be worth a total dollar value of $200.00.",
 28222                                  "format": "double",
 28223                                  "type": "number"
 28224                                },
 28225                                "ticker": {
 28226                                  "description": "The ticker symbol for the contract's underlying asset.",
 28227                                  "type": "string"
 28228                                },
 28229                                "timeframe": {
 28230                                  "description": "The time relevance of the data.",
 28231                                  "enum": [
 28232                                    "DELAYED",
 28233                                    "REAL-TIME"
 28234                                  ],
 28235                                  "type": "string"
 28236                                },
 28237                                "value": {
 28238                                  "description": "The value of the underlying index.",
 28239                                  "format": "double",
 28240                                  "type": "number"
 28241                                }
 28242                              },
 28243                              "required": [
 28244                                "last_updated",
 28245                                "timeframe",
 28246                                "ticker",
 28247                                "change_to_break_even"
 28248                              ],
 28249                              "type": "object",
 28250                              "x-polygon-go-type": {
 28251                                "name": "UnderlyingAsset"
 28252                              }
 28253                            }
 28254                          },
 28255                          "required": [
 28256                            "day",
 28257                            "last_quote",
 28258                            "underlying_asset",
 28259                            "details",
 28260                            "cha",
 28261                            "break_even_price",
 28262                            "open_interest"
 28263                          ],
 28264                          "type": "object",
 28265                          "x-polygon-go-type": {
 28266                            "name": "OptionSnapshotResult"
 28267                          }
 28268                        },
 28269                        "type": "array"
 28270                      },
 28271                      "status": {
 28272                        "description": "The status of this request's response.",
 28273                        "type": "string"
 28274                      }
 28275                    },
 28276                    "required": [
 28277                      "status",
 28278                      "request_id"
 28279                    ],
 28280                    "type": "object"
 28281                  }
 28282                }
 28283              },
 28284              "description": "Snapshots for options contracts of the underlying ticker"
 28285            }
 28286          },
 28287          "summary": "Options Chain",
 28288          "tags": [
 28289            "options:snapshot"
 28290          ],
 28291          "x-polygon-entitlement-allowed-timeframes": [
 28292            {
 28293              "description": "Real Time Data",
 28294              "name": "realtime"
 28295            },
 28296            {
 28297              "description": "15 minute delayed data",
 28298              "name": "delayed"
 28299            }
 28300          ],
 28301          "x-polygon-entitlement-data-type": {
 28302            "description": "Aggregate data",
 28303            "name": "aggregates"
 28304          },
 28305          "x-polygon-entitlement-market-type": {
 28306            "description": "Options data",
 28307            "name": "options"
 28308          },
 28309          "x-polygon-paginate": {
 28310            "limit": {
 28311              "default": 10,
 28312              "max": 250
 28313            },
 28314            "sort": {
 28315              "default": "ticker",
 28316              "enum": [
 28317                "ticker",
 28318                "expiration_date",
 28319                "strike_price"
 28320              ]
 28321            }
 28322          }
 28323        }
 28324      },
 28325      "/v3/snapshot/options/{underlyingAsset}/{optionContract}": {
 28326        "get": {
 28327          "description": "Get the snapshot of an option contract for a stock equity.",
 28328          "operationId": "OptionContract",
 28329          "parameters": [
 28330            {
 28331              "description": "The underlying ticker symbol of the option contract.",
 28332              "example": "EVRI",
 28333              "in": "path",
 28334              "name": "underlyingAsset",
 28335              "required": true,
 28336              "schema": {
 28337                "type": "string"
 28338              }
 28339            },
 28340            {
 28341              "description": "The option contract identifier.",
 28342              "example": "O:EVRI240119C00002500",
 28343              "in": "path",
 28344              "name": "optionContract",
 28345              "required": true,
 28346              "schema": {
 28347                "type": "string"
 28348              }
 28349            }
 28350          ],
 28351          "responses": {
 28352            "200": {
 28353              "content": {
 28354                "application/json": {
 28355                  "example": {
 28356                    "request_id": "d9ff18dac69f55c218f69e4753706acd",
 28357                    "results": {
 28358                      "break_even_price": 171.075,
 28359                      "day": {
 28360                        "change": -1.05,
 28361                        "change_percent": -4.67,
 28362                        "close": 21.4,
 28363                        "high": 22.49,
 28364                        "last_updated": 1636520400000000000,
 28365                        "low": 21.35,
 28366                        "open": 22.49,
 28367                        "previous_close": 22.45,
 28368                        "volume": 37,
 28369                        "vwap": 21.6741
 28370                      },
 28371                      "details": {
 28372                        "contract_type": "call",
 28373                        "exercise_style": "american",
 28374                        "expiration_date": "2023-06-16",
 28375                        "shares_per_contract": 100,
 28376                        "strike_price": 150,
 28377                        "ticker": "O:AAPL230616C00150000"
 28378                      },
 28379                      "fmv": 0.05,
 28380                      "greeks": {
 28381                        "delta": 0.5520187372272933,
 28382                        "gamma": 0.00706756515659829,
 28383                        "theta": -0.018532772783847958,
 28384                        "vega": 0.7274811132998142
 28385                      },
 28386                      "implied_volatility": 0.3048997097864957,
 28387                      "last_quote": {
 28388                        "ask": 21.25,
 28389                        "ask_exchange": 301,
 28390                        "ask_size": 110,
 28391                        "bid": 20.9,
 28392                        "bid_exchange": 301,
 28393                        "bid_size": 172,
 28394                        "last_updated": 1636573458756383500,
 28395                        "midpoint": 21.075,
 28396                        "timeframe": "REAL-TIME"
 28397                      },
 28398                      "last_trade": {
 28399                        "conditions": [
 28400                          209
 28401                        ],
 28402                        "exchange": 316,
 28403                        "price": 0.05,
 28404                        "sip_timestamp": 1675280958783136800,
 28405                        "size": 2,
 28406                        "timeframe": "REAL-TIME"
 28407                      },
 28408                      "open_interest": 8921,
 28409                      "underlying_asset": {
 28410                        "change_to_break_even": 23.123999999999995,
 28411                        "last_updated": 1636573459862384600,
 28412                        "price": 147.951,
 28413                        "ticker": "AAPL",
 28414                        "timeframe": "REAL-TIME"
 28415                      }
 28416                    },
 28417                    "status": "OK"
 28418                  },
 28419                  "schema": {
 28420                    "properties": {
 28421                      "next_url": {
 28422                        "description": "If present, this value can be used to fetch the next page of data.",
 28423                        "type": "string"
 28424                      },
 28425                      "request_id": {
 28426                        "type": "string"
 28427                      },
 28428                      "results": {
 28429                        "properties": {
 28430                          "break_even_price": {
 28431                            "description": "The price of the underlying asset for the contract to break even. For a call, this value is (strike price + premium paid). For a put, this value is (strike price - premium paid).",
 28432                            "format": "double",
 28433                            "type": "number"
 28434                          },
 28435                          "day": {
 28436                            "description": "The most recent daily bar for this contract.",
 28437                            "properties": {
 28438                              "change": {
 28439                                "description": "The value of the price change for the contract from the previous trading day.",
 28440                                "format": "double",
 28441                                "type": "number"
 28442                              },
 28443                              "change_percent": {
 28444                                "description": "The percent of the price change for the contract from the previous trading day.",
 28445                                "format": "double",
 28446                                "type": "number"
 28447                              },
 28448                              "close": {
 28449                                "description": "The closing price for the contract of the day.",
 28450                                "format": "double",
 28451                                "type": "number"
 28452                              },
 28453                              "high": {
 28454                                "description": "The highest price for the contract of the day.",
 28455                                "format": "double",
 28456                                "type": "number"
 28457                              },
 28458                              "last_updated": {
 28459                                "description": "The nanosecond timestamp of when this information was updated.",
 28460                                "format": "int64",
 28461                                "type": "integer",
 28462                                "x-polygon-go-type": {
 28463                                  "name": "INanoseconds",
 28464                                  "path": "github.com/polygon-io/ptime"
 28465                                }
 28466                              },
 28467                              "low": {
 28468                                "description": "The lowest price for the contract of the day.",
 28469                                "format": "double",
 28470                                "type": "number"
 28471                              },
 28472                              "open": {
 28473                                "description": "The open price for the contract of the day.",
 28474                                "format": "double",
 28475                                "type": "number"
 28476                              },
 28477                              "previous_close": {
 28478                                "description": "The closing price for the contract of previous trading day.",
 28479                                "format": "double",
 28480                                "type": "number"
 28481                              },
 28482                              "volume": {
 28483                                "description": "The trading volume for the contract of the day.",
 28484                                "format": "double",
 28485                                "type": "number"
 28486                              },
 28487                              "vwap": {
 28488                                "description": "The trading volume weighted average price for the contract of the day.",
 28489                                "format": "double",
 28490                                "type": "number",
 28491                                "x-polygon-go-id": "VWAP"
 28492                              }
 28493                            },
 28494                            "required": [
 28495                              "last_updated",
 28496                              "open",
 28497                              "high",
 28498                              "low",
 28499                              "close",
 28500                              "previous_close",
 28501                              "volume",
 28502                              "vwap",
 28503                              "change_percent",
 28504                              "change"
 28505                            ],
 28506                            "type": "object",
 28507                            "x-polygon-go-type": {
 28508                              "name": "Day"
 28509                            }
 28510                          },
 28511                          "details": {
 28512                            "description": "The details for this contract.",
 28513                            "properties": {
 28514                              "contract_type": {
 28515                                "description": "The type of contract. Can be \"put\", \"call\", or in some rare cases, \"other\".",
 28516                                "enum": [
 28517                                  "put",
 28518                                  "call",
 28519                                  "other"
 28520                                ],
 28521                                "type": "string"
 28522                              },
 28523                              "exercise_style": {
 28524                                "description": "The exercise style of this contract. See \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/Option_style\"\u003ethis link\u003c/a\u003e for more details on exercise styles.",
 28525                                "enum": [
 28526                                  "american",
 28527                                  "european",
 28528                                  "bermudan"
 28529                                ],
 28530                                "type": "string"
 28531                              },
 28532                              "expiration_date": {
 28533                                "description": "The contract's expiration date in YYYY-MM-DD format.",
 28534                                "format": "date",
 28535                                "type": "string",
 28536                                "x-polygon-go-type": {
 28537                                  "name": "IDaysPolygonDateString",
 28538                                  "path": "github.com/polygon-io/ptime"
 28539                                }
 28540                              },
 28541                              "shares_per_contract": {
 28542                                "description": "The number of shares per contract for this contract.",
 28543                                "type": "number"
 28544                              },
 28545                              "strike_price": {
 28546                                "description": "The strike price of the option contract.",
 28547                                "format": "double",
 28548                                "type": "number"
 28549                              },
 28550                              "ticker": {
 28551                                "description": "The ticker symbol for the asset.",
 28552                                "type": "string"
 28553                              }
 28554                            },
 28555                            "required": [
 28556                              "ticker",
 28557                              "contract_type",
 28558                              "exercise_style",
 28559                              "expiration_date",
 28560                              "shares_per_contract",
 28561                              "strike_price"
 28562                            ],
 28563                            "type": "object",
 28564                            "x-polygon-go-type": {
 28565                              "name": "Details"
 28566                            }
 28567                          },
 28568                          "fmv": {
 28569                            "description": "Fair market value is only available on Business plans. It's it our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security.\nFor more information, \u003ca rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\"\u003econtact us\u003c/a\u003e.",
 28570                            "type": "number"
 28571                          },
 28572                          "greeks": {
 28573                            "description": "The greeks for this contract.\nThere are certain circumstances where greeks will not be returned, such as options contracts that are deep in the money.\nSee this \u003ca href=\"https://polygon.io/blog/greeks-and-implied-volatility/#testing\"\nalt=\"link\"\u003earticle\u003c/a\u003e for more information.",
 28574                            "properties": {
 28575                              "delta": {
 28576                                "description": "The change in the option's price per $0.01 increment in the price of the underlying asset.",
 28577                                "format": "double",
 28578                                "type": "number"
 28579                              },
 28580                              "gamma": {
 28581                                "description": "The change in delta per $0.01 change in the price of the underlying asset.",
 28582                                "format": "double",
 28583                                "type": "number"
 28584                              },
 28585                              "theta": {
 28586                                "description": "The change in the option's price per day.",
 28587                                "format": "double",
 28588                                "type": "number"
 28589                              },
 28590                              "vega": {
 28591                                "description": "The change in the option's price per 1% increment in volatility.",
 28592                                "format": "double",
 28593                                "type": "number"
 28594                              }
 28595                            },
 28596                            "required": [
 28597                              "delta",
 28598                              "gamma",
 28599                              "theta",
 28600                              "vega"
 28601                            ],
 28602                            "type": "object",
 28603                            "x-polygon-go-type": {
 28604                              "name": "Greeks"
 28605                            }
 28606                          },
 28607                          "implied_volatility": {
 28608                            "description": "The market's forecast for the volatility of the underlying asset, based on this option's current price.",
 28609                            "format": "double",
 28610                            "type": "number"
 28611                          },
 28612                          "last_quote": {
 28613                            "description": "The most recent quote for this contract. This is only returned if your current plan includes quotes.",
 28614                            "properties": {
 28615                              "ask": {
 28616                                "description": "The ask price.",
 28617                                "format": "double",
 28618                                "type": "number"
 28619                              },
 28620                              "ask_exchange": {
 28621                                "description": "The ask side exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 28622                                "format": "int32",
 28623                                "type": "number"
 28624                              },
 28625                              "ask_size": {
 28626                                "description": "The ask size.",
 28627                                "format": "double",
 28628                                "type": "number"
 28629                              },
 28630                              "bid": {
 28631                                "description": "The bid price.",
 28632                                "format": "double",
 28633                                "type": "number"
 28634                              },
 28635                              "bid_exchange": {
 28636                                "description": "The bid side exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 28637                                "format": "int32",
 28638                                "type": "number"
 28639                              },
 28640                              "bid_size": {
 28641                                "description": "The bid size.",
 28642                                "format": "double",
 28643                                "type": "number"
 28644                              },
 28645                              "last_updated": {
 28646                                "description": "The nanosecond timestamp of when this information was updated.",
 28647                                "format": "int64",
 28648                                "type": "integer",
 28649                                "x-polygon-go-type": {
 28650                                  "name": "INanoseconds",
 28651                                  "path": "github.com/polygon-io/ptime"
 28652                                }
 28653                              },
 28654                              "midpoint": {
 28655                                "description": "The average of the bid and ask price.",
 28656                                "format": "double",
 28657                                "type": "number"
 28658                              },
 28659                              "timeframe": {
 28660                                "description": "The time relevance of the data.",
 28661                                "enum": [
 28662                                  "DELAYED",
 28663                                  "REAL-TIME"
 28664                                ],
 28665                                "type": "string"
 28666                              }
 28667                            },
 28668                            "required": [
 28669                              "last_updated",
 28670                              "timeframe",
 28671                              "ask",
 28672                              "ask_size",
 28673                              "bid_size",
 28674                              "bid",
 28675                              "midpoint"
 28676                            ],
 28677                            "type": "object",
 28678                            "x-polygon-go-type": {
 28679                              "name": "LastQuote"
 28680                            }
 28681                          },
 28682                          "last_trade": {
 28683                            "description": "The most recent trade for this contract. This is only returned if your current plan includes trades.",
 28684                            "properties": {
 28685                              "conditions": {
 28686                                "description": "A list of condition codes.",
 28687                                "items": {
 28688                                  "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/options/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 28689                                  "format": "int32",
 28690                                  "type": "integer"
 28691                                },
 28692                                "type": "array"
 28693                              },
 28694                              "exchange": {
 28695                                "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/options/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 28696                                "type": "integer"
 28697                              },
 28698                              "price": {
 28699                                "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.",
 28700                                "format": "double",
 28701                                "type": "number"
 28702                              },
 28703                              "sip_timestamp": {
 28704                                "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this trade from the exchange which produced it.",
 28705                                "format": "int64",
 28706                                "type": "integer"
 28707                              },
 28708                              "size": {
 28709                                "description": "The size of a trade (also known as volume).",
 28710                                "format": "int32",
 28711                                "type": "integer"
 28712                              },
 28713                              "timeframe": {
 28714                                "description": "The time relevance of the data.",
 28715                                "enum": [
 28716                                  "DELAYED",
 28717                                  "REAL-TIME"
 28718                                ],
 28719                                "type": "string"
 28720                              }
 28721                            },
 28722                            "required": [
 28723                              "timeframe",
 28724                              "exchange",
 28725                              "price",
 28726                              "sip_timestamp",
 28727                              "size"
 28728                            ],
 28729                            "type": "object",
 28730                            "x-polygon-go-type": {
 28731                              "name": "OptionsLastTrade"
 28732                            }
 28733                          },
 28734                          "open_interest": {
 28735                            "description": "The quantity of this contract held at the end of the last trading day.",
 28736                            "format": "double",
 28737                            "type": "number"
 28738                          },
 28739                          "underlying_asset": {
 28740                            "description": "Information on the underlying stock for this options contract.  The market data returned depends on your current stocks plan.",
 28741                            "properties": {
 28742                              "change_to_break_even": {
 28743                                "description": "The change in price for the contract to break even.",
 28744                                "format": "double",
 28745                                "type": "number"
 28746                              },
 28747                              "last_updated": {
 28748                                "description": "The nanosecond timestamp of when this information was updated.",
 28749                                "format": "int64",
 28750                                "type": "integer",
 28751                                "x-polygon-go-type": {
 28752                                  "name": "INanoseconds",
 28753                                  "path": "github.com/polygon-io/ptime"
 28754                                }
 28755                              },
 28756                              "price": {
 28757                                "description": "The price of the trade. This is the actual dollar value per whole share of this trade. A trade of 100 shares with a price of $2.00 would be worth a total dollar value of $200.00.",
 28758                                "format": "double",
 28759                                "type": "number"
 28760                              },
 28761                              "ticker": {
 28762                                "description": "The ticker symbol for the contract's underlying asset.",
 28763                                "type": "string"
 28764                              },
 28765                              "timeframe": {
 28766                                "description": "The time relevance of the data.",
 28767                                "enum": [
 28768                                  "DELAYED",
 28769                                  "REAL-TIME"
 28770                                ],
 28771                                "type": "string"
 28772                              },
 28773                              "value": {
 28774                                "description": "The value of the underlying index.",
 28775                                "format": "double",
 28776                                "type": "number"
 28777                              }
 28778                            },
 28779                            "required": [
 28780                              "last_updated",
 28781                              "timeframe",
 28782                              "ticker",
 28783                              "change_to_break_even"
 28784                            ],
 28785                            "type": "object",
 28786                            "x-polygon-go-type": {
 28787                              "name": "UnderlyingAsset"
 28788                            }
 28789                          }
 28790                        },
 28791                        "required": [
 28792                          "day",
 28793                          "last_quote",
 28794                          "underlying_asset",
 28795                          "details",
 28796                          "cha",
 28797                          "break_even_price",
 28798                          "open_interest"
 28799                        ],
 28800                        "type": "object",
 28801                        "x-polygon-go-type": {
 28802                          "name": "OptionSnapshotResult"
 28803                        }
 28804                      },
 28805                      "status": {
 28806                        "description": "The status of this request's response.",
 28807                        "type": "string"
 28808                      }
 28809                    },
 28810                    "required": [
 28811                      "status",
 28812                      "request_id"
 28813                    ],
 28814                    "type": "object"
 28815                  }
 28816                },
 28817                "text/csv": {
 28818                  "schema": {
 28819                    "example": "break_even_price,day_close,day_high,day_last_updated,day_low,day_open,day_previous_close,day_volume,day_vwap,day_change,day_change_percent,details_contract_type,details_exercise_style,details_expiration_date,details_shares_per_contract,details_strike_price,details_ticker,greeks_delta,greeks_gamma,greeks_theta,greeks_vega,implied_volatility,last_quote_ask,last_quote_ask_size,last_quote_bid,last_quote_bid_size,last_quote_last_updated,last_quote_midpoint,last_quote_timeframe,open_interest,underlying_asset_change_to_break_even,underlying_asset_last_updated,underlying_asset_price,underlying_asset_ticker,underlying_asset_timeframe\n0,171.075,21.4,22.49,1636520400000000000,21.35,22.49,22.45,37,21.6741,-1.05,-4.67,call,american,2023-06-16,100,150,O:AAPL230616C00150000,0.5520187372272933,0.00706756515659829,-0.018532772783847958,0.7274811132998142,0.3048997097864957,21.25,110,20.9,172,1636573458756383500,21.075,REAL-TIME,8921,23.123999999999995,1636573459862384600,147.951,AAPL,REAL-TIME\n",
 28820                    "type": "string"
 28821                  }
 28822                }
 28823              },
 28824              "description": "Snapshot of the option contract."
 28825            }
 28826          },
 28827          "summary": "Option Contract",
 28828          "tags": [
 28829            "options:snapshot"
 28830          ],
 28831          "x-polygon-entitlement-allowed-timeframes": [
 28832            {
 28833              "description": "Real Time Data",
 28834              "name": "realtime"
 28835            },
 28836            {
 28837              "description": "15 minute delayed data",
 28838              "name": "delayed"
 28839            }
 28840          ],
 28841          "x-polygon-entitlement-data-type": {
 28842            "description": "Aggregate data",
 28843            "name": "aggregates"
 28844          },
 28845          "x-polygon-entitlement-market-type": {
 28846            "description": "Options data",
 28847            "name": "options"
 28848          }
 28849        }
 28850      },
 28851      "/v3/trades/{cryptoTicker}": {
 28852        "get": {
 28853          "description": "Get trades for a crypto ticker symbol in a given time range.",
 28854          "operationId": "TradesCrypto",
 28855          "parameters": [
 28856            {
 28857              "description": "The ticker symbol to get trades for.",
 28858              "example": "X:BTC-USD",
 28859              "in": "path",
 28860              "name": "cryptoTicker",
 28861              "required": true,
 28862              "schema": {
 28863                "type": "string"
 28864              }
 28865            },
 28866            {
 28867              "description": "Query by trade timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.",
 28868              "in": "query",
 28869              "name": "timestamp",
 28870              "schema": {
 28871                "type": "string"
 28872              },
 28873              "x-polygon-filter-field": {
 28874                "range": true
 28875              }
 28876            },
 28877            {
 28878              "description": "Range by timestamp.",
 28879              "in": "query",
 28880              "name": "timestamp.gte",
 28881              "schema": {
 28882                "type": "string"
 28883              }
 28884            },
 28885            {
 28886              "description": "Range by timestamp.",
 28887              "in": "query",
 28888              "name": "timestamp.gt",
 28889              "schema": {
 28890                "type": "string"
 28891              }
 28892            },
 28893            {
 28894              "description": "Range by timestamp.",
 28895              "in": "query",
 28896              "name": "timestamp.lte",
 28897              "schema": {
 28898                "type": "string"
 28899              }
 28900            },
 28901            {
 28902              "description": "Range by timestamp.",
 28903              "in": "query",
 28904              "name": "timestamp.lt",
 28905              "schema": {
 28906                "type": "string"
 28907              }
 28908            },
 28909            {
 28910              "description": "Order results based on the `sort` field.",
 28911              "in": "query",
 28912              "name": "order",
 28913              "schema": {
 28914                "default": "desc",
 28915                "enum": [
 28916                  "asc",
 28917                  "desc"
 28918                ],
 28919                "example": "asc",
 28920                "type": "string"
 28921              }
 28922            },
 28923            {
 28924              "description": "Limit the number of results returned, default is 10 and max is 50000.",
 28925              "in": "query",
 28926              "name": "limit",
 28927              "schema": {
 28928                "default": 10,
 28929                "example": 10,
 28930                "maximum": 50000,
 28931                "minimum": 1,
 28932                "type": "integer"
 28933              }
 28934            },
 28935            {
 28936              "description": "Sort field used for ordering.",
 28937              "in": "query",
 28938              "name": "sort",
 28939              "schema": {
 28940                "default": "timestamp",
 28941                "enum": [
 28942                  "timestamp"
 28943                ],
 28944                "example": "timestamp",
 28945                "type": "string"
 28946              }
 28947            }
 28948          ],
 28949          "responses": {
 28950            "200": {
 28951              "content": {
 28952                "application/json": {
 28953                  "example": {
 28954                    "next_url": "https://api.polygon.io/v3/trades/X:BTC-USD?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 28955                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 28956                    "results": [
 28957                      {
 28958                        "conditions": [
 28959                          1
 28960                        ],
 28961                        "exchange": 1,
 28962                        "id": "191450340",
 28963                        "participant_timestamp": 1625097600103000000,
 28964                        "price": 35060,
 28965                        "size": 1.0434526
 28966                      },
 28967                      {
 28968                        "conditions": [
 28969                          2
 28970                        ],
 28971                        "exchange": 1,
 28972                        "id": "191450341",
 28973                        "participant_timestamp": 1625097600368000000,
 28974                        "price": 35059.99,
 28975                        "size": 0.0058883
 28976                      }
 28977                    ],
 28978                    "status": "OK"
 28979                  },
 28980                  "schema": {
 28981                    "properties": {
 28982                      "next_url": {
 28983                        "description": "If present, this value can be used to fetch the next page of data.",
 28984                        "type": "string"
 28985                      },
 28986                      "results": {
 28987                        "items": {
 28988                          "properties": {
 28989                            "conditions": {
 28990                              "description": "A list of condition codes.",
 28991                              "items": {
 28992                                "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/stocks/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 28993                                "format": "int32",
 28994                                "type": "integer"
 28995                              },
 28996                              "type": "array",
 28997                              "x-polygon-go-type": {
 28998                                "name": "Int32Array"
 28999                              }
 29000                            },
 29001                            "exchange": {
 29002                              "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/crypto/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 29003                              "type": "integer"
 29004                            },
 29005                            "id": {
 29006                              "description": "The Trade ID which uniquely identifies a trade on the exchange that the trade happened on.",
 29007                              "type": "string"
 29008                            },
 29009                            "participant_timestamp": {
 29010                              "description": "The nanosecond Exchange Unix Timestamp. This is the timestamp of when the trade was generated at the exchange.",
 29011                              "format": "int64",
 29012                              "type": "integer",
 29013                              "x-polygon-go-type": {
 29014                                "name": "INanoseconds",
 29015                                "path": "github.com/polygon-io/ptime"
 29016                              }
 29017                            },
 29018                            "price": {
 29019                              "description": "The price of the trade in the base currency of the crypto pair.",
 29020                              "format": "double",
 29021                              "type": "number"
 29022                            },
 29023                            "size": {
 29024                              "description": "The size of a trade (also known as volume).",
 29025                              "format": "double",
 29026                              "type": "number"
 29027                            }
 29028                          },
 29029                          "required": [
 29030                            "exchange",
 29031                            "price",
 29032                            "size",
 29033                            "id"
 29034                          ],
 29035                          "type": "object"
 29036                        },
 29037                        "type": "array"
 29038                      },
 29039                      "status": {
 29040                        "description": "The status of this request's response.",
 29041                        "type": "string"
 29042                      }
 29043                    },
 29044                    "required": [
 29045                      "status"
 29046                    ],
 29047                    "type": "object"
 29048                  }
 29049                },
 29050                "text/csv": {
 29051                  "example": "conditions,exchange,id,participant_timestamp,price,size\n1,1,191450340,1625097600103000000,35060,1.0434526\n2,1,191450341,1625097600368000000,35059.99,0.0058883\n",
 29052                  "schema": {
 29053                    "type": "string"
 29054                  }
 29055                }
 29056              },
 29057              "description": "A list of trades."
 29058            }
 29059          },
 29060          "summary": "Trades",
 29061          "tags": [
 29062            "crypto:trades"
 29063          ],
 29064          "x-polygon-entitlement-data-type": {
 29065            "description": "Trade data",
 29066            "name": "trades"
 29067          },
 29068          "x-polygon-entitlement-market-type": {
 29069            "description": "Crypto data",
 29070            "name": "crypto"
 29071          },
 29072          "x-polygon-paginate": {
 29073            "limit": {
 29074              "max": 50000
 29075            },
 29076            "order": {
 29077              "default": "desc"
 29078            },
 29079            "sort": {
 29080              "default": "timestamp",
 29081              "enum": [
 29082                "timestamp"
 29083              ]
 29084            }
 29085          },
 29086          "x-polygon-replaces": {
 29087            "date": 1654056060000,
 29088            "replaces": {
 29089              "name": "Historic Crypto Trades",
 29090              "path": "get_v1_historic_crypto__from___to___date"
 29091            }
 29092          }
 29093        },
 29094        "x-polygon-ignore": true
 29095      },
 29096      "/v3/trades/{optionsTicker}": {
 29097        "get": {
 29098          "description": "Get trades for an options ticker symbol in a given time range.",
 29099          "operationId": "TradesOptions",
 29100          "parameters": [
 29101            {
 29102              "description": "The options ticker symbol to get trades for.",
 29103              "example": "O:TSLA210903C00700000",
 29104              "in": "path",
 29105              "name": "optionsTicker",
 29106              "required": true,
 29107              "schema": {
 29108                "type": "string"
 29109              },
 29110              "x-polygon-go-id": "Ticker"
 29111            },
 29112            {
 29113              "description": "Query by trade timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.",
 29114              "in": "query",
 29115              "name": "timestamp",
 29116              "schema": {
 29117                "type": "string"
 29118              },
 29119              "x-polygon-filter-field": {
 29120                "range": true
 29121              }
 29122            },
 29123            {
 29124              "description": "Range by timestamp.",
 29125              "in": "query",
 29126              "name": "timestamp.gte",
 29127              "schema": {
 29128                "type": "string"
 29129              }
 29130            },
 29131            {
 29132              "description": "Range by timestamp.",
 29133              "in": "query",
 29134              "name": "timestamp.gt",
 29135              "schema": {
 29136                "type": "string"
 29137              }
 29138            },
 29139            {
 29140              "description": "Range by timestamp.",
 29141              "in": "query",
 29142              "name": "timestamp.lte",
 29143              "schema": {
 29144                "type": "string"
 29145              }
 29146            },
 29147            {
 29148              "description": "Range by timestamp.",
 29149              "in": "query",
 29150              "name": "timestamp.lt",
 29151              "schema": {
 29152                "type": "string"
 29153              }
 29154            },
 29155            {
 29156              "description": "Order results based on the `sort` field.",
 29157              "in": "query",
 29158              "name": "order",
 29159              "schema": {
 29160                "default": "desc",
 29161                "enum": [
 29162                  "asc",
 29163                  "desc"
 29164                ],
 29165                "example": "asc",
 29166                "type": "string"
 29167              }
 29168            },
 29169            {
 29170              "description": "Limit the number of results returned, default is 10 and max is 50000.",
 29171              "in": "query",
 29172              "name": "limit",
 29173              "schema": {
 29174                "default": 10,
 29175                "example": 10,
 29176                "maximum": 50000,
 29177                "minimum": 1,
 29178                "type": "integer"
 29179              }
 29180            },
 29181            {
 29182              "description": "Sort field used for ordering.",
 29183              "in": "query",
 29184              "name": "sort",
 29185              "schema": {
 29186                "default": "timestamp",
 29187                "enum": [
 29188                  "timestamp"
 29189                ],
 29190                "example": "timestamp",
 29191                "type": "string"
 29192              }
 29193            }
 29194          ],
 29195          "responses": {
 29196            "200": {
 29197              "content": {
 29198                "application/json": {
 29199                  "example": {
 29200                    "next_url": "https://api.polygon.io/v3/trades/O:AZO140621P00530000?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 29201                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 29202                    "results": [
 29203                      {
 29204                        "exchange": 46,
 29205                        "participant_timestamp": 1401715883806000000,
 29206                        "price": 6.91,
 29207                        "sip_timestamp": 1401715883806000000,
 29208                        "size": 1
 29209                      },
 29210                      {
 29211                        "conditions": [
 29212                          209
 29213                        ],
 29214                        "exchange": 67,
 29215                        "participant_timestamp": 1401716547786000000,
 29216                        "price": 7.2,
 29217                        "sip_timestamp": 1401716547786000000,
 29218                        "size": 1
 29219                      }
 29220                    ],
 29221                    "status": "OK"
 29222                  },
 29223                  "schema": {
 29224                    "properties": {
 29225                      "next_url": {
 29226                        "description": "If present, this value can be used to fetch the next page of data.",
 29227                        "type": "string"
 29228                      },
 29229                      "results": {
 29230                        "items": {
 29231                          "properties": {
 29232                            "conditions": {
 29233                              "description": "A list of condition codes.",
 29234                              "items": {
 29235                                "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/stocks/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 29236                                "format": "int32",
 29237                                "type": "integer"
 29238                              },
 29239                              "type": "array",
 29240                              "x-polygon-go-type": {
 29241                                "name": "Int32Array"
 29242                              }
 29243                            },
 29244                            "correction": {
 29245                              "description": "The trade correction indicator.",
 29246                              "type": "integer"
 29247                            },
 29248                            "exchange": {
 29249                              "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/options/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 29250                              "type": "integer"
 29251                            },
 29252                            "participant_timestamp": {
 29253                              "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the trade was actually generated at the exchange.",
 29254                              "format": "int64",
 29255                              "type": "integer",
 29256                              "x-polygon-go-type": {
 29257                                "name": "INanoseconds",
 29258                                "path": "github.com/polygon-io/ptime"
 29259                              }
 29260                            },
 29261                            "price": {
 29262                              "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.",
 29263                              "format": "double",
 29264                              "type": "number"
 29265                            },
 29266                            "sip_timestamp": {
 29267                              "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this trade from the exchange which produced it.",
 29268                              "format": "int64",
 29269                              "type": "integer",
 29270                              "x-polygon-go-type": {
 29271                                "name": "INanoseconds",
 29272                                "path": "github.com/polygon-io/ptime"
 29273                              }
 29274                            },
 29275                            "size": {
 29276                              "description": "The size of a trade (also known as volume).",
 29277                              "format": "double",
 29278                              "type": "number"
 29279                            }
 29280                          },
 29281                          "required": [
 29282                            "exchange",
 29283                            "price",
 29284                            "sip_timestamp",
 29285                            "size"
 29286                          ],
 29287                          "type": "object"
 29288                        },
 29289                        "type": "array"
 29290                      },
 29291                      "status": {
 29292                        "description": "The status of this request's response.",
 29293                        "type": "string"
 29294                      }
 29295                    },
 29296                    "required": [
 29297                      "status"
 29298                    ],
 29299                    "type": "object"
 29300                  }
 29301                },
 29302                "text/csv": {
 29303                  "example": "conditions,exchange,participant_timestamp,price,sip_timestamp,size\n,46,1401715883806000000,6.91,1401715883806000000,1\n209,67,1401716547786000000,7.2,1401716547786000000,1\n",
 29304                  "schema": {
 29305                    "type": "string"
 29306                  }
 29307                }
 29308              },
 29309              "description": "A list of trades."
 29310            }
 29311          },
 29312          "summary": "Trades",
 29313          "tags": [
 29314            "options:trades"
 29315          ],
 29316          "x-polygon-entitlement-data-type": {
 29317            "description": "Trade data",
 29318            "name": "trades"
 29319          },
 29320          "x-polygon-entitlement-market-type": {
 29321            "description": "Options data",
 29322            "name": "options"
 29323          },
 29324          "x-polygon-paginate": {
 29325            "limit": {
 29326              "max": 50000
 29327            },
 29328            "order": {
 29329              "default": "desc"
 29330            },
 29331            "sort": {
 29332              "default": "timestamp",
 29333              "enum": [
 29334                "timestamp"
 29335              ]
 29336            }
 29337          }
 29338        },
 29339        "x-polygon-ignore": true
 29340      },
 29341      "/v3/trades/{stockTicker}": {
 29342        "get": {
 29343          "description": "Get trades for a ticker symbol in a given time range.",
 29344          "operationId": "Trades",
 29345          "parameters": [
 29346            {
 29347              "description": "The ticker symbol to get trades for.",
 29348              "example": "AAPL",
 29349              "in": "path",
 29350              "name": "stockTicker",
 29351              "required": true,
 29352              "schema": {
 29353                "type": "string"
 29354              },
 29355              "x-polygon-go-id": "Ticker"
 29356            },
 29357            {
 29358              "description": "Query by trade timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.",
 29359              "in": "query",
 29360              "name": "timestamp",
 29361              "schema": {
 29362                "type": "string"
 29363              },
 29364              "x-polygon-filter-field": {
 29365                "range": true
 29366              }
 29367            },
 29368            {
 29369              "description": "Range by timestamp.",
 29370              "in": "query",
 29371              "name": "timestamp.gte",
 29372              "schema": {
 29373                "type": "string"
 29374              }
 29375            },
 29376            {
 29377              "description": "Range by timestamp.",
 29378              "in": "query",
 29379              "name": "timestamp.gt",
 29380              "schema": {
 29381                "type": "string"
 29382              }
 29383            },
 29384            {
 29385              "description": "Range by timestamp.",
 29386              "in": "query",
 29387              "name": "timestamp.lte",
 29388              "schema": {
 29389                "type": "string"
 29390              }
 29391            },
 29392            {
 29393              "description": "Range by timestamp.",
 29394              "in": "query",
 29395              "name": "timestamp.lt",
 29396              "schema": {
 29397                "type": "string"
 29398              }
 29399            },
 29400            {
 29401              "description": "Order results based on the `sort` field.",
 29402              "in": "query",
 29403              "name": "order",
 29404              "schema": {
 29405                "default": "desc",
 29406                "enum": [
 29407                  "asc",
 29408                  "desc"
 29409                ],
 29410                "example": "asc",
 29411                "type": "string"
 29412              }
 29413            },
 29414            {
 29415              "description": "Limit the number of results returned, default is 10 and max is 50000.",
 29416              "in": "query",
 29417              "name": "limit",
 29418              "schema": {
 29419                "default": 10,
 29420                "example": 10,
 29421                "maximum": 50000,
 29422                "minimum": 1,
 29423                "type": "integer"
 29424              }
 29425            },
 29426            {
 29427              "description": "Sort field used for ordering.",
 29428              "in": "query",
 29429              "name": "sort",
 29430              "schema": {
 29431                "default": "timestamp",
 29432                "enum": [
 29433                  "timestamp"
 29434                ],
 29435                "example": "timestamp",
 29436                "type": "string"
 29437              }
 29438            }
 29439          ],
 29440          "responses": {
 29441            "200": {
 29442              "content": {
 29443                "application/json": {
 29444                  "example": {
 29445                    "next_url": "https://api.polygon.io/v3/trades/AAPL?cursor=YWN0aXZlPXRydWUmZGF0ZT0yMDIxLTA0LTI1JmxpbWl0PTEmb3JkZXI9YXNjJnBhZ2VfbWFya2VyPUElN0M5YWRjMjY0ZTgyM2E1ZjBiOGUyNDc5YmZiOGE1YmYwNDVkYzU0YjgwMDcyMWE2YmI1ZjBjMjQwMjU4MjFmNGZiJnNvcnQ9dGlja2Vy",
 29446                    "request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
 29447                    "results": [
 29448                      {
 29449                        "conditions": [
 29450                          12,
 29451                          41
 29452                        ],
 29453                        "exchange": 11,
 29454                        "id": "1",
 29455                        "participant_timestamp": 1517562000015577000,
 29456                        "price": 171.55,
 29457                        "sequence_number": 1063,
 29458                        "sip_timestamp": 1517562000016036600,
 29459                        "size": 100,
 29460                        "tape": 3
 29461                      },
 29462                      {
 29463                        "conditions": [
 29464                          12,
 29465                          41
 29466                        ],
 29467                        "exchange": 11,
 29468                        "id": "2",
 29469                        "participant_timestamp": 1517562000015577600,
 29470                        "price": 171.55,
 29471                        "sequence_number": 1064,
 29472                        "sip_timestamp": 1517562000016038100,
 29473                        "size": 100,
 29474                        "tape": 3
 29475                      }
 29476                    ],
 29477                    "status": "OK"
 29478                  },
 29479                  "schema": {
 29480                    "properties": {
 29481                      "next_url": {
 29482                        "description": "If present, this value can be used to fetch the next page of data.",
 29483                        "type": "string"
 29484                      },
 29485                      "results": {
 29486                        "items": {
 29487                          "properties": {
 29488                            "conditions": {
 29489                              "description": "A list of condition codes.",
 29490                              "items": {
 29491                                "description": "The condition code. These are the conditions of this message. See\n[Condition Mappings](https://polygon.io/docs/stocks/get_v3_reference_conditions)\nfor a mapping to exchange conditions.",
 29492                                "format": "int32",
 29493                                "type": "integer"
 29494                              },
 29495                              "type": "array",
 29496                              "x-polygon-go-type": {
 29497                                "name": "Int32Array"
 29498                              }
 29499                            },
 29500                            "correction": {
 29501                              "description": "The trade correction indicator.",
 29502                              "type": "integer"
 29503                            },
 29504                            "exchange": {
 29505                              "description": "The exchange ID. See \u003ca href=\"https://polygon.io/docs/stocks/get_v3_reference_exchanges\" alt=\"Exchanges\"\u003eExchanges\u003c/a\u003e for Polygon.io's mapping of exchange IDs.",
 29506                              "type": "integer"
 29507                            },
 29508                            "id": {
 29509                              "description": "The Trade ID which uniquely identifies a trade. These are unique per\ncombination of ticker, exchange, and TRF. For example: A trade for AAPL\nexecuted on NYSE and a trade for AAPL executed on NASDAQ could potentially\nhave the same Trade ID.",
 29510                              "type": "string"
 29511                            },
 29512                            "participant_timestamp": {
 29513                              "description": "The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the trade was actually generated at the exchange.",
 29514                              "format": "int64",
 29515                              "type": "integer",
 29516                              "x-polygon-go-type": {
 29517                                "name": "INanoseconds",
 29518                                "path": "github.com/polygon-io/ptime"
 29519                              }
 29520                            },
 29521                            "price": {
 29522                              "description": "The price of the trade. This is the actual dollar value per whole share of\nthis trade. A trade of 100 shares with a price of $2.00 would be worth a\ntotal dollar value of $200.00.",
 29523                              "format": "double",
 29524                              "type": "number"
 29525                            },
 29526                            "sequence_number": {
 29527                              "description": "The sequence number represents the sequence in which trade events happened.\nThese are increasing and unique per ticker symbol, but will not always be\nsequential (e.g., 1, 2, 6, 9, 10, 11). Values reset after each trading session/day.",
 29528                              "format": "int64",
 29529                              "type": "integer"
 29530                            },
 29531                            "sip_timestamp": {
 29532                              "description": "The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this trade from the exchange which produced it.",
 29533                              "format": "int64",
 29534                              "type": "integer",
 29535                              "x-polygon-go-type": {
 29536                                "name": "INanoseconds",
 29537                                "path": "github.com/polygon-io/ptime"
 29538                              }
 29539                            },
 29540                            "size": {
 29541                              "description": "The size of a trade (also known as volume).",
 29542                              "format": "double",
 29543                              "type": "number"
 29544                            },
 29545                            "tape": {
 29546                              "description": "There are 3 tapes which define which exchange the ticker is listed on. These are integers in our objects which represent the letter of the alphabet. Eg: 1 = A, 2 = B, 3 = C.\n* Tape A is NYSE listed securities\n* Tape B is NYSE ARCA / NYSE American\n* Tape C is NASDAQ",
 29547                              "format": "int32",
 29548                              "type": "integer"
 29549                            },
 29550                            "trf_id": {
 29551                              "description": "The ID for the Trade Reporting Facility where the trade took place.",
 29552                              "type": "integer"
 29553                            },
 29554                            "trf_timestamp": {
 29555                              "description": "The nanosecond accuracy TRF (Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this trade.",
 29556                              "format": "int64",
 29557                              "type": "integer",
 29558                              "x-polygon-go-type": {
 29559                                "name": "INanoseconds",
 29560                                "path": "github.com/polygon-io/ptime"
 29561                              }
 29562                            }
 29563                          },
 29564                          "required": [
 29565                            "exchange",
 29566                            "id",
 29567                            "price",
 29568                            "sequence_number",
 29569                            "sip_timestamp",
 29570                            "participant_timestamp",
 29571                            "size"
 29572                          ],
 29573                          "type": "object",
 29574                          "x-polygon-go-type": {
 29575                            "name": "CommonTrade"
 29576                          }
 29577                        },
 29578                        "type": "array"
 29579                      },
 29580                      "status": {
 29581                        "description": "The status of this request's response.",
 29582                        "type": "string"
 29583                      }
 29584                    },
 29585                    "required": [
 29586                      "status"
 29587                    ],
 29588                    "type": "object"
 29589                  }
 29590                },
 29591                "text/csv": {
 29592                  "example": "conditions,exchange,id,participant_timestamp,price,sequence_number,sip_timestamp,size,tape\n\"12,41\",11,1,1517562000015577088,171.55,1063,1517562000016036581,100,3\n\"12,41\",11,2,1517562000015577600,171.55,1064,1517562000016038175,100,3\n",
 29593                  "schema": {
 29594                    "type": "string"
 29595                  }
 29596                }
 29597              },
 29598              "description": "A list of trades."
 29599            }
 29600          },
 29601          "summary": "Trades",
 29602          "tags": [
 29603            "stocks:trades"
 29604          ],
 29605          "x-polygon-entitlement-data-type": {
 29606            "description": "Trade data",
 29607            "name": "trades"
 29608          },
 29609          "x-polygon-entitlement-market-type": {
 29610            "description": "Stocks data",
 29611            "name": "stocks"
 29612          },
 29613          "x-polygon-paginate": {
 29614            "limit": {
 29615              "max": 50000
 29616            },
 29617            "order": {
 29618              "default": "desc"
 29619            },
 29620            "sort": {
 29621              "default": "timestamp",
 29622              "enum": [
 29623                "timestamp"
 29624              ]
 29625            }
 29626          },
 29627          "x-polygon-replaces": {
 29628            "date": 1654056060000,
 29629            "replaces": {
 29630              "name": "Trades",
 29631              "path": "get_v2_ticks_stocks_trades__ticker___date"
 29632            }
 29633          }
 29634        }
 29635      },
 29636      "/vX/reference/financials": {
 29637        "get": {
 29638          "description": "Get historical financial data for a stock ticker.\nThe financials data is extracted from XBRL from company SEC filings using the methodology outlined \u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"http://xbrl.squarespace.com/understanding-sec-xbrl-financi/\"\u003ehere\u003c/a\u003e.",
 29639          "operationId": "ListFinancials",
 29640          "parameters": [
 29641            {
 29642              "description": "Query by company ticker.",
 29643              "in": "query",
 29644              "name": "ticker",
 29645              "schema": {
 29646                "type": "string"
 29647              }
 29648            },
 29649            {
 29650              "description": "Query by central index key (\u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"https://www.sec.gov/edgar/searchedgar/cik.htm\"\u003eCIK\u003c/a\u003e) Number",
 29651              "in": "query",
 29652              "name": "cik",
 29653              "schema": {
 29654                "type": "string"
 29655              }
 29656            },
 29657            {
 29658              "description": "Query by company name.",
 29659              "in": "query",
 29660              "name": "company_name",
 29661              "schema": {
 29662                "type": "string"
 29663              },
 29664              "x-polygon-filter-field": {
 29665                "search": true
 29666              }
 29667            },
 29668            {
 29669              "description": "Query by standard industrial classification (\u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"https://www.sec.gov/corpfin/division-of-corporation-finance-standard-industrial-classification-sic-code-list\"\u003eSIC\u003c/a\u003e)",
 29670              "in": "query",
 29671              "name": "sic",
 29672              "schema": {
 29673                "type": "string"
 29674              }
 29675            },
 29676            {
 29677              "description": "Query by the date when the filing with financials data was filed in YYYY-MM-DD format.\n\nBest used when querying over date ranges to find financials based on filings that happen in a time period.\n\nExamples:\n\nTo get financials based on filings that have happened after January 1, 2009 use the query param filing_date.gte=2009-01-01\n\nTo get financials based on filings that happened in the year 2009 use the query params filing_date.gte=2009-01-01\u0026filing_date.lt=2010-01-01",
 29678              "in": "query",
 29679              "name": "filing_date",
 29680              "schema": {
 29681                "format": "date",
 29682                "type": "string"
 29683              },
 29684              "x-polygon-filter-field": {
 29685                "range": true
 29686              }
 29687            },
 29688            {
 29689              "description": "The period of report for the filing with financials data in YYYY-MM-DD format.",
 29690              "in": "query",
 29691              "name": "period_of_report_date",
 29692              "schema": {
 29693                "format": "date",
 29694                "type": "string"
 29695              },
 29696              "x-polygon-filter-field": {
 29697                "range": true
 29698              }
 29699            },
 29700            {
 29701              "description": "Query by timeframe. Annual financials originate from 10-K filings, and quarterly financials originate from 10-Q filings. Note: Most companies do not file quarterly reports for Q4 and instead include those financials in their annual report, so some companies my not return quarterly financials for Q4",
 29702              "in": "query",
 29703              "name": "timeframe",
 29704              "schema": {
 29705                "enum": [
 29706                  "annual",
 29707                  "quarterly",
 29708                  "ttm"
 29709                ],
 29710                "type": "string"
 29711              }
 29712            },
 29713            {
 29714              "description": "Whether or not to include the `xpath` and `formula` attributes for each financial data point.\nSee the `xpath` and `formula` response attributes for more info. False by default.",
 29715              "in": "query",
 29716              "name": "include_sources",
 29717              "schema": {
 29718                "default": false,
 29719                "type": "boolean"
 29720              }
 29721            },
 29722            {
 29723              "description": "Search by company_name.",
 29724              "in": "query",
 29725              "name": "company_name.search",
 29726              "schema": {
 29727                "type": "string"
 29728              }
 29729            },
 29730            {
 29731              "description": "Search by filing_date.",
 29732              "in": "query",
 29733              "name": "filing_date.gte",
 29734              "schema": {
 29735                "format": "date",
 29736                "type": "string"
 29737              }
 29738            },
 29739            {
 29740              "description": "Search by filing_date.",
 29741              "in": "query",
 29742              "name": "filing_date.gt",
 29743              "schema": {
 29744                "format": "date",
 29745                "type": "string"
 29746              }
 29747            },
 29748            {
 29749              "description": "Search by filing_date.",
 29750              "in": "query",
 29751              "name": "filing_date.lte",
 29752              "schema": {
 29753                "format": "date",
 29754                "type": "string"
 29755              }
 29756            },
 29757            {
 29758              "description": "Search by filing_date.",
 29759              "in": "query",
 29760              "name": "filing_date.lt",
 29761              "schema": {
 29762                "format": "date",
 29763                "type": "string"
 29764              }
 29765            },
 29766            {
 29767              "description": "Search by period_of_report_date.",
 29768              "in": "query",
 29769              "name": "period_of_report_date.gte",
 29770              "schema": {
 29771                "format": "date",
 29772                "type": "string"
 29773              }
 29774            },
 29775            {
 29776              "description": "Search by period_of_report_date.",
 29777              "in": "query",
 29778              "name": "period_of_report_date.gt",
 29779              "schema": {
 29780                "format": "date",
 29781                "type": "string"
 29782              }
 29783            },
 29784            {
 29785              "description": "Search by period_of_report_date.",
 29786              "in": "query",
 29787              "name": "period_of_report_date.lte",
 29788              "schema": {
 29789                "format": "date",
 29790                "type": "string"
 29791              }
 29792            },
 29793            {
 29794              "description": "Search by period_of_report_date.",
 29795              "in": "query",
 29796              "name": "period_of_report_date.lt",
 29797              "schema": {
 29798                "format": "date",
 29799                "type": "string"
 29800              }
 29801            },
 29802            {
 29803              "description": "Order results based on the `sort` field.",
 29804              "in": "query",
 29805              "name": "order",
 29806              "schema": {
 29807                "enum": [
 29808                  "asc",
 29809                  "desc"
 29810                ],
 29811                "example": "asc",
 29812                "type": "string"
 29813              }
 29814            },
 29815            {
 29816              "description": "Limit the number of results returned, default is 10 and max is 100.",
 29817              "in": "query",
 29818              "name": "limit",
 29819              "schema": {
 29820                "default": 10,
 29821                "example": 10,
 29822                "maximum": 100,
 29823                "minimum": 1,
 29824                "type": "integer"
 29825              }
 29826            },
 29827            {
 29828              "description": "Sort field used for ordering.",
 29829              "in": "query",
 29830              "name": "sort",
 29831              "schema": {
 29832                "default": "period_of_report_date",
 29833                "enum": [
 29834                  "filing_date",
 29835                  "period_of_report_date"
 29836                ],
 29837                "example": "filing_date",
 29838                "type": "string"
 29839              }
 29840            }
 29841          ],
 29842          "responses": {
 29843            "200": {
 29844              "content": {
 29845                "application/json": {
 29846                  "example": {
 29847                    "count": 1,
 29848                    "next_url": "https://api.polygon.io/vX/reference/financials?",
 29849                    "request_id": "55eb92ed43b25568ab0cce159830ea34",
 29850                    "results": [
 29851                      {
 29852                        "cik": "0001650729",
 29853                        "company_name": "SiteOne Landscape Supply, Inc.",
 29854                        "end_date": "2022-04-03",
 29855                        "filing_date": "2022-05-04",
 29856                        "financials": {
 29857                          "balance_sheet": {
 29858                            "assets": {
 29859                              "label": "Assets",
 29860                              "order": 100,
 29861                              "unit": "USD",
 29862                              "value": 2407400000
 29863                            },
 29864                            "current_assets": {
 29865                              "label": "Current Assets",
 29866                              "order": 200,
 29867                              "unit": "USD",
 29868                              "value": 1385900000
 29869                            },
 29870                            "current_liabilities": {
 29871                              "label": "Current Liabilities",
 29872                              "order": 700,
 29873                              "unit": "USD",
 29874                              "value": 597500000
 29875                            },
 29876                            "equity": {
 29877                              "label": "Equity",
 29878                              "order": 1400,
 29879                              "unit": "USD",
 29880                              "value": 1099200000
 29881                            },
 29882                            "equity_attributable_to_noncontrolling_interest": {
 29883                              "label": "Equity Attributable To Noncontrolling Interest",
 29884                              "order": 1500,
 29885                              "unit": "USD",
 29886                              "value": 0
 29887                            },
 29888                            "equity_attributable_to_parent": {
 29889                              "label": "Equity Attributable To Parent",
 29890                              "order": 1600,
 29891                              "unit": "USD",
 29892                              "value": 1099200000
 29893                            },
 29894                            "liabilities": {
 29895                              "label": "Liabilities",
 29896                              "order": 600,
 29897                              "unit": "USD",
 29898                              "value": 1308200000
 29899                            },
 29900                            "liabilities_and_equity": {
 29901                              "label": "Liabilities And Equity",
 29902                              "order": 1900,
 29903                              "unit": "USD",
 29904                              "value": 2407400000
 29905                            },
 29906                            "noncurrent_assets": {
 29907                              "label": "Noncurrent Assets",
 29908                              "order": 300,
 29909                              "unit": "USD",
 29910                              "value": 1021500000
 29911                            },
 29912                            "noncurrent_liabilities": {
 29913                              "label": "Noncurrent Liabilities",
 29914                              "order": 800,
 29915                              "unit": "USD",
 29916                              "value": 710700000
 29917                            }
 29918                          },
 29919                          "cash_flow_statement": {
 29920                            "exchange_gains_losses": {
 29921                              "label": "Exchange Gains/Losses",
 29922                              "order": 1000,
 29923                              "unit": "USD",
 29924                              "value": 100000
 29925                            },
 29926                            "net_cash_flow": {
 29927                              "label": "Net Cash Flow",
 29928                              "order": 1100,
 29929                              "unit": "USD",
 29930                              "value": -8600000
 29931                            },
 29932                            "net_cash_flow_continuing": {
 29933                              "label": "Net Cash Flow, Continuing",
 29934                              "order": 1200,
 29935                              "unit": "USD",
 29936                              "value": -8700000
 29937                            },
 29938                            "net_cash_flow_from_financing_activities": {
 29939                              "label": "Net Cash Flow From Financing Activities",
 29940                              "order": 700,
 29941                              "unit": "USD",
 29942                              "value": 150600000
 29943                            },
 29944                            "net_cash_flow_from_financing_activities_continuing": {
 29945                              "label": "Net Cash Flow From Financing Activities, Continuing",
 29946                              "order": 800,
 29947                              "unit": "USD",
 29948                              "value": 150600000
 29949                            },
 29950                            "net_cash_flow_from_investing_activities": {
 29951                              "label": "Net Cash Flow From Investing Activities",
 29952                              "order": 400,
 29953                              "unit": "USD",
 29954                              "value": -41000000
 29955                            },
 29956                            "net_cash_flow_from_investing_activities_continuing": {
 29957                              "label": "Net Cash Flow From Investing Activities, Continuing",
 29958                              "order": 500,
 29959                              "unit": "USD",
 29960                              "value": -41000000
 29961                            },
 29962                            "net_cash_flow_from_operating_activities": {
 29963                              "label": "Net Cash Flow From Operating Activities",
 29964                              "order": 100,
 29965                              "unit": "USD",
 29966                              "value": -118300000
 29967                            },
 29968                            "net_cash_flow_from_operating_activities_continuing": {
 29969                              "label": "Net Cash Flow From Operating Activities, Continuing",
 29970                              "order": 200,
 29971                              "unit": "USD",
 29972                              "value": -118300000
 29973                            }
 29974                          },
 29975                          "comprehensive_income": {
 29976                            "comprehensive_income_loss": {
 29977                              "label": "Comprehensive Income/Loss",
 29978                              "order": 100,
 29979                              "unit": "USD",
 29980                              "value": 40500000
 29981                            },
 29982                            "comprehensive_income_loss_attributable_to_noncontrolling_interest": {
 29983                              "label": "Comprehensive Income/Loss Attributable To Noncontrolling Interest",
 29984                              "order": 200,
 29985                              "unit": "USD",
 29986                              "value": 0
 29987                            },
 29988                            "comprehensive_income_loss_attributable_to_parent": {
 29989                              "label": "Comprehensive Income/Loss Attributable To Parent",
 29990                              "order": 300,
 29991                              "unit": "USD",
 29992                              "value": 40500000
 29993                            },
 29994                            "other_comprehensive_income_loss": {
 29995                              "label": "Other Comprehensive Income/Loss",
 29996                              "order": 400,
 29997                              "unit": "USD",
 29998                              "value": 40500000
 29999                            },
 30000                            "other_comprehensive_income_loss_attributable_to_parent": {
 30001                              "label": "Other Comprehensive Income/Loss Attributable To Parent",
 30002                              "order": 600,
 30003                              "unit": "USD",
 30004                              "value": 8200000
 30005                            }
 30006                          },
 30007                          "income_statement": {
 30008                            "basic_earnings_per_share": {
 30009                              "label": "Basic Earnings Per Share",
 30010                              "order": 4200,
 30011                              "unit": "USD / shares",
 30012                              "value": 0.72
 30013                            },
 30014                            "benefits_costs_expenses": {
 30015                              "label": "Benefits Costs and Expenses",
 30016                              "order": 200,
 30017                              "unit": "USD",
 30018                              "value": 768400000
 30019                            },
 30020                            "cost_of_revenue": {
 30021                              "label": "Cost Of Revenue",
 30022                              "order": 300,
 30023                              "unit": "USD",
 30024                              "value": 536100000
 30025                            },
 30026                            "costs_and_expenses": {
 30027                              "label": "Costs And Expenses",
 30028                              "order": 600,
 30029                              "unit": "USD",
 30030                              "value": 768400000
 30031                            },
 30032                            "diluted_earnings_per_share": {
 30033                              "label": "Diluted Earnings Per Share",
 30034                              "order": 4300,
 30035                              "unit": "USD / shares",
 30036                              "value": 0.7
 30037                            },
 30038                            "gross_profit": {
 30039                              "label": "Gross Profit",
 30040                              "order": 800,
 30041                              "unit": "USD",
 30042                              "value": 269200000
 30043                            },
 30044                            "income_loss_from_continuing_operations_after_tax": {
 30045                              "label": "Income/Loss From Continuing Operations After Tax",
 30046                              "order": 1400,
 30047                              "unit": "USD",
 30048                              "value": 32300000
 30049                            },
 30050                            "income_loss_from_continuing_operations_before_tax": {
 30051                              "label": "Income/Loss From Continuing Operations Before Tax",
 30052                              "order": 1500,
 30053                              "unit": "USD",
 30054                              "value": 36900000
 30055                            },
 30056                            "income_tax_expense_benefit": {
 30057                              "label": "Income Tax Expense/Benefit",
 30058                              "order": 2200,
 30059                              "unit": "USD",
 30060                              "value": 4600000
 30061                            },
 30062                            "interest_expense_operating": {
 30063                              "label": "Interest Expense, Operating",
 30064                              "order": 2700,
 30065                              "unit": "USD",
 30066                              "value": 4300000
 30067                            },
 30068                            "net_income_loss": {
 30069                              "label": "Net Income/Loss",
 30070                              "order": 3200,
 30071                              "unit": "USD",
 30072                              "value": 32300000
 30073                            },
 30074                            "net_income_loss_attributable_to_noncontrolling_interest": {
 30075                              "label": "Net Income/Loss Attributable To Noncontrolling Interest",
 30076                              "order": 3300,
 30077                              "unit": "USD",
 30078                              "value": 0
 30079                            },
 30080                            "net_income_loss_attributable_to_parent": {
 30081                              "label": "Net Income/Loss Attributable To Parent",
 30082                              "order": 3500,
 30083                              "unit": "USD",
 30084                              "value": 32300000
 30085                            },
 30086                            "net_income_loss_available_to_common_stockholders_basic": {
 30087                              "label": "Net Income/Loss Available To Common Stockholders, Basic",
 30088                              "order": 3700,
 30089                              "unit": "USD",
 30090                              "value": 32300000
 30091                            },
 30092                            "operating_expenses": {
 30093                              "label": "Operating Expenses",
 30094                              "order": 1000,
 30095                              "unit": "USD",
 30096                              "value": 228000000
 30097                            },
 30098                            "operating_income_loss": {
 30099                              "label": "Operating Income/Loss",
 30100                              "order": 1100,
 30101                              "unit": "USD",
 30102                              "value": 41200000
 30103                            },
 30104                            "participating_securities_distributed_and_undistributed_earnings_loss_basic": {
 30105                              "label": "Participating Securities, Distributed And Undistributed Earnings/Loss, Basic",
 30106                              "order": 3800,
 30107                              "unit": "USD",
 30108                              "value": 0
 30109                            },
 30110                            "preferred_stock_dividends_and_other_adjustments": {
 30111                              "label": "Preferred Stock Dividends And Other Adjustments",
 30112                              "order": 3900,
 30113                              "unit": "USD",
 30114                              "value": 0
 30115                            },
 30116                            "revenues": {
 30117                              "label": "Revenues",
 30118                              "order": 100,
 30119                              "unit": "USD",
 30120                              "value": 805300000
 30121                            }
 30122                          }
 30123                        },
 30124                        "fiscal_period": "Q1",
 30125                        "fiscal_year": "2022",
 30126                        "source_filing_file_url": "https://api.polygon.io/v1/reference/sec/filings/0001650729-22-000010/files/site-20220403_htm.xml",
 30127                        "source_filing_url": "https://api.polygon.io/v1/reference/sec/filings/0001650729-22-000010",
 30128                        "start_date": "2022-01-03"
 30129                      }
 30130                    ],
 30131                    "status": "OK"
 30132                  },
 30133                  "schema": {
 30134                    "properties": {
 30135                      "count": {
 30136                        "description": "The total number of results for this request.",
 30137                        "type": "integer"
 30138                      },
 30139                      "next_url": {
 30140                        "description": "If present, this value can be used to fetch the next page of data.",
 30141                        "type": "string"
 30142                      },
 30143                      "request_id": {
 30144                        "description": "A request id assigned by the server.",
 30145                        "type": "string"
 30146                      },
 30147                      "results": {
 30148                        "items": {
 30149                          "properties": {
 30150                            "acceptance_datetime": {
 30151                              "description": "The datetime (EST timezone) the filing was accepted by EDGAR in YYYYMMDDHHMMSS format."
 30152                            },
 30153                            "cik": {
 30154                              "description": "The CIK number for the company.",
 30155                              "type": "string"
 30156                            },
 30157                            "company_name": {
 30158                              "description": "The company name.",
 30159                              "type": "string"
 30160                            },
 30161                            "end_date": {
 30162                              "description": "The end date of the period that these financials cover in YYYYMMDD format.",
 30163                              "type": "string"
 30164                            },
 30165                            "filing_date": {
 30166                              "description": "The date that the SEC filing which these financials were derived from was made available. Note that this is not necessarily the date when this information became public, as some companies may publish a press release before filing with the SEC."
 30167                            },
 30168                            "financials": {
 30169                              "properties": {
 30170                                "balance_sheet": {
 30171                                  "description": "Balance sheet.\nThe keys in this object can be any of the fields listed in the Balance Sheet section of the \u003ca target=\"_blank\" href=\"https://polygon.io/blog/financials-api-glossary-of-fields\"\u003efinancials API glossary of terms\u003c/a\u003e.",
 30172                                  "properties": {
 30173                                    "*": {
 30174                                      "description": "An individual financial data point.",
 30175                                      "properties": {
 30176                                        "derived_from": {
 30177                                          "description": "The list of report IDs (or errata) which were used to derive this data point.\nThis value is only returned for data points taken directly from XBRL when the `include_sources` query parameter is `true` and if source is SourceInterReportDerived.",
 30178                                          "items": {
 30179                                            "type": "string"
 30180                                          },
 30181                                          "type": "array"
 30182                                        },
 30183                                        "formula": {
 30184                                          "description": "The name of the formula used to derive this data point from other financial data points.\nInformation about the formulas can be found \u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"http://xbrlsite.azurewebsites.net/2020/reporting-scheme/us-gaap/fac/documentation/ImputeRulesList.html\"\u003ehere\u003c/a\u003e.\nThis value is only returned for data points that are not explicitly expressed within the XBRL source file when the `include_sources` query parameter is `true` and if source is SourceIntraReportImpute.",
 30185                                          "type": "string"
 30186                                        },
 30187                                        "label": {
 30188                                          "description": "A human readable label for the financial data point.",
 30189                                          "type": "string"
 30190                                        },
 30191                                        "order": {
 30192                                          "description": "An indicator of what order within the statement that you would find this data point.",
 30193                                          "type": "integer"
 30194                                        },
 30195                                        "source": {
 30196                                          "description": "The source where this data point came from. This will be one of: SourceDirectReport, SourceIntraReportImpute or SourceInterReportDerived."
 30197                                        },
 30198                                        "unit": {
 30199                                          "description": "The unit of the financial data point.",
 30200                                          "type": "string"
 30201                                        },
 30202                                        "value": {
 30203                                          "description": "The value of the financial data point.",
 30204                                          "type": "number"
 30205                                        },
 30206                                        "xpath": {
 30207                                          "description": "The \u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"https://en.wikipedia.org/wiki/XPath\"\u003eXPath 1.0\u003c/a\u003e query that identifies the fact from within the XBRL source file.\nThis value is only returned for data points taken directly from XBRL when the `include_sources` query parameter is `true` and if source is SourceDirectReport.",
 30208                                          "type": "string"
 30209                                        }
 30210                                      },
 30211                                      "required": [
 30212                                        "label",
 30213                                        "order",
 30214                                        "value",
 30215                                        "unit"
 30216                                      ],
 30217                                      "type": "object"
 30218                                    }
 30219                                  },
 30220                                  "type": "object"
 30221                                },
 30222                                "cash_flow_statement": {
 30223                                  "description": "Cash flow statement.\nThe keys in this object can be any of the fields listed in the Cash Flow Statement section of the \u003ca target=\"_blank\" href=\"https://polygon.io/blog/financials-api-glossary-of-fields\"\u003efinancials API glossary of terms\u003c/a\u003e.\nSee the attributes of the objects within `balance_sheet` for more details.",
 30224                                  "type": "object"
 30225                                },
 30226                                "comprehensive_income": {
 30227                                  "description": "Comprehensive income.\nThe keys in this object can be any of the fields listed in the Comprehensive Income section of the \u003ca target=\"_blank\" href=\"https://polygon.io/blog/financials-api-glossary-of-fields\"\u003efinancials API glossary of terms\u003c/a\u003e.\nSee the attributes of the objects within `balance_sheet` for more details.",
 30228                                  "type": "object"
 30229                                },
 30230                                "income_statement": {
 30231                                  "description": "Income statement.\nThe keys in this object can be any of the fields listed in the Income Statement section of the \u003ca target=\"_blank\" href=\"https://polygon.io/blog/financials-api-glossary-of-fields\"\u003efinancials API glossary of terms\u003c/a\u003e.\nSee the attributes of the objects within `balance_sheet` for more details.",
 30232                                  "type": "object"
 30233                                }
 30234                              },
 30235                              "type": "object"
 30236                            },
 30237                            "fiscal_period": {
 30238                              "description": "Fiscal period of the report according to the company (Q1, Q2, Q3, Q4, or FY).",
 30239                              "type": "string"
 30240                            },
 30241                            "fiscal_year": {
 30242                              "description": "Fiscal year of the report according to the company.",
 30243                              "type": "string"
 30244                            },
 30245                            "source_filing_file_url": {
 30246                              "description": "The URL of the specific XBRL instance document within the SEC filing that these financials were derived from."
 30247                            },
 30248                            "source_filing_url": {
 30249                              "description": "The URL of the SEC filing that these financials were derived from.",
 30250                              "type": "string"
 30251                            },
 30252                            "start_date": {
 30253                              "description": "The start date of the period that these financials cover in YYYYMMDD format.",
 30254                              "type": "string"
 30255                            },
 30256                            "tickers": {
 30257                              "description": "The list of ticker symbols for the company.",
 30258                              "items": {
 30259                                "type": "string"
 30260                              },
 30261                              "type": "array"
 30262                            },
 30263                            "timeframe": {
 30264                              "description": "The timeframe of the report (quarterly, annual or ttm).",
 30265                              "type": "string"
 30266                            }
 30267                          },
 30268                          "required": [
 30269                            "cik",
 30270                            "company_name",
 30271                            "financials",
 30272                            "timeframe",
 30273                            "fiscal_period"
 30274                          ],
 30275                          "type": "object",
 30276                          "x-polygon-go-type": {
 30277                            "name": "FinancialReport"
 30278                          }
 30279                        },
 30280                        "type": "array"
 30281                      },
 30282                      "status": {
 30283                        "description": "The status of this request's response.",
 30284                        "type": "string"
 30285                      }
 30286                    },
 30287                    "required": [
 30288                      "status",
 30289                      "request_id",
 30290                      "count",
 30291                      "results"
 30292                    ],
 30293                    "type": "object"
 30294                  }
 30295                }
 30296              },
 30297              "description": "FIXME"
 30298            }
 30299          },
 30300          "summary": "Stock Financials vX",
 30301          "tags": [
 30302            "reference:stocks"
 30303          ],
 30304          "x-polygon-entitlement-data-type": {
 30305            "description": "Reference data",
 30306            "name": "reference"
 30307          },
 30308          "x-polygon-experimental": {},
 30309          "x-polygon-paginate": {
 30310            "limit": {
 30311              "default": 10,
 30312              "max": 100
 30313            },
 30314            "sort": {
 30315              "default": "period_of_report_date",
 30316              "enum": [
 30317                "filing_date",
 30318                "period_of_report_date"
 30319              ]
 30320            }
 30321          }
 30322        }
 30323      },
 30324      "/vX/reference/tickers/taxonomies": {
 30325        "get": {
 30326          "description": "Retrieve taxonomy classifications for one or more tickers.",
 30327          "operationId": "ListTickerTaxonomyClassifications",
 30328          "parameters": [
 30329            {
 30330              "in": "query",
 30331              "name": "ticker",
 30332              "schema": {
 30333                "type": "string"
 30334              },
 30335              "x-polygon-filter-field": {
 30336                "anyOf": {
 30337                  "description": "Comma separated list of tickers, up to a maximum of 250. If no tickers are passed then all results will be returned in a paginated manner.\n\nWarning: The maximum number of characters allowed in a URL are subject to your technology stack.\n",
 30338                  "enabled": true,
 30339                  "example": "NCLH,O:SPY250321C00380000,C:EURUSD,X:BTCUSD,I:SPX"
 30340                },
 30341                "range": true,
 30342                "type": "string"
 30343              }
 30344            },
 30345            {
 30346              "description": "Filter by taxonomy category.",
 30347              "in": "query",
 30348              "name": "category",
 30349              "schema": {
 30350                "type": "string"
 30351              }
 30352            },
 30353            {
 30354              "description": "Filter by taxonomy tag. Each category has a set of associated tags.",
 30355              "in": "query",
 30356              "name": "tag",
 30357              "schema": {
 30358                "type": "string"
 30359              }
 30360            },
 30361            {
 30362              "description": "Range by ticker.",
 30363              "in": "query",
 30364              "name": "ticker.gte",
 30365              "schema": {
 30366                "type": "string"
 30367              }
 30368            },
 30369            {
 30370              "description": "Range by ticker.",
 30371              "in": "query",
 30372              "name": "ticker.gt",
 30373              "schema": {
 30374                "type": "string"
 30375              }
 30376            },
 30377            {
 30378              "description": "Range by ticker.",
 30379              "in": "query",
 30380              "name": "ticker.lte",
 30381              "schema": {
 30382                "type": "string"
 30383              }
 30384            },
 30385            {
 30386              "description": "Range by ticker.",
 30387              "in": "query",
 30388              "name": "ticker.lt",
 30389              "schema": {
 30390                "type": "string"
 30391              }
 30392            },
 30393            {
 30394              "description": "Comma separated list of tickers, up to a maximum of 250. If no tickers are passed then all results will be returned in a paginated manner.\n\nWarning: The maximum number of characters allowed in a URL are subject to your technology stack.\n",
 30395              "example": "NCLH,O:SPY250321C00380000,C:EURUSD,X:BTCUSD,I:SPX",
 30396              "in": "query",
 30397              "name": "ticker.any_of",
 30398              "schema": {
 30399                "type": "string"
 30400              }
 30401            },
 30402            {
 30403              "description": "Order results based on the `sort` field.",
 30404              "in": "query",
 30405              "name": "order",
 30406              "schema": {
 30407                "enum": [
 30408                  "asc",
 30409                  "desc"
 30410                ],
 30411                "example": "asc",
 30412                "type": "string"
 30413              }
 30414            },
 30415            {
 30416              "description": "Limit the number of results returned, default is 10 and max is 250.",
 30417              "in": "query",
 30418              "name": "limit",
 30419              "schema": {
 30420                "default": 10,
 30421                "example": 10,
 30422                "maximum": 250,
 30423                "minimum": 1,
 30424                "type": "integer"
 30425              }
 30426            },
 30427            {
 30428              "description": "Sort field used for ordering.",
 30429              "in": "query",
 30430              "name": "sort",
 30431              "schema": {
 30432                "default": "ticker",
 30433                "enum": [
 30434                  "ticker"
 30435                ],
 30436                "example": "ticker",
 30437                "type": "string"
 30438              }
 30439            }
 30440          ],
 30441          "responses": {
 30442            "200": {
 30443              "content": {
 30444                "application/json": {
 30445                  "example": {
 30446                    "request_id": "31d59dda-80e5-4721-8496-d0d32a654afe",
 30447                    "results": [
 30448                      {
 30449                        "category": "revenue_streams",
 30450                        "reason": "Company recognizes revenue from the sales of consumer electronics such as the iPhone and iPad.",
 30451                        "relevance": 0.99,
 30452                        "tag": "physical_product_sales_electronics",
 30453                        "ticker": "AAPL"
 30454                      },
 30455                      {
 30456                        "category": "revenue_streams",
 30457                        "reason": "Company recognizes revenue from the sales of digital products  such as digital storage and app store fees.",
 30458                        "relevance": 0.99,
 30459                        "tag": "digital_product_sales_software",
 30460                        "ticker": "AAPL"
 30461                      },
 30462                      {
 30463                        "category": "cost_structure",
 30464                        "relevance": 0.86,
 30465                        "tag": "economies_of_scale",
 30466                        "ticker": "AAPL"
 30467                      }
 30468                    ]
 30469                  },
 30470                  "schema": {
 30471                    "properties": {
 30472                      "next_url": {
 30473                        "description": "If present, this value can be used to fetch the next page of data.",
 30474                        "type": "string"
 30475                      },
 30476                      "request_id": {
 30477                        "type": "string"
 30478                      },
 30479                      "results": {
 30480                        "items": {
 30481                          "properties": {
 30482                            "category": {
 30483                              "description": "The classification category.",
 30484                              "type": "string"
 30485                            },
 30486                            "reason": {
 30487                              "description": "The reason why the classification was given.",
 30488                              "type": "string"
 30489                            },
 30490                            "relevance": {
 30491                              "description": "The relevance score for the tag. This is a measure of confidence in the tag classification.",
 30492                              "format": "double",
 30493                              "type": "number"
 30494                            },
 30495                            "tag": {
 30496                              "description": "The classification tag. Each category has a set of associated tags.",
 30497                              "type": "string"
 30498                            },
 30499                            "ticker": {
 30500                              "description": "The ticker symbol for the asset.",
 30501                              "type": "string"
 30502                            }
 30503                          },
 30504                          "x-polygon-go-type": {
 30505                            "name": "TaxonomyClassificationResult"
 30506                          }
 30507                        },
 30508                        "type": "array"
 30509                      },
 30510                      "status": {
 30511                        "type": "string"
 30512                      }
 30513                    },
 30514                    "required": [
 30515                      "status",
 30516                      "request_id"
 30517                    ],
 30518                    "type": "object"
 30519                  }
 30520                }
 30521              },
 30522              "description": "Taxonomy classification data."
 30523            }
 30524          },
 30525          "summary": "Ticker Taxonomies",
 30526          "tags": [
 30527            "Internal",
 30528            "Public"
 30529          ],
 30530          "x-polygon-entitlement-data-type": {
 30531            "description": "Reference data",
 30532            "name": "reference"
 30533          },
 30534          "x-polygon-experimental": {},
 30535          "x-polygon-paginate": {
 30536            "limit": {
 30537              "default": 10,
 30538              "max": 250,
 30539              "min": 1
 30540            },
 30541            "sort": {
 30542              "default": "ticker",
 30543              "enum": [
 30544                "ticker"
 30545              ]
 30546            }
 30547          }
 30548        },
 30549        "x-polygon-draft": true
 30550      },
 30551      "/vX/reference/tickers/{id}/events": {
 30552        "get": {
 30553          "description": "Get a timeline of events for the entity associated with the given ticker, CUSIP, or Composite FIGI.",
 30554          "operationId": "GetEvents",
 30555          "parameters": [
 30556            {
 30557              "description": "Identifier of an asset. This can currently be a Ticker, CUSIP, or Composite FIGI.\nWhen given a ticker, we return events for the entity currently represented by that ticker.\nTo find events for entities previously associated with a ticker, find the relevant identifier using the \n[Ticker Details Endpoint](https://polygon.io/docs/stocks/get_v3_reference_tickers__ticker)",
 30558              "example": "META",
 30559              "in": "path",
 30560              "name": "id",
 30561              "required": true,
 30562              "schema": {
 30563                "type": "string"
 30564              }
 30565            },
 30566            {
 30567              "description": "A comma-separated list of the types of event to include. Currently ticker_change is the only supported event_type.\nLeave blank to return all supported event_types.",
 30568              "in": "query",
 30569              "name": "types",
 30570              "schema": {
 30571                "type": "string"
 30572              }
 30573            }
 30574          ],
 30575          "responses": {
 30576            "200": {
 30577              "content": {
 30578                "application/json": {
 30579                  "example": {
 30580                    "request_id": "31d59dda-80e5-4721-8496-d0d32a654afe",
 30581                    "results": {
 30582                      "events": [
 30583                        {
 30584                          "date": "2022-06-09",
 30585                          "ticker_change": {
 30586                            "ticker": "META"
 30587                          },
 30588                          "type": "ticker_change"
 30589                        },
 30590                        {
 30591                          "date": "2012-05-18",
 30592                          "ticker_change": {
 30593                            "ticker": "FB"
 30594                          },
 30595                          "type": "ticker_change"
 30596                        }
 30597                      ],
 30598                      "name": "Meta Platforms, Inc. Class A Common Stock"
 30599                    },
 30600                    "status": "OK"
 30601                  },
 30602                  "schema": {
 30603                    "properties": {
 30604                      "request_id": {
 30605                        "description": "A request id assigned by the server.",
 30606                        "type": "string"
 30607                      },
 30608                      "results": {
 30609                        "properties": {
 30610                          "events": {
 30611                            "items": {
 30612                              "oneOf": [
 30613                                {
 30614                                  "properties": {
 30615                                    "date": {
 30616                                      "description": "The date the event took place",
 30617                                      "format": "date",
 30618                                      "type": "string"
 30619                                    },
 30620                                    "event_type": {
 30621                                      "description": "The type of historical event for the asset",
 30622                                      "type": "string"
 30623                                    },
 30624                                    "ticker_change": {
 30625                                      "properties": {
 30626                                        "ticker": {
 30627                                          "type": "string"
 30628                                        }
 30629                                      },
 30630                                      "type": "object"
 30631                                    }
 30632                                  },
 30633                                  "required": [
 30634                                    "event_type",
 30635                                    "date"
 30636                                  ],
 30637                                  "type": "object"
 30638                                }
 30639                              ]
 30640                            },
 30641                            "type": "array"
 30642                          },
 30643                          "name": {
 30644                            "type": "string"
 30645                          }
 30646                        },
 30647                        "type": "object",
 30648                        "x-polygon-go-type": {
 30649                          "name": "EventsResults"
 30650                        }
 30651                      },
 30652                      "status": {
 30653                        "description": "The status of this request's response.",
 30654                        "type": "string"
 30655                      }
 30656                    },
 30657                    "type": "object"
 30658                  }
 30659                }
 30660              },
 30661              "description": "Ticker Events."
 30662            },
 30663            "401": {
 30664              "description": "Unauthorized - Check our API Key and account status"
 30665            }
 30666          },
 30667          "summary": "Ticker Events",
 30668          "tags": [
 30669            "reference:tickers:get"
 30670          ],
 30671          "x-polygon-entitlement-data-type": {
 30672            "description": "Reference data",
 30673            "name": "reference"
 30674          },
 30675          "x-polygon-experimental": {}
 30676        }
 30677      }
 30678    },
 30679    "security": [
 30680      {
 30681        "apiKey": []
 30682      }
 30683    ],
 30684    "servers": [
 30685      {
 30686        "description": "Polygon Platform API",
 30687        "url": "https://api.polygon.io"
 30688      },
 30689      {
 30690        "description": "Polygon Platform API (Staging)",
 30691        "url": "https://api.staging.polygon.io"
 30692      }
 30693    ],
 30694    "tags": [
 30695      {
 30696        "description": "Reference API",
 30697        "name": "reference",
 30698        "x-polygon-sub-tags": [
 30699          "tickers:list",
 30700          "tickers:types",
 30701          "tickers:get",
 30702          "options:contracts:list",
 30703          "news",
 30704          "tickers",
 30705          "stocks",
 30706          "sec:filings",
 30707          "sec:filing",
 30708          "sec:filing:files",
 30709          "sec:filing:file",
 30710          "stocks:market",
 30711          "conditions",
 30712          "stocks:meta:exchanges",
 30713          "crypto",
 30714          "exchanges"
 30715        ]
 30716      },
 30717      {
 30718        "description": "Stocks API",
 30719        "name": "stocks",
 30720        "x-polygon-sub-tags": [
 30721          "trades",
 30722          "quotes",
 30723          "last:trade",
 30724          "last:quote",
 30725          "open-close",
 30726          "aggregates",
 30727          "snapshot"
 30728        ]
 30729      },
 30730      {
 30731        "description": "Options API",
 30732        "name": "options",
 30733        "x-polygon-sub-tags": [
 30734          "trades",
 30735          "quotes",
 30736          "last:trade",
 30737          "last:quote",
 30738          "open-close",
 30739          "aggregates",
 30740          "snapshot"
 30741        ]
 30742      },
 30743      {
 30744        "description": "Forex API",
 30745        "name": "fx",
 30746        "x-polygon-sub-tags": [
 30747          "trades",
 30748          "quotes",
 30749          "conversion",
 30750          "last:trade",
 30751          "last:quote",
 30752          "aggregates",
 30753          "snapshot"
 30754        ]
 30755      },
 30756      {
 30757        "description": "Crypto API",
 30758        "name": "crypto",
 30759        "x-polygon-sub-tags": [
 30760          "trades",
 30761          "last:trade",
 30762          "open-close",
 30763          "aggregates",
 30764          "snapshot"
 30765        ]
 30766      },
 30767      {
 30768        "description": "Indices API",
 30769        "name": "indices",
 30770        "x-polygon-sub-tags": [
 30771          "trades",
 30772          "last:trade",
 30773          "open-close",
 30774          "aggregates",
 30775          "snapshot"
 30776        ]
 30777      }
 30778    ],
 30779    "x-polygon-order": {
 30780      "crypto": {
 30781        "market": [
 30782          {
 30783            "launchpad": "shared",
 30784            "paths": [
 30785              "/v2/aggs/ticker/{cryptoTicker}/range/{multiplier}/{timespan}/{from}/{to}"
 30786            ]
 30787          },
 30788          {
 30789            "launchpad": "exclusive",
 30790            "paths": [
 30791              "/v1/summaries"
 30792            ]
 30793          },
 30794          {
 30795            "paths": [
 30796              "/v2/aggs/grouped/locale/global/market/crypto/{date}"
 30797            ]
 30798          },
 30799          {
 30800            "paths": [
 30801              "/v1/open-close/crypto/{from}/{to}/{date}"
 30802            ]
 30803          },
 30804          {
 30805            "paths": [
 30806              "/v2/aggs/ticker/{cryptoTicker}/prev"
 30807            ]
 30808          },
 30809          {
 30810            "paths": [
 30811              "/v3/trades/{cryptoTicker}"
 30812            ]
 30813          },
 30814          {
 30815            "paths": [
 30816              "/v1/historic/crypto/{from}/{to}/{date}"
 30817            ]
 30818          },
 30819          {
 30820            "paths": [
 30821              "/v1/last/crypto/{from}/{to}"
 30822            ]
 30823          },
 30824          {
 30825            "group": "Snapshots",
 30826            "paths": [
 30827              "/v2/snapshot/locale/global/markets/crypto/tickers",
 30828              "/v2/snapshot/locale/global/markets/crypto/{direction}",
 30829              "/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}",
 30830              "/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}/book",
 30831              "/v3/snapshot"
 30832            ]
 30833          },
 30834          {
 30835            "group": "Technical Indicators",
 30836            "paths": [
 30837              "/v1/indicators/sma/{cryptoTicker}",
 30838              "/v1/indicators/ema/{cryptoTicker}",
 30839              "/v1/indicators/macd/{cryptoTicker}",
 30840              "/v1/indicators/rsi/{cryptoTicker}"
 30841            ]
 30842          }
 30843        ],
 30844        "reference": [
 30845          {
 30846            "paths": [
 30847              "/v3/reference/tickers"
 30848            ]
 30849          },
 30850          {
 30851            "paths": [
 30852              "/v1/marketstatus/upcoming"
 30853            ]
 30854          },
 30855          {
 30856            "paths": [
 30857              "/v1/marketstatus/now"
 30858            ]
 30859          },
 30860          {
 30861            "paths": [
 30862              "/v3/reference/conditions"
 30863            ]
 30864          },
 30865          {
 30866            "paths": [
 30867              "/v3/reference/exchanges"
 30868            ]
 30869          }
 30870        ]
 30871      },
 30872      "fx": {
 30873        "market": [
 30874          {
 30875            "launchpad": "shared",
 30876            "paths": [
 30877              "/v2/aggs/ticker/{forexTicker}/range/{multiplier}/{timespan}/{from}/{to}"
 30878            ]
 30879          },
 30880          {
 30881            "launchpad": "exclusive",
 30882            "paths": [
 30883              "/v1/summaries"
 30884            ]
 30885          },
 30886          {
 30887            "paths": [
 30888              "/v2/aggs/grouped/locale/global/market/fx/{date}"
 30889            ]
 30890          },
 30891          {
 30892            "paths": [
 30893              "/v2/aggs/ticker/{forexTicker}/prev"
 30894            ]
 30895          },
 30896          {
 30897            "paths": [
 30898              "/v3/quotes/{fxTicker}"
 30899            ]
 30900          },
 30901          {
 30902            "paths": [
 30903              "/v1/historic/forex/{from}/{to}/{date}"
 30904            ]
 30905          },
 30906          {
 30907            "paths": [
 30908              "/v1/last_quote/currencies/{from}/{to}"
 30909            ]
 30910          },
 30911          {
 30912            "paths": [
 30913              "/v1/conversion/{from}/{to}"
 30914            ]
 30915          },
 30916          {
 30917            "group": "Snapshots",
 30918            "paths": [
 30919              "/v2/snapshot/locale/global/markets/forex/tickers",
 30920              "/v2/snapshot/locale/global/markets/forex/{direction}",
 30921              "/v2/snapshot/locale/global/markets/forex/tickers/{ticker}",
 30922              "/v3/snapshot"
 30923            ]
 30924          },
 30925          {
 30926            "group": "Technical Indicators",
 30927            "paths": [
 30928              "/v1/indicators/sma/{fxTicker}",
 30929              "/v1/indicators/ema/{fxTicker}",
 30930              "/v1/indicators/macd/{fxTicker}",
 30931              "/v1/indicators/rsi/{fxTicker}"
 30932            ]
 30933          }
 30934        ],
 30935        "reference": [
 30936          {
 30937            "paths": [
 30938              "/v3/reference/tickers"
 30939            ]
 30940          },
 30941          {
 30942            "paths": [
 30943              "/v1/marketstatus/upcoming"
 30944            ]
 30945          },
 30946          {
 30947            "paths": [
 30948              "/v1/marketstatus/now"
 30949            ]
 30950          },
 30951          {
 30952            "paths": [
 30953              "/v3/reference/conditions"
 30954            ]
 30955          },
 30956          {
 30957            "paths": [
 30958              "/v3/reference/exchanges"
 30959            ]
 30960          }
 30961        ]
 30962      },
 30963      "indices": {
 30964        "market": [
 30965          {
 30966            "launchpad": "shared",
 30967            "paths": [
 30968              "/v2/aggs/ticker/{indicesTicker}/range/{multiplier}/{timespan}/{from}/{to}"
 30969            ]
 30970          },
 30971          {
 30972            "paths": [
 30973              "/v2/aggs/ticker/{indicesTicker}/prev"
 30974            ]
 30975          },
 30976          {
 30977            "paths": [
 30978              "/v1/open-close/{indicesTicker}/{date}"
 30979            ]
 30980          },
 30981          {
 30982            "group": "Technical Indicators",
 30983            "paths": [
 30984              "/v1/indicators/sma/{indicesTicker}",
 30985              "/v1/indicators/ema/{indicesTicker}",
 30986              "/v1/indicators/macd/{indicesTicker}",
 30987              "/v1/indicators/rsi/{indicesTicker}"
 30988            ]
 30989          },
 30990          {
 30991            "group": "Snapshots",
 30992            "paths": [
 30993              "/v3/snapshot/indices",
 30994              "/v3/snapshot"
 30995            ]
 30996          }
 30997        ],
 30998        "reference": [
 30999          {
 31000            "paths": [
 31001              "/v3/reference/tickers"
 31002            ]
 31003          },
 31004          {
 31005            "paths": [
 31006              "/v3/reference/tickers/types"
 31007            ]
 31008          },
 31009          {
 31010            "paths": [
 31011              "/v1/marketstatus/upcoming"
 31012            ]
 31013          },
 31014          {
 31015            "paths": [
 31016              "/v1/marketstatus/now"
 31017            ]
 31018          }
 31019        ]
 31020      },
 31021      "options": {
 31022        "market": [
 31023          {
 31024            "launchpad": "shared",
 31025            "paths": [
 31026              "/v2/aggs/ticker/{optionsTicker}/range/{multiplier}/{timespan}/{from}/{to}"
 31027            ]
 31028          },
 31029          {
 31030            "launchpad": "exclusive",
 31031            "paths": [
 31032              "/v1/summaries"
 31033            ]
 31034          },
 31035          {
 31036            "paths": [
 31037              "/v1/open-close/{optionsTicker}/{date}"
 31038            ]
 31039          },
 31040          {
 31041            "paths": [
 31042              "/v2/aggs/ticker/{optionsTicker}/prev"
 31043            ]
 31044          },
 31045          {
 31046            "paths": [
 31047              "/v3/trades/{optionsTicker}"
 31048            ]
 31049          },
 31050          {
 31051            "paths": [
 31052              "/v2/last/trade/{optionsTicker}"
 31053            ]
 31054          },
 31055          {
 31056            "paths": [
 31057              "/v3/quotes/{optionsTicker}"
 31058            ]
 31059          },
 31060          {
 31061            "group": "Snapshots",
 31062            "paths": [
 31063              "/v3/snapshot/options/{underlyingAsset}/{optionContract}",
 31064              "/v3/snapshot/options/{underlyingAsset}",
 31065              "/v3/snapshot"
 31066            ]
 31067          },
 31068          {
 31069            "group": "Technical Indicators",
 31070            "paths": [
 31071              "/v1/indicators/sma/{optionsTicker}",
 31072              "/v1/indicators/ema/{optionsTicker}",
 31073              "/v1/indicators/macd/{optionsTicker}",
 31074              "/v1/indicators/rsi/{optionsTicker}"
 31075            ]
 31076          }
 31077        ],
 31078        "reference": [
 31079          {
 31080            "paths": [
 31081              "/v3/reference/options/contracts/{options_ticker}"
 31082            ]
 31083          },
 31084          {
 31085            "paths": [
 31086              "/v3/reference/options/contracts"
 31087            ]
 31088          },
 31089          {
 31090            "paths": [
 31091              "/v3/reference/tickers"
 31092            ]
 31093          },
 31094          {
 31095            "paths": [
 31096              "/v1/meta/symbols/{stocksTicker}/company"
 31097            ]
 31098          },
 31099          {
 31100            "paths": [
 31101              "/v3/reference/tickers/{ticker}"
 31102            ]
 31103          },
 31104          {
 31105            "paths": [
 31106              "/v2/reference/news"
 31107            ]
 31108          },
 31109          {
 31110            "paths": [
 31111              "/v3/reference/tickers/types"
 31112            ]
 31113          },
 31114          {
 31115            "paths": [
 31116              "/v1/marketstatus/upcoming"
 31117            ]
 31118          },
 31119          {
 31120            "paths": [
 31121              "/v1/marketstatus/now"
 31122            ]
 31123          },
 31124          {
 31125            "paths": [
 31126              "/v3/reference/conditions"
 31127            ]
 31128          },
 31129          {
 31130            "paths": [
 31131              "/v3/reference/exchanges"
 31132            ]
 31133          }
 31134        ]
 31135      },
 31136      "stocks": {
 31137        "market": [
 31138          {
 31139            "launchpad": "shared",
 31140            "paths": [
 31141              "/v2/aggs/ticker/{stocksTicker}/range/{multiplier}/{timespan}/{from}/{to}"
 31142            ]
 31143          },
 31144          {
 31145            "launchpad": "exclusive",
 31146            "paths": [
 31147              "/v1/summaries"
 31148            ]
 31149          },
 31150          {
 31151            "paths": [
 31152              "/v2/aggs/grouped/locale/us/market/stocks/{date}"
 31153            ]
 31154          },
 31155          {
 31156            "paths": [
 31157              "/v1/open-close/{stocksTicker}/{date}"
 31158            ]
 31159          },
 31160          {
 31161            "paths": [
 31162              "/v2/aggs/ticker/{stocksTicker}/prev"
 31163            ]
 31164          },
 31165          {
 31166            "paths": [
 31167              "/v3/trades/{stockTicker}"
 31168            ]
 31169          },
 31170          {
 31171            "paths": [
 31172              "/v2/ticks/stocks/trades/{ticker}/{date}"
 31173            ]
 31174          },
 31175          {
 31176            "paths": [
 31177              "/v2/last/trade/{stocksTicker}"
 31178            ]
 31179          },
 31180          {
 31181            "paths": [
 31182              "/v3/quotes/{stockTicker}"
 31183            ]
 31184          },
 31185          {
 31186            "paths": [
 31187              "/v2/ticks/stocks/nbbo/{ticker}/{date}"
 31188            ]
 31189          },
 31190          {
 31191            "paths": [
 31192              "/v2/last/nbbo/{stocksTicker}"
 31193            ]
 31194          },
 31195          {
 31196            "group": "Snapshots",
 31197            "paths": [
 31198              "/v2/snapshot/locale/us/markets/stocks/tickers",
 31199              "/v2/snapshot/locale/us/markets/stocks/{direction}",
 31200              "/v2/snapshot/locale/us/markets/stocks/tickers/{stocksTicker}",
 31201              "/v3/snapshot"
 31202            ]
 31203          },
 31204          {
 31205            "group": "Technical Indicators",
 31206            "paths": [
 31207              "/v1/indicators/sma/{stockTicker}",
 31208              "/v1/indicators/ema/{stockTicker}",
 31209              "/v1/indicators/macd/{stockTicker}",
 31210              "/v1/indicators/rsi/{stockTicker}"
 31211            ]
 31212          }
 31213        ],
 31214        "reference": [
 31215          {
 31216            "paths": [
 31217              "/v3/reference/tickers"
 31218            ]
 31219          },
 31220          {
 31221            "paths": [
 31222              "/v1/meta/symbols/{stocksTicker}/company"
 31223            ]
 31224          },
 31225          {
 31226            "paths": [
 31227              "/v3/reference/tickers/{ticker}"
 31228            ]
 31229          },
 31230          {
 31231            "paths": [
 31232              "/vX/reference/tickers/{id}/events"
 31233            ]
 31234          },
 31235          {
 31236            "paths": [
 31237              "/v2/reference/news"
 31238            ]
 31239          },
 31240          {
 31241            "paths": [
 31242              "/v3/reference/tickers/types"
 31243            ]
 31244          },
 31245          {
 31246            "paths": [
 31247              "/vX/reference/tickers/taxonomies"
 31248            ]
 31249          },
 31250          {
 31251            "paths": [
 31252              "/v1/marketstatus/upcoming"
 31253            ]
 31254          },
 31255          {
 31256            "paths": [
 31257              "/v1/marketstatus/now"
 31258            ]
 31259          },
 31260          {
 31261            "group": "SEC Filings",
 31262            "paths": [
 31263              "/v1/reference/sec/filings",
 31264              "/v1/reference/sec/filings/{filing_id}",
 31265              "/v1/reference/sec/filings/{filing_id}/files",
 31266              "/v1/reference/sec/filings/{filing_id}/files/{file_id}"
 31267            ]
 31268          },
 31269          {
 31270            "paths": [
 31271              "/v3/reference/splits"
 31272            ]
 31273          },
 31274          {
 31275            "paths": [
 31276              "/v3/reference/dividends"
 31277            ]
 31278          },
 31279          {
 31280            "paths": [
 31281              "/vX/reference/financials"
 31282            ]
 31283          },
 31284          {
 31285            "paths": [
 31286              "/v3/reference/conditions"
 31287            ]
 31288          },
 31289          {
 31290            "paths": [
 31291              "/v3/reference/exchanges"
 31292            ]
 31293          }
 31294        ]
 31295      }
 31296    }
 31297  }