node-iex-cloud icon indicating copy to clipboard operation
node-iex-cloud copied to clipboard

Tops function returns all symbols even if symbols are specified.

Open sudeep-quantelai opened this issue 2 years ago • 0 comments

When I use the tops function I get back all symbols no matter what format I send the data in to the tops call. In the example below I expect to get only 3 symbols back. But I get all symbols in the response object res

const { IEXCloudClient } = require("node-iex-cloud");
const fetch = require("node-fetch");
const iex = new IEXCloudClient(fetch,{publishable: "pk_xxxxx", version: "stable"});

iex.tops("AAPL","GOOGL","AMZN").then(res => console.log(res));

sudeep-quantelai avatar Jul 23 '21 21:07 sudeep-quantelai