|
48 | 48 | "/stocks/LULD"
|
49 | 49 | ]
|
50 | 50 | },
|
| 51 | + { |
| 52 | + "paths": [ |
| 53 | + "/business/stocks/FMV" |
| 54 | + ] |
| 55 | + }, |
51 | 56 | {
|
52 | 57 | "paths": [
|
53 | 58 | "/launchpad/stocks/AM"
|
|
84 | 89 | "/options/Q"
|
85 | 90 | ]
|
86 | 91 | },
|
| 92 | + { |
| 93 | + "paths": [ |
| 94 | + "/business/options/FMV" |
| 95 | + ] |
| 96 | + }, |
87 | 97 | {
|
88 | 98 | "paths": [
|
89 | 99 | "/launchpad/options/AM"
|
|
110 | 120 | "/forex/C"
|
111 | 121 | ]
|
112 | 122 | },
|
| 123 | + { |
| 124 | + "paths": [ |
| 125 | + "/business/forex/FMV" |
| 126 | + ] |
| 127 | + }, |
113 | 128 | {
|
114 | 129 | "paths": [
|
115 | 130 | "/launchpad/forex/AM"
|
|
146 | 161 | "/crypto/XL2"
|
147 | 162 | ]
|
148 | 163 | },
|
| 164 | + { |
| 165 | + "paths": [ |
| 166 | + "/business/crypto/FMV" |
| 167 | + ] |
| 168 | + }, |
149 | 169 | {
|
150 | 170 | "paths": [
|
151 | 171 | "/launchpad/crypto/AM"
|
|
915 | 935 | ]
|
916 | 936 | }
|
917 | 937 | },
|
| 938 | + "/business/stocks/FMV": { |
| 939 | + "get": { |
| 940 | + "summary": "Fair Market Value", |
| 941 | + "description": "Real-time fair market value for a given stock ticker symbol.\n", |
| 942 | + "parameters": [ |
| 943 | + { |
| 944 | + "name": "ticker", |
| 945 | + "in": "query", |
| 946 | + "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", |
| 947 | + "required": true, |
| 948 | + "schema": { |
| 949 | + "type": "string", |
| 950 | + "pattern": "/^([a-zA-Z]+)$/" |
| 951 | + }, |
| 952 | + "example": "*" |
| 953 | + } |
| 954 | + ], |
| 955 | + "responses": { |
| 956 | + "200": { |
| 957 | + "description": "The WebSocket message for a fair market value event.", |
| 958 | + "content": { |
| 959 | + "application/json": { |
| 960 | + "schema": { |
| 961 | + "type": "object", |
| 962 | + "properties": { |
| 963 | + "ev": { |
| 964 | + "type": "string", |
| 965 | + "enum": [ |
| 966 | + "FMV" |
| 967 | + ], |
| 968 | + "description": "The event type." |
| 969 | + }, |
| 970 | + "fmv": { |
| 971 | + "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, <a rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\">contact us</a>.\n" |
| 972 | + }, |
| 973 | + "sym": { |
| 974 | + "description": "The ticker symbol for the given security." |
| 975 | + }, |
| 976 | + "t": { |
| 977 | + "description": "The nanosecond timestamp." |
| 978 | + } |
| 979 | + } |
| 980 | + }, |
| 981 | + "example": { |
| 982 | + "ev": "FMV", |
| 983 | + "val": 189.22, |
| 984 | + "sym": "AAPL", |
| 985 | + "t": 1678220098130 |
| 986 | + } |
| 987 | + } |
| 988 | + } |
| 989 | + } |
| 990 | + }, |
| 991 | + "x-polygon-entitlement-data-type": { |
| 992 | + "name": "indicative-price", |
| 993 | + "description": "Indicative Price" |
| 994 | + }, |
| 995 | + "x-polygon-entitlement-market-type": { |
| 996 | + "name": "stocks", |
| 997 | + "description": "Stocks data" |
| 998 | + }, |
| 999 | + "x-polygon-entitlement-allowed-timeframes": [ |
| 1000 | + { |
| 1001 | + "name": "delayed", |
| 1002 | + "description": "15 minute delayed data" |
| 1003 | + }, |
| 1004 | + { |
| 1005 | + "name": "realtime", |
| 1006 | + "description": "Real Time Data" |
| 1007 | + } |
| 1008 | + ] |
| 1009 | + } |
| 1010 | + }, |
918 | 1011 | "/launchpad/stocks/AM": {
|
919 | 1012 | "get": {
|
920 | 1013 | "summary": "Aggregates (Per Minute)",
|
|
1608 | 1701 | ]
|
1609 | 1702 | }
|
1610 | 1703 | },
|
| 1704 | + "/business/options/FMV": { |
| 1705 | + "get": { |
| 1706 | + "summary": "Fair Market Value", |
| 1707 | + "description": "Real-time fair market value for a given options ticker symbol.\n", |
| 1708 | + "parameters": [ |
| 1709 | + { |
| 1710 | + "name": "ticker", |
| 1711 | + "in": "query", |
| 1712 | + "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", |
| 1713 | + "required": true, |
| 1714 | + "schema": { |
| 1715 | + "type": "string", |
| 1716 | + "pattern": "/^(([a-zA-Z]+|[0-9])+)$/" |
| 1717 | + }, |
| 1718 | + "example": "O:SPY241220P00720000" |
| 1719 | + } |
| 1720 | + ], |
| 1721 | + "responses": { |
| 1722 | + "200": { |
| 1723 | + "description": "The WebSocket message for a fair market value event.", |
| 1724 | + "content": { |
| 1725 | + "application/json": { |
| 1726 | + "schema": { |
| 1727 | + "type": "object", |
| 1728 | + "properties": { |
| 1729 | + "ev": { |
| 1730 | + "type": "string", |
| 1731 | + "enum": [ |
| 1732 | + "FMV" |
| 1733 | + ], |
| 1734 | + "description": "The event type." |
| 1735 | + }, |
| 1736 | + "fmv": { |
| 1737 | + "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, <a rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\">contact us</a>.\n" |
| 1738 | + }, |
| 1739 | + "sym": { |
| 1740 | + "description": "The ticker symbol for the given security." |
| 1741 | + }, |
| 1742 | + "t": { |
| 1743 | + "description": "The nanosecond timestamp." |
| 1744 | + } |
| 1745 | + } |
| 1746 | + }, |
| 1747 | + "example": { |
| 1748 | + "ev": "FMV", |
| 1749 | + "val": 7.2, |
| 1750 | + "sym": "O:TSLA210903C00700000", |
| 1751 | + "t": 1401715883806000000 |
| 1752 | + } |
| 1753 | + } |
| 1754 | + } |
| 1755 | + } |
| 1756 | + }, |
| 1757 | + "x-polygon-entitlement-data-type": { |
| 1758 | + "name": "indicative-price", |
| 1759 | + "description": "Indicative Price" |
| 1760 | + }, |
| 1761 | + "x-polygon-entitlement-market-type": { |
| 1762 | + "name": "options", |
| 1763 | + "description": "Options data" |
| 1764 | + }, |
| 1765 | + "x-polygon-entitlement-allowed-timeframes": [ |
| 1766 | + { |
| 1767 | + "name": "delayed", |
| 1768 | + "description": "15 minute delayed data" |
| 1769 | + }, |
| 1770 | + { |
| 1771 | + "name": "realtime", |
| 1772 | + "description": "Real Time Data" |
| 1773 | + } |
| 1774 | + ] |
| 1775 | + } |
| 1776 | + }, |
1611 | 1777 | "/launchpad/options/AM": {
|
1612 | 1778 | "get": {
|
1613 | 1779 | "summary": "Aggregates (Per Minute)",
|
|
2005 | 2171 | ]
|
2006 | 2172 | }
|
2007 | 2173 | },
|
| 2174 | + "/business/forex/FMV": { |
| 2175 | + "get": { |
| 2176 | + "summary": "Fair Market Value", |
| 2177 | + "description": "Real-time fair market value for a given forex ticker symbol.\n", |
| 2178 | + "parameters": [ |
| 2179 | + { |
| 2180 | + "name": "ticker", |
| 2181 | + "in": "query", |
| 2182 | + "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", |
| 2183 | + "required": true, |
| 2184 | + "schema": { |
| 2185 | + "type": "string", |
| 2186 | + "pattern": "/^(?<from>([A-Z]{3})\\/?<to>([A-Z]{3}))$/" |
| 2187 | + }, |
| 2188 | + "example": "*" |
| 2189 | + } |
| 2190 | + ], |
| 2191 | + "responses": { |
| 2192 | + "200": { |
| 2193 | + "description": "The WebSocket message for a fair market value event.", |
| 2194 | + "content": { |
| 2195 | + "application/json": { |
| 2196 | + "schema": { |
| 2197 | + "type": "object", |
| 2198 | + "properties": { |
| 2199 | + "ev": { |
| 2200 | + "type": "string", |
| 2201 | + "enum": [ |
| 2202 | + "FMV" |
| 2203 | + ], |
| 2204 | + "description": "The event type." |
| 2205 | + }, |
| 2206 | + "fmv": { |
| 2207 | + "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, <a rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\">contact us</a>.\n" |
| 2208 | + }, |
| 2209 | + "sym": { |
| 2210 | + "description": "The ticker symbol for the given security." |
| 2211 | + }, |
| 2212 | + "t": { |
| 2213 | + "description": "The nanosecond timestamp." |
| 2214 | + } |
| 2215 | + } |
| 2216 | + }, |
| 2217 | + "example": { |
| 2218 | + "ev": "FMV", |
| 2219 | + "val": 1.0631, |
| 2220 | + "sym": "C:EURUSD", |
| 2221 | + "t": 1678220098130 |
| 2222 | + } |
| 2223 | + } |
| 2224 | + } |
| 2225 | + } |
| 2226 | + }, |
| 2227 | + "x-polygon-entitlement-data-type": { |
| 2228 | + "name": "indicative-price", |
| 2229 | + "description": "Indicative Price" |
| 2230 | + }, |
| 2231 | + "x-polygon-entitlement-market-type": { |
| 2232 | + "name": "fx", |
| 2233 | + "description": "Forex data" |
| 2234 | + }, |
| 2235 | + "x-polygon-entitlement-allowed-timeframes": [ |
| 2236 | + { |
| 2237 | + "name": "delayed", |
| 2238 | + "description": "15 minute delayed data" |
| 2239 | + }, |
| 2240 | + { |
| 2241 | + "name": "realtime", |
| 2242 | + "description": "Real Time Data" |
| 2243 | + } |
| 2244 | + ] |
| 2245 | + } |
| 2246 | + }, |
2008 | 2247 | "/launchpad/forex/AM": {
|
2009 | 2248 | "get": {
|
2010 | 2249 | "summary": "Aggregates (Per Minute)",
|
|
2646 | 2885 | ]
|
2647 | 2886 | }
|
2648 | 2887 | },
|
| 2888 | + "/business/crypto/FMV": { |
| 2889 | + "get": { |
| 2890 | + "summary": "Fair Market Value", |
| 2891 | + "description": "Real-time fair market value for a given crypto ticker symbol.\n", |
| 2892 | + "parameters": [ |
| 2893 | + { |
| 2894 | + "name": "ticker", |
| 2895 | + "in": "query", |
| 2896 | + "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", |
| 2897 | + "required": true, |
| 2898 | + "schema": { |
| 2899 | + "type": "string", |
| 2900 | + "pattern": "/^(?<from>([A-Z]*)-(?<to>[A-Z]{3}))$/" |
| 2901 | + }, |
| 2902 | + "example": "*" |
| 2903 | + } |
| 2904 | + ], |
| 2905 | + "responses": { |
| 2906 | + "200": { |
| 2907 | + "description": "The WebSocket message for a fair market value event.", |
| 2908 | + "content": { |
| 2909 | + "application/json": { |
| 2910 | + "schema": { |
| 2911 | + "type": "object", |
| 2912 | + "properties": { |
| 2913 | + "ev": { |
| 2914 | + "type": "string", |
| 2915 | + "enum": [ |
| 2916 | + "FMV" |
| 2917 | + ], |
| 2918 | + "description": "The event type." |
| 2919 | + }, |
| 2920 | + "fmv": { |
| 2921 | + "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, <a rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\">contact us</a>.\n" |
| 2922 | + }, |
| 2923 | + "sym": { |
| 2924 | + "description": "The ticker symbol for the given security." |
| 2925 | + }, |
| 2926 | + "t": { |
| 2927 | + "description": "The nanosecond timestamp." |
| 2928 | + } |
| 2929 | + } |
| 2930 | + }, |
| 2931 | + "example": { |
| 2932 | + "ev": "FMV", |
| 2933 | + "val": 33021.9, |
| 2934 | + "sym": "X:BTC-USD", |
| 2935 | + "t": 1610462007425 |
| 2936 | + } |
| 2937 | + } |
| 2938 | + } |
| 2939 | + } |
| 2940 | + }, |
| 2941 | + "x-polygon-entitlement-data-type": { |
| 2942 | + "name": "indicative-price", |
| 2943 | + "description": "Indicative Price" |
| 2944 | + }, |
| 2945 | + "x-polygon-entitlement-market-type": { |
| 2946 | + "name": "crypto", |
| 2947 | + "description": "Crypto data" |
| 2948 | + }, |
| 2949 | + "x-polygon-entitlement-allowed-timeframes": [ |
| 2950 | + { |
| 2951 | + "name": "delayed", |
| 2952 | + "description": "15 minute delayed data" |
| 2953 | + }, |
| 2954 | + { |
| 2955 | + "name": "realtime", |
| 2956 | + "description": "Real Time Data" |
| 2957 | + } |
| 2958 | + ] |
| 2959 | + } |
| 2960 | + }, |
2649 | 2961 | "/launchpad/crypto/AM": {
|
2650 | 2962 | "get": {
|
2651 | 2963 | "summary": "Aggregates (Per Minute)",
|
|
4621 | 4933 | "description": "The nanosecond timestamp."
|
4622 | 4934 | }
|
4623 | 4935 | }
|
| 4936 | + }, |
| 4937 | + "BusinessWebsocketFairMarketValue": { |
| 4938 | + "type": "object", |
| 4939 | + "properties": { |
| 4940 | + "ev": { |
| 4941 | + "type": "string", |
| 4942 | + "enum": [ |
| 4943 | + "FMV" |
| 4944 | + ], |
| 4945 | + "description": "The event type." |
| 4946 | + }, |
| 4947 | + "fmv": { |
| 4948 | + "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, <a rel=\"nofollow\" target=\"_blank\" href=\"https://polygon.io/contact\">contact us</a>.\n" |
| 4949 | + }, |
| 4950 | + "sym": { |
| 4951 | + "description": "The ticker symbol for the given security." |
| 4952 | + }, |
| 4953 | + "t": { |
| 4954 | + "description": "The nanosecond timestamp." |
| 4955 | + } |
| 4956 | + } |
4624 | 4957 | }
|
4625 | 4958 | },
|
4626 | 4959 | "parameters": {
|
|
0 commit comments