polygon-io / client-go

The official Go client library for the Polygon REST and WebSocket API.
MIT License
127 stars 36 forks source link

Client update needed to match WebSocket spec changes #341

Closed client-library-maintainer[bot] closed 1 year ago

client-library-maintainer[bot] commented 1 year ago

A diff between this client library's spec and our hosted spec was found. The client may need an update to match any changes in our API. See the diff below:

--- https://raw.githubusercontent.com/polygon-io/client-go/master/.polygon/websocket.json
+++ https://api.polygon.io/specs/websocket.json
@@ -1098,8 +1098,8 @@
           }
         },
         "x-polygon-entitlement-data-type": {
-          "name": "value",
-          "description": "Value data"
+          "name": "indicative-price",
+          "description": "Indicative Price"
         },
         "x-polygon-entitlement-market-type": {
           "name": "stocks",
@@ -1791,8 +1791,8 @@
           }
         },
         "x-polygon-entitlement-data-type": {
-          "name": "value",
-          "description": "Value data"
+          "name": "indicative-price",
+          "description": "Indicative Price"
         },
         "x-polygon-entitlement-market-type": {
           "name": "options",
@@ -2188,8 +2188,8 @@
           }
         },
         "x-polygon-entitlement-data-type": {
-          "name": "value",
-          "description": "Value data"
+          "name": "indicative-price",
+          "description": "Indicative Price"
         },
         "x-polygon-entitlement-market-type": {
           "name": "fx",
@@ -2829,8 +2829,8 @@
           }
         },
         "x-polygon-entitlement-data-type": {
-          "name": "value",
-          "description": "Value data"
+          "name": "indicative-price",
+          "description": "Indicative Price"
         },
         "x-polygon-entitlement-market-type": {
           "name": "crypto",
justinpolygon commented 1 year ago

Dupe of https://github.com/polygon-io/client-go/issues/338.