client-go
client-go copied to clipboard
The official Go client library for the Polygon REST and WebSocket API.
Fixes https://github.com/polygon-io/client-go/issues/390. When using `models.WithTrace(true)` there was an issue where tracing data was not captured for failed API requests. Now, tracing consistently logs request and response details, including status codes,...
The standard json parsing library is reasonably slow in comparison to some other alternatives. The Resty folks describe in https://github.com/go-resty/resty/issues/76#issuecomment-314015250 the few lines needed to change Resty's json parser to...
Bumps [github.com/go-resty/resty/v2](https://github.com/go-resty/resty) from 2.13.1 to 2.15.0. Release notes Sourced from github.com/go-resty/resty/v2's releases. v2.15.0 Release Notes New Features feat: add max reponse body limit by @trim21 in go-resty/resty#830 feat: add SetClientRootCertificate...
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:...
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:...
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:...
Added futures REST and WebSocket support (alpha). Includes new REST endpoints for futures data (e.g., aggregates, contracts, market statuses, etc) and WebSocket event parsing (e.g. trades, quotes, and aggregates). REST...
**Describe the bug** models.Date doesn't marshal correctly **Expected behavior** I would expect models.Date to marshal and unmarshal correctly. Example: https://go.dev/play/p/6t85zeW7AHr ``` package main import ( "encoding/json" "fmt" "os" "time" "github.com/polygon-io/client-go/rest/models"...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.23.0 to 10.25.0. Release notes Sourced from github.com/go-playground/validator/v10's releases. Release 10.25.0 What's Changed Fix postcode_iso3166_alpha2_field validation by @ddevcap in go-playground/validator#1359 Update README to replace the Travis CI...
**Describe the bug** https://github.com/polygon-io/client-go/blob/fb8e9d4845ca5e86e464919e4e864efa62e06304/rest/client/client.go#L48 The timout is set too low for queries like the following: `https://api.polygon.io/v3/reference/options/contracts?underlying_ticker=QQQ&expired=true&limit=1000` Results in this error being printed to the screen: ``` WARN RESTY Get .......