8000 Update ws and rest spec with latest updates by justinpolygon · Pull Request #667 · polygon-io/client-python · GitHub
[go: up one dir, main page]

Skip to content

Update ws and rest spec with latest updates #667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 31 additions & 6 deletions .polygon/rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,17 @@
"type": "string"
}
},
"CryptoTickersQueryParam": {
"description": "A case-sensitive comma separated list of tickers to get snapshots for. For example, X:BTCUSD, X:ETHBTC, and X:BOBAUSD. Empty string defaults to querying all tickers.",
"in": "query",
"name": "tickers",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
},
"ForexTickerPathParam": {
"description": "The ticker symbol of the currency pair.",
"example": "C:EURUSD",
Expand All @@ -111,6 +122,17 @@
"type": "string"
}
},
"ForexTickersQueryParam": {
"description": "A case-sensitive comma separated list of tickers to get snapshots for. For example, C:EURUSD, C:GBPCAD, and C:AUDINR. Empty string defaults to querying all tickers.",
"in": "query",
"name": "tickers",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
},
"GeneralTickerPathParam": {
"description": "The ticker symbol of the asset.",
"example": "AAPL",
Expand Down Expand Up @@ -6039,7 +6061,7 @@
},
"summary": "Exponential Moving Average (EMA)",
"tags": [
"crpyto:aggregates"
"crypto:aggregates"
],
"x-polygon-entitlement-data-type": {
"description": "Aggregate data",
Expand Down Expand Up @@ -9407,7 +9429,7 @@
},
"summary": "Relative Strength Index (RSI)",
"tags": [
"crpyto:aggregates"
"crypto:aggregates"
],
"x-polygon-entitlement-data-type": {
"description": "Aggregate data",
Expand Down Expand Up @@ -11003,7 +11025,7 @@
},
"summary": "Simple Moving Average (SMA)",
"tags": [
"crpyto:aggregates"
"crypto:aggregates"
],
"x-polygon-entitlement-data-type": {
"description": "Aggregate data",
Expand Down Expand Up @@ -18577,7 +18599,7 @@
"description": "Get the current minute, day, and previous day\u2019s aggregate, as well as the last trade and quote for all traded cryptocurrency symbols.\n<br />\n<br />\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",
"parameters": [
{
"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.",
"description": "A case-sensitive comma separated list of tickers to get snapshots for. For example, X:BTCUSD, X:ETHBTC, and X:BOBAUSD. Empty string defaults to querying all tickers.",
"in": "query",
"name": "tickers",
"schema": {
Expand Down Expand Up @@ -19461,6 +19483,9 @@
"tags": [
"crypto:snapshot"
],
"x-polygon-deprecation": {
"date": 1719838800000
},
"x-polygon-entitlement-allowed-timeframes": [
{
"description": "Real Time Data",
Expand Down Expand Up @@ -19838,7 +19863,7 @@
"description": "Get the current minute, day, and previous day\u2019s aggregate, as well as the last trade and quote for all traded forex symbols.\n<br />\n<br />\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",
"parameters": [
{
"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.",
"description": "A case-sensitive comma separated list of tickers to get snapshots for. For example, C:EURUSD, C:GBPCAD, and C:AUDINR. Empty string defaults to querying all tickers.",
"in": "query",
"name": "tickers",
"schema": {
Expand Down Expand Up @@ -21608,7 +21633,7 @@
},
"/v2/snapshot/locale/us/markets/stocks/{direction}": {
"get": {
"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<br />\n<br />\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<br />\n<br />\nNote: Snapshot data is cleared at 3:30am EST and gets populated as data is received from the exchanges.\n",
"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<br />\n<br />\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.\nThis output will only include tickers with a trading volume of 10,000 or more.\n<br />\n<br />\nNote: Snapshot data is cleared at 3:30am EST and gets populated as data is received from the exchanges.\n",
"parameters": [
{
"description": "The direction of the snapshot results to return.\n",
Expand Down
13 changes: 8 additions & 5 deletions .polygon/websocket.json
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@
},
"example": {
"ev": "FMV",
"val": 189.22,
"fmv": 189.22,
"sym": "AAPL",
"t": 1678220098130
}
Expand Down Expand Up @@ -1761,7 +1761,7 @@
},
"example": {
"ev": "FMV",
"val": 7.2,
"fmv": 7.2,
"sym": "O:TSLA210903C00700000",
"t": 1401715883806000000
}
Expand Down Expand Up @@ -2331,7 +2331,7 @@
},
"example": {
"ev": "FMV",
"val": 1.0631,
"fmv": 1.0631,
"sym": "C:EURUSD",
"t": 1678220098130
}
Expand Down Expand Up @@ -2885,7 +2885,10 @@
"name": "realtime",
"description": "Real Time Data"
}
]
],
"x-polygon-deprecation": {
"date": 1719838800000
}
}
},
"/crypto/XA": {
Expand Down Expand Up @@ -3157,7 +3160,7 @@
},
"example": {
"ev": "FMV",
"val": 33021.9,
"fmv": 33021.9,
"sym": "X:BTC-USD",
"t": 1610462007425
}
Expand Down
0