client-js icon indicating copy to clipboard operation
client-js copied to clipboard

The official JS client library for the Polygon REST and WebSocket API.

Results 29 client-js issues
Sort by recently updated
recently updated
newest added

When using the import {restClient} from "@polygon.io/client-js"; I am getting an error that ![image](https://user-images.githubusercontent.com/52921656/186752861-bb2d23e2-3457-447d-8fc8-b299a45c2ada.png) I can see in the source tab of the inspect that it is grabbing the main.js...

According to documentation stock split queries accept `execution_date` instead of `execution_data`. This PR fixes the attribute naming.

Is there a timeline on adding `/v1/indicators` to the client library?

Add `list` methods that paginate through `next_url`.

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.53 to 0.10.63. Release notes Sourced from es5-ext's releases. 0.10.63 (2024-02-23) Bug Fixes Do not rely on problematic regex (3551cdd), addresses #201 Support ES2015+ function definitions in...

dependencies

This code compares `reference.tickerNews()` response with endpoint `/v2/reference/news` response and they differ. ``` import axios from 'axios' import dotenv from 'dotenv' import { restClient } from '@polygon.io/client-js' dotenv.config() axios.interceptors.request.use(request =>...

When you have pagination set to true, in globalFetchOptions, the tickerDetails method will always return an empty array in results.

Fixes https://github.com/polygon-io/client-js/issues/186. Add quotes around package for windows machines where `@` is a special character.

importing as described in the documentation fails because of @. npm install --save @polygon.io/client-js Error: At line:1 char:20 > + npm install --save @polygon.io/client-js > The splatting operator '@' cannot...

Hello, I am facing an ordering issue. const globalFetchOptions = { pagination: true, // trace: true, }; const rest = restClient( "APIKEY", "https://api.polygon.io", globalFetchOptions ); client.stocks .trades(ticker, { "timestamp.gte": String(from...