diff --git a/.polygon/rest.json b/.polygon/rest.json
index 5382b1b9..13dc3c1f 100644
--- a/.polygon/rest.json
+++ b/.polygon/rest.json
@@ -911,6 +911,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastTrade": {
"allOf": [
{
@@ -1224,6 +1229,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastTrade": {
"allOf": [
{
@@ -1987,6 +1997,11 @@
],
"type": "object"
},
+ "Fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"ForexConversion": {
"properties": {
"converted": {
@@ -2393,6 +2408,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker.",
"properties": {
@@ -2583,6 +2603,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker.",
"properties": {
@@ -3879,6 +3904,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker. This is only returned if your current plan includes quotes.",
"properties": {
@@ -4144,6 +4174,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker. This is only returned if your current plan includes quotes.",
"properties": {
@@ -5195,7 +5230,9 @@
"exchange": 48,
"timestamp": 1605555313000
},
+ "request_id": "a73a29dbcab4613eeaf48583d3baacf0",
"status": "success",
+ "symbol": "AUD/USD",
"to": "USD"
},
"schema": {
@@ -17771,7 +17808,8 @@
"r": 202,
"s": 25,
"t": 1617901342969834000,
- "x": 312
+ "x": 312,
+ "y": 1617901342969834000
},
"status": "OK"
},
@@ -18622,6 +18660,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastTrade": {
"allOf": [
{
@@ -18983,6 +19026,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastTrade": {
"allOf": [
{
@@ -19516,6 +19564,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastTrade": {
"allOf": [
{
@@ -19856,6 +19909,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker.",
"properties": {
@@ -20173,6 +20231,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker.",
"properties": {
@@ -20481,6 +20544,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker.",
"properties": {
@@ -20828,6 +20896,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker. This is only returned if your current plan includes quotes.",
"properties": {
@@ -21234,6 +21307,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker. This is only returned if your current plan includes quotes.",
"properties": {
@@ -21639,6 +21717,11 @@
],
"type": "object"
},
+ "fmv": {
+ "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.",
+ "format": "double",
+ "type": "number"
+ },
"lastQuote": {
"description": "The most recent quote for this ticker. This is only returned if your current plan includes quotes.",
"properties": {
@@ -22637,17 +22720,17 @@
"request_id": "a47d1beb8c11b6ae897ab76cdbbf35a3",
"results": [
{
- "ask_exchange": "48,",
- "ask_price": "1.18565,",
- "bid_exchange": "48,",
- "bid_price": "1.18558,",
+ "ask_exchange": 48,
+ "ask_price": 1.18565,
+ "bid_exchange": 48,
+ "bid_price": 1.18558,
"participant_timestamp": 1625097600000000000
},
{
- "ask_exchange": "48,",
- "ask_price": "1.18565,",
- "bid_exchange": "48,",
- "bid_price": "1.18559,",
+ "ask_exchange": 48,
+ "ask_price": 1.18565,
+ "bid_exchange": 48,
+ "bid_price": 1.18559,
"participant_timestamp": 1625097600000000000
}
],
@@ -26642,6 +26725,7 @@
"strike_price": 5,
"underlying_ticker": "NCLH"
},
+ "fmv": 0.05,
"greeks": {
"delta": 0.5520187372272933,
"gamma": 0.00706756515659829,
@@ -26698,6 +26782,7 @@
}
},
{
+ "fmv": 0.05,
"last_quote": {
"ask": 21.25,
"ask_exchange": 300,
@@ -26816,8 +26901,12 @@
"description": "The error while looking for this ticker.",
"type": "string"
},
+ "fmv": {
+ "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.",
+ "type": "number"
+ },
"greeks": {
- "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.",
+ "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.",
"properties": {
"delta": {
"description": "The change in the option's price per $0.01 increment in the price of the underlying asset.",
@@ -27713,6 +27802,7 @@
"strike_price": 150,
"ticker": "O:AAPL211022C000150000"
},
+ "fmv": 0.05,
"greeks": {
"delta": 1,
"gamma": 0,
@@ -27900,8 +27990,12 @@
"name": "Details"
}
},
+ "fmv": {
+ "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.",
+ "type": "number"
+ },
"greeks": {
- "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.",
+ "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.",
"properties": {
"delta": {
"description": "The change in the option's price per $0.01 increment in the price of the underlying asset.",
@@ -28243,6 +28337,7 @@
"strike_price": 150,
"ticker": "O:AAPL230616C00150000"
},
+ "fmv": 0.05,
"greeks": {
"delta": 0.5520187372272933,
"gamma": 0.00706756515659829,
@@ -28431,8 +28526,12 @@
"name": "Details"
}
},
+ "fmv": {
+ "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.",
+ "type": "number"
+ },
"greeks": {
- "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.",
+ "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.",
"properties": {
"delta": {
"description": "The change in the option's price per $0.01 increment in the price of the underlying asset.",
@@ -30030,7 +30129,7 @@
"financials": {
"properties": {
"balance_sheet": {
- "description": "Balance sheet.\nNote that the keys in this object can be any of the balance sheet concepts defined in \u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"http://www.xbrlsite.com/2016/fac/v3/Documentation/FundamentalAccountingConceptsList.html\"\u003ethis table of fundamental accounting concepts\u003c/a\u003e but converted to `snake_case`.",
+ "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.",
"properties": {
"*": {
"description": "An individual financial data point.",
@@ -30082,15 +30181,15 @@
"type": "object"
},
"cash_flow_statement": {
- "description": "Cash flow statement.\nNote that the keys in this object can be any of the cash flow statement concepts defined in \u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"http://www.xbrlsite.com/2016/fac/v3/Documentation/FundamentalAccountingConceptsList.html\"\u003ethis table of fundamental accounting concepts\u003c/a\u003e but converted to `snake_case`.\nSee the attributes of the objects within `balance_sheet` for more details.",
+ "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.",
"type": "object"
},
"comprehensive_income": {
- "description": "Comprehensive income.\nNote that the keys in this object can be any of the comprehensive income statement concepts defined in \u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"http://www.xbrlsite.com/2016/fac/v3/Documentation/FundamentalAccountingConceptsList.html\"\u003ethis table of fundamental accounting concepts\u003c/a\u003e but converted to `snake_case`.\nSee the attributes of the objects within `balance_sheet` for more details.",
+ "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.",
"type": "object"
},
"income_statement": {
- "description": "Income statement.\nNote that the keys in this object can be any of the income statement concepts defined in \u003ca rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"http://www.xbrlsite.com/2016/fac/v3/Documentation/FundamentalAccountingConceptsList.html\"\u003ethis table of fundamental accounting concepts\u003c/a\u003e but converted to `snake_case`.\nSee the attributes of the objects within `balance_sheet` for more details.",
+ "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.",
"type": "object"
}
},
@@ -30877,6 +30976,11 @@
"/v3/reference/tickers/types"
]
},
+ {
+ "paths": [
+ "/vX/reference/tickers/taxonomies"
+ ]
+ },
{
"paths": [
"/v1/marketstatus/upcoming"
diff --git a/.polygon/websocket.json b/.polygon/websocket.json
index 267b522d..0738b167 100644
--- a/.polygon/websocket.json
+++ b/.polygon/websocket.json
@@ -48,6 +48,11 @@
"/stocks/LULD"
]
},
+ {
+ "paths": [
+ "/business/stocks/FMV"
+ ]
+ },
{
"paths": [
"/launchpad/stocks/AM"
@@ -84,6 +89,11 @@
"/options/Q"
]
},
+ {
+ "paths": [
+ "/business/options/FMV"
+ ]
+ },
{
"paths": [
"/launchpad/options/AM"
@@ -110,6 +120,11 @@
"/forex/C"
]
},
+ {
+ "paths": [
+ "/business/forex/FMV"
+ ]
+ },
{
"paths": [
"/launchpad/forex/AM"
@@ -146,6 +161,11 @@
"/crypto/XL2"
]
},
+ {
+ "paths": [
+ "/business/crypto/FMV"
+ ]
+ },
{
"paths": [
"/launchpad/crypto/AM"
@@ -915,6 +935,79 @@
]
}
},
+ "/business/stocks/FMV": {
+ "get": {
+ "summary": "Fair Market Value",
+ "description": "Real-time fair market value for a given stock ticker symbol.\n",
+ "parameters": [
+ {
+ "name": "ticker",
+ "in": "query",
+ "description": "Specify a stock ticker or use * to subscribe to all stock tickers.\nYou can also use a comma separated list to subscribe to multiple stock tickers.\nYou can retrieve available stock tickers from our [Stock Tickers API](https://polygon.io/docs/stocks/get_v3_reference_tickers).\n",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "pattern": "/^([a-zA-Z]+)$/"
+ },
+ "example": "*"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The WebSocket message for a fair market value event.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "ev": {
+ "type": "string",
+ "enum": [
+ "FMV"
+ ],
+ "description": "The event type."
+ },
+ "fmv": {
+ "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, contact us.\n"
+ },
+ "sym": {
+ "description": "The ticker symbol for the given security."
+ },
+ "t": {
+ "description": "The nanosecond timestamp."
+ }
+ }
+ },
+ "example": {
+ "ev": "FMV",
+ "val": 189.22,
+ "sym": "AAPL",
+ "t": 1678220098130
+ }
+ }
+ }
+ }
+ },
+ "x-polygon-entitlement-data-type": {
+ "name": "indicative-price",
+ "description": "Indicative Price"
+ },
+ "x-polygon-entitlement-market-type": {
+ "name": "stocks",
+ "description": "Stocks data"
+ },
+ "x-polygon-entitlement-allowed-timeframes": [
+ {
+ "name": "delayed",
+ "description": "15 minute delayed data"
+ },
+ {
+ "name": "realtime",
+ "description": "Real Time Data"
+ }
+ ]
+ }
+ },
"/launchpad/stocks/AM": {
"get": {
"summary": "Aggregates (Per Minute)",
@@ -1608,6 +1701,79 @@
]
}
},
+ "/business/options/FMV": {
+ "get": {
+ "summary": "Fair Market Value",
+ "description": "Real-time fair market value for a given options ticker symbol.\n",
+ "parameters": [
+ {
+ "name": "ticker",
+ "in": "query",
+ "description": "Specify an option contract. You're only allowed to subscribe to 1,000 option contracts per connection.\nYou can also use a comma separated list to subscribe to multiple option contracts.\nYou can retrieve active options contracts from our [Options Contracts API](https://polygon.io/docs/options/get_v3_reference_options_contracts).\n",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "pattern": "/^(([a-zA-Z]+|[0-9])+)$/"
+ },
+ "example": "O:SPY241220P00720000"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The WebSocket message for a fair market value event.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "ev": {
+ "type": "string",
+ "enum": [
+ "FMV"
+ ],
+ "description": "The event type."
+ },
+ "fmv": {
+ "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, contact us.\n"
+ },
+ "sym": {
+ "description": "The ticker symbol for the given security."
+ },
+ "t": {
+ "description": "The nanosecond timestamp."
+ }
+ }
+ },
+ "example": {
+ "ev": "FMV",
+ "val": 7.2,
+ "sym": "O:TSLA210903C00700000",
+ "t": 1401715883806000000
+ }
+ }
+ }
+ }
+ },
+ "x-polygon-entitlement-data-type": {
+ "name": "indicative-price",
+ "description": "Indicative Price"
+ },
+ "x-polygon-entitlement-market-type": {
+ "name": "options",
+ "description": "Options data"
+ },
+ "x-polygon-entitlement-allowed-timeframes": [
+ {
+ "name": "delayed",
+ "description": "15 minute delayed data"
+ },
+ {
+ "name": "realtime",
+ "description": "Real Time Data"
+ }
+ ]
+ }
+ },
"/launchpad/options/AM": {
"get": {
"summary": "Aggregates (Per Minute)",
@@ -2005,6 +2171,79 @@
]
}
},
+ "/business/forex/FMV": {
+ "get": {
+ "summary": "Fair Market Value",
+ "description": "Real-time fair market value for a given forex ticker symbol.\n",
+ "parameters": [
+ {
+ "name": "ticker",
+ "in": "query",
+ "description": "Specify a forex pair in the format {from}/{to} or use * to subscribe to all forex pairs.\nYou can also use a comma separated list to subscribe to multiple forex pairs.\nYou can retrieve active forex tickers from our [Forex Tickers API](https://polygon.io/docs/forex/get_v3_reference_tickers).\n",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "pattern": "/^(?([A-Z]{3})\\/?([A-Z]{3}))$/"
+ },
+ "example": "*"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The WebSocket message for a fair market value event.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "ev": {
+ "type": "string",
+ "enum": [
+ "FMV"
+ ],
+ "description": "The event type."
+ },
+ "fmv": {
+ "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, contact us.\n"
+ },
+ "sym": {
+ "description": "The ticker symbol for the given security."
+ },
+ "t": {
+ "description": "The nanosecond timestamp."
+ }
+ }
+ },
+ "example": {
+ "ev": "FMV",
+ "val": 1.0631,
+ "sym": "C:EURUSD",
+ "t": 1678220098130
+ }
+ }
+ }
+ }
+ },
+ "x-polygon-entitlement-data-type": {
+ "name": "indicative-price",
+ "description": "Indicative Price"
+ },
+ "x-polygon-entitlement-market-type": {
+ "name": "fx",
+ "description": "Forex data"
+ },
+ "x-polygon-entitlement-allowed-timeframes": [
+ {
+ "name": "delayed",
+ "description": "15 minute delayed data"
+ },
+ {
+ "name": "realtime",
+ "description": "Real Time Data"
+ }
+ ]
+ }
+ },
"/launchpad/forex/AM": {
"get": {
"summary": "Aggregates (Per Minute)",
@@ -2646,6 +2885,79 @@
]
}
},
+ "/business/crypto/FMV": {
+ "get": {
+ "summary": "Fair Market Value",
+ "description": "Real-time fair market value for a given crypto ticker symbol.\n",
+ "parameters": [
+ {
+ "name": "ticker",
+ "in": "query",
+ "description": "Specify a crypto pair in the format {from}-{to} or use * to subscribe to all crypto pairs.\nYou can also use a comma separated list to subscribe to multiple crypto pairs.\nYou can retrieve active crypto tickers from our [Crypto Tickers API](https://polygon.io/docs/crypto/get_v3_reference_tickers).\n",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "pattern": "/^(?([A-Z]*)-(?[A-Z]{3}))$/"
+ },
+ "example": "*"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The WebSocket message for a fair market value event.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "ev": {
+ "type": "string",
+ "enum": [
+ "FMV"
+ ],
+ "description": "The event type."
+ },
+ "fmv": {
+ "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, contact us.\n"
+ },
+ "sym": {
+ "description": "The ticker symbol for the given security."
+ },
+ "t": {
+ "description": "The nanosecond timestamp."
+ }
+ }
+ },
+ "example": {
+ "ev": "FMV",
+ "val": 33021.9,
+ "sym": "X:BTC-USD",
+ "t": 1610462007425
+ }
+ }
+ }
+ }
+ },
+ "x-polygon-entitlement-data-type": {
+ "name": "indicative-price",
+ "description": "Indicative Price"
+ },
+ "x-polygon-entitlement-market-type": {
+ "name": "crypto",
+ "description": "Crypto data"
+ },
+ "x-polygon-entitlement-allowed-timeframes": [
+ {
+ "name": "delayed",
+ "description": "15 minute delayed data"
+ },
+ {
+ "name": "realtime",
+ "description": "Real Time Data"
+ }
+ ]
+ }
+ },
"/launchpad/crypto/AM": {
"get": {
"summary": "Aggregates (Per Minute)",
@@ -4621,6 +4933,27 @@
"description": "The nanosecond timestamp."
}
}
+ },
+ "BusinessWebsocketFairMarketValue": {
+ "type": "object",
+ "properties": {
+ "ev": {
+ "type": "string",
+ "enum": [
+ "FMV"
+ ],
+ "description": "The event type."
+ },
+ "fmv": {
+ "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, contact us.\n"
+ },
+ "sym": {
+ "description": "The ticker symbol for the given security."
+ },
+ "t": {
+ "description": "The nanosecond timestamp."
+ }
+ }
}
},
"parameters": {